[FIX] purchase: fixed the domain on analytic account in purhcase order line

bzr revid: qdp-launchpad@openerp.com-20130301114646-4n2pmvmkrplch46g
This commit is contained in:
Quentin (OpenERP) 2013-03-01 12:46:46 +01:00
parent c450d0abe7
commit de33121644
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@
<field name="name"/>
<field name="date_planned"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
<field name="account_analytic_id" groups="purchase.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
<field name="account_analytic_id" groups="purchase.group_analytic_accounting" domain="[('type','not in',('view','template'))]"/>
<field name="product_qty" on_change="onchange_product_id(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="product_uom" groups="product.group_uom" on_change="onchange_product_uom(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="price_unit"/>