Skip to content

Commit

Permalink
View clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Jun 30, 2021
1 parent e75c9a5 commit 866cd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_expiry_simple/views/stock_picking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='move_line_ids_without_package']/tree/field[@name='lot_name']" position="after">
<field name="expiry_date" groups="stock.group_production_lot" attrs="{'column_invisible': [('parent.show_lots_text', '=', False)], 'invisible': [('lots_visible', '=', False)]}" context="{'default_product_id': product_id}"/>
<field name="expiry_date" groups="stock.group_production_lot" attrs="{'column_invisible': [('parent.show_lots_text', '=', False)], 'invisible': [('lots_visible', '=', False)]}"/>
</xpath>
</field>
</record>
Expand Down

0 comments on commit 866cd50

Please sign in to comment.