[FIX] purchase: wrong domain

`type` is now replaced by `account_type` which can only have one value:
normal. So this domain is useless.
This commit is contained in:
Nicolas Martinelli
2015-09-30 11:32:00 +02:00
parent d2cbfc9283
commit 28daf5df62
+1 -1
View File
@@ -194,7 +194,7 @@
<field name="name"/>
<field name="date_planned"/>
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
<field name="account_analytic_id" context="{'default_partner_id':parent.partner_id}" groups="purchase.group_analytic_accounting" domain="[('type','not in',('view','template'))]"/>
<field name="account_analytic_id" context="{'default_partner_id':parent.partner_id}" groups="purchase.group_analytic_accounting"/>
<field name="product_qty"/>
<field name="qty_received" invisible="not context.get('show_purchase', False)"/>
<field name="qty_invoiced" invisible="not context.get('show_purchase', False)"/>