Browse Source

Added Invisible attr

pull/81/head
SHEREEF PT 8 years ago
parent
commit
5a9d6da7bf
  1. 4
      product_stock_balance/views/product_internal_stock.xml

4
product_stock_balance/views/product_internal_stock.xml

@ -7,8 +7,8 @@
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='inventory']" position="after">
<separator string="Stock Balance By Locations"/>
<field name="internal_location">
<separator string="Stock Balance By Locations" attrs="{'invisible':[('type', '!=', 'product')]}"/>
<field name="internal_location" attrs="{'invisible':[('type', '!=', 'product')]}">
<tree>
<field name="stock_location"/>
<field name="qty_on_hand"/>

Loading…
Cancel
Save