[IMP] event_sequence:
change design
This commit is contained in:
@@ -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
|
||||
|
@@ -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):
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user