[IMP] stock: Improve the view of product
bzr revid: sbh@tinyerp.com-20100915104807-ggnoeybdnnwhpfdx
This commit is contained in:
parent
784b5e5a46
commit
3a52e3db6c
|
@ -9,7 +9,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<notebook position="inside">
|
||||
<page string="Accounting">
|
||||
<group groups="base.group_extended">
|
||||
<group name="properties" groups="base.group_extended">
|
||||
<separator string="Sales Properties" colspan="2"/>
|
||||
<separator string="Purchase Properties" colspan="2"/>
|
||||
<field name="property_account_income" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('sale_ok','=',0)]}" groups="base.group_extended"/>
|
||||
|
|
|
@ -75,15 +75,15 @@
|
|||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="priority">26</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="/form/notebook/page[@string='Accounting']" position="inside">
|
||||
<newline/>
|
||||
<xpath expr="/form/notebook/page/group[@name='properties']" position="before">
|
||||
<group groups="base.group_extended">
|
||||
<separator string="Stock Input/Output Account" colspan="2"/>
|
||||
<newline/>
|
||||
<newline/>
|
||||
<field name="valuation"/>
|
||||
<field name="property_stock_account_output" attrs="{'readonly':[('valuation', '!=', 'real_time')]}" domain="[('type','<>','view'),('type','<>','consolidation')]" groups="base.group_extended"/>
|
||||
<field name="property_stock_account_input" attrs="{'readonly':[('valuation', '!=', 'real_time')]}" domain="[('type','<>','view'),('type','<>','consolidation')]" groups="base.group_extended"/>
|
||||
</group>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue