[IMP] product_expiry: Position product Expiration Dates better
This commit makes it so the 'expiry_and_lots' settings in the product form appear underneath the corresponding checkbox that makes them visible. Previously it was appearing in the column before the checkbox and moving other form fields in a non-intuitive way.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<group name="traceability" position="inside">
|
||||
<field name="use_expiration_date" attrs="{'invisible': [('tracking', '=','none')]}"/>
|
||||
</group>
|
||||
<group name="group_lots_and_weight" position="after">
|
||||
<group name="stock_property" position="after">
|
||||
<group string="Dates" name="expiry_and_lots" groups="stock.group_production_lot"
|
||||
attrs="{'invisible': ['|', ('tracking', '=','none'), ('use_expiration_date', '=', False)]}">
|
||||
<label for="expiration_time"/>
|
||||
|
||||
Reference in New Issue
Block a user