mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-23 09:31:59 +02:00
19.0 vanilla
This commit is contained in:
parent
4607ccbd2e
commit
825ff6514e
487 changed files with 184979 additions and 195262 deletions
|
|
@ -11,5 +11,9 @@ class FleetVehicleState(models.Model):
|
|||
|
||||
name = fields.Char(required=True, translate=True)
|
||||
sequence = fields.Integer()
|
||||
fold = fields.Boolean(string='Folded in Kanban')
|
||||
|
||||
_sql_constraints = [('fleet_state_name_unique', 'unique(name)', 'State name already exists')]
|
||||
_fleet_state_name_unique = models.Constraint(
|
||||
'unique(name)',
|
||||
'State name already exists',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue