Skip to content

Commit

Permalink
Merge PR #156 into 13.0
Browse files Browse the repository at this point in the history
Signed-off-by ivantodorovich
  • Loading branch information
OCA-git-bot committed Oct 28, 2024
2 parents 48335d2 + 865b563 commit b9ddf06
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(
[("draft", "Draft"), ("confirmed", "Confirmed"), ("cancel", "Cancelled")],
related="inspection_id.state",
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 string="Inspection Line">
<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 b9ddf06

Please sign in to comment.