Skip to content

Commit

Permalink
Merge PR #134 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by ivantodorovich
  • Loading branch information
OCA-git-bot committed Feb 26, 2024
2 parents 4fb51b7 + df6873c commit 3009bb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class FleetVehicleInspectionLine(models.Model):

result_description = fields.Char()

sequence = fields.Integer(string="Sequence", default=10)

state = fields.Selection(
related="inspection_id.state",
readonly=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
context="{'default_inspection_id': active_id}"
>
<tree>
<field name="sequence" widget="handle" />
<field name="state" invisible="1" />
<field name="inspection_item_id" />
<field name="inspection_item_instruction" />
Expand Down

0 comments on commit 3009bb3

Please sign in to comment.