Skip to content

Commit

Permalink
[14.0][IMP] sale_order_line_containers: Add attributes in view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tu Nombre committed Sep 30, 2024
1 parent f25578b commit 2eaa5c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sale_order_line_containers/views/stock_move_line_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
/>
<field name="arch" type="xml">
<field name="product_uom_qty" position="before">
<field name="container" optional="show" sum="Total Container" />
<field
name="container"
optional="show"
sum="Total Container"
attrs="{'readonly': [('state', 'in', ('done', 'cancel')), ('is_locked', '=', True)]}"
/>
</field>
</field>
</record>
Expand Down

0 comments on commit 2eaa5c0

Please sign in to comment.