diff options
| author | Tiffany Chang (tic) <tic@odoo.com> | 2020-05-04 15:34:56 +0000 |
|---|---|---|
| committer | Tiffany Chang (tic) <tic@odoo.com> | 2020-07-03 11:54:08 +0000 |
| commit | 0aa0984f832209bee30de22c0550d76a46ddc05f (patch) | |
| tree | cf93bf9424fa8f93898f931d3ac3c051e6901371 /addons | |
| parent | a952829c1645a2fcc40ef9e43ba04549c5913d0c (diff) | |
[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.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/product_expiry/views/product_template_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product_expiry/views/product_template_views.xml b/addons/product_expiry/views/product_template_views.xml index c6af30107e6..a6deea0d936 100644 --- a/addons/product_expiry/views/product_template_views.xml +++ b/addons/product_expiry/views/product_template_views.xml @@ -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"/> |
