Skip to content
Extraits de code Groupes Projets
Valider 2de13f1b rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] store type_event on timesheet

parent b2e15dbc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -22,4 +22,6 @@ class ScopHrTimesheetCalendar(models.Model): ...@@ -22,4 +22,6 @@ class ScopHrTimesheetCalendar(models.Model):
type_event = fields.Selection( type_event = fields.Selection(
string="Type de Réunion", string="Type de Réunion",
related="event_id.type", related="event_id.type",
store=True,
readonly=False,
) )
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/> />
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="ur_financial_system_nb" position="after"> <field name="ur_financial_system_nb" position="after">
<field name="type_event" readonly="1" /> <field name="type_event" />
</field> </field>
</field> </field>
</record> </record>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter