[IMP]improve product template view and change necessary xpath
bzr revid: dka@tinyerp.com-20131122054850-8sfin7rypnyf17ip
This commit is contained in:
parent
d67a267c39
commit
9f2dce4fe0
|
@ -19,10 +19,10 @@
|
|||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="account.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='property_account_expense']" position="after">
|
||||
<field name="property_account_expense" position="after">
|
||||
<field name="property_account_creditor_price_difference" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
|
||||
<newline/>
|
||||
</xpath>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -60,10 +60,11 @@
|
|||
</div>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//group[@string='Product Type']" position="inside">
|
||||
<field name="website_published"/>
|
||||
<xpath expr="//div[@name='options']" position="inside">
|
||||
<field name="website_published"/>
|
||||
<label for="website_published"/>
|
||||
</xpath>
|
||||
<xpath expr="//page[@string='Information']" position="inside">
|
||||
<xpath expr="//field[@name='description']" position="before">
|
||||
<group colspan="4" string="Website Options">
|
||||
<field name="suggested_product_ids" widget="many2many_tags"/>
|
||||
<field name="website_style_ids" widget="many2many_tags"/>
|
||||
|
|
Loading…
Reference in New Issue