[FIX]:Pricelist field should be on Operations tab not on Invoicing tab

bzr revid: apa@tinyerp.com-20120619122524-kf7hsjbwl3h0qljn
This commit is contained in:
Amit Patel (OpenERP) 2012-06-19 17:55:24 +05:30
parent 4fd82385df
commit eb4368d9ac
1 changed files with 5 additions and 3 deletions

View File

@ -67,6 +67,11 @@
</group>
<notebook>
<page string="Operations">
<group col="4">
<field
name="pricelist_id" groups="product.group_sale_pricelist" context="{'product_id':product_id}"
attrs="{'readonly':[('invoice_method','=', 'none')]}"/>
</group>
<field name="operations">
<form string="Operations" version="7.0">
<notebook>
@ -123,9 +128,6 @@
<page string="Invoicing">
<group col="4">
<field name="invoice_method"/>
<field
name="pricelist_id" groups="product.group_sale_pricelist" context="{'product_id':product_id}"
attrs="{'readonly':[('invoice_method','=', 'none')]}"/>
<field name="partner_invoice_id" attrs="{'readonly':[('invoice_method','=', 'none')]}"/>
</group>
<!-- <field name="invoice_id"/> -->