[IMP] event_sequence:

change design
This commit is contained in:
clementthomas
2024-03-06 12:22:06 +01:00
parent 68a40f6020
commit 968277090e
3 changed files with 4 additions and 4 deletions

View File

@@ -6,4 +6,4 @@ class EventSequence(models.Model):
_name = "event.sequence"
name = fields.Char("name")
sequence = fields.Integer("Sequence")
sequence = fields.Integer("Sequence") #for sorting

View File

@@ -6,7 +6,7 @@ class EventTrack(models.Model):
_inherit = "event.track"
sequence_id = fields.Many2one('event.sequence', 'Sequence', group_expand='_read_group_stage_ids')
sequence = fields.Integer('Sequence')
sequence = fields.Integer('Sequence') #for sorting
@api.model_create_multi
def create(self, vals_list):

View File

@@ -10,8 +10,8 @@
<field name="sequence_number" />
</label>
<h1 position="after">
<label for="current_sequence_id" string="Séquence en cours"/>
<h1><field class="text-break" name="current_sequence_id" /></h1>
<label for="current_sequence_id" string="Current sequence"/>
<h4><field class="text-break" name="current_sequence_id" style="width:150px;" /></h4>
</h1>
</field>
</record>