Skip to content

Commit

Permalink
[IMP] add sequential and handle widget to inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
RPSJR committed Feb 23, 2024
1 parent 4fb51b7 commit d997763
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 d997763

Please sign in to comment.