Add suppliers in tree view (extra depends purchase)
This commit is contained in:
parent
fbe8533e04
commit
9f57d1f288
|
@ -87,4 +87,12 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
|
|||
<field name="name">template_qty_manufacturer_tree</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
<data depends="purchase">
|
||||
<record model="ir.ui.view" id="template_qty_purchase_view_tree">
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit" ref="template_qty_view_tree"/>
|
||||
<field name="name">template_qty_purchase_tree</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
|
|
|
@ -4,5 +4,6 @@ depends:
|
|||
stock
|
||||
extras_depend:
|
||||
product_manufacturer
|
||||
purchase
|
||||
xml:
|
||||
product.xml
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part product_qty module for Tryton.
|
||||
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name="category"]" position="after">
|
||||
<field name="product_suppliers" tree_invisible="1"/>
|
||||
</xpath>
|
||||
</data>
|
Loading…
Reference in New Issue