Skip to content

Commit

Permalink
[16.0][IMP] add sequential and handle widget to inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
RPSJR committed Oct 21, 2024
1 parent c9cb05b commit 6774172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class FleetVehicleInspectionLine(models.Model):
copy=False,
)
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 @@ -84,6 +84,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 6774172

Please sign in to comment.