Skip to content
Snippets Groups Projects
Commit 2925f6f5 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[MR] Ajout d'une option pour identifier les activités liées à la création

See merge request !14
parents eec20cde a452c206
No related branches found
No related tags found
1 merge request!14Ajout d'une option pour identifier les activités liées à la création
......@@ -21,6 +21,9 @@ class ScopProjectTimesheet(models.Model):
ondelete="restrict",
default=_default_ur,
)
creation_invoiced = fields.Boolean(
string="Facturé au titre de la création",
)
@api.onchange("name")
def onchange_name(self):
......
......@@ -68,6 +68,7 @@
placeholder="Code activité National"
options="{'no_open': True, 'no_create': True}"
/>
<field name="creation_invoiced" widget="boolean_toggle" />
<field name="analytic_account_id" invisible="1" />
<field name="privacy_visibility" invisible="1" />
<field name="allow_timesheets" invisible="1" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment