[ADD] add module product_simple_accounting to simplify the product form regarding accounting
This commit is contained in:
22
product_simple_accounting/views/product_view.xml
Normal file
22
product_simple_accounting/views/product_view.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="product_template_view_form" model="ir.ui.view">
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="priority" eval="64"/>
|
||||
<field name="arch" type="xml">
|
||||
<page string="Accounting" position="replace"/>
|
||||
<field name="profile_id" position="after">
|
||||
<field name="categ_id"/>
|
||||
<field name="fiscal_classification_id" widget="selection"/>
|
||||
</field>
|
||||
<field name="standard_price" position="after">
|
||||
<field name="valuation" attrs="{'invisible':[('type', 'in', ('service', 'consu'))]}"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user