[FIX] purchase: fix invalid options in xml

There was an extra ', which makes the options dictionary totally
invalid.  Because of this, it is impossible to open the 'Purchase'
application (it causes a traceback)
This commit is contained in:
Géry Debongnie
2017-07-11 09:24:11 +02:00
parent e25bcf41e2
commit f39dee3e59
+1 -1
View File
@@ -242,7 +242,7 @@
<field name="price_unit"/>
</group>
<group>
<field name="taxes_id" widget="many2many_tags" domain="[('type_tax_use', '=', 'purchase')]" options="{'no_create': True', 'color_field': 'color'}"/>
<field name="taxes_id" widget="many2many_tags" domain="[('type_tax_use', '=', 'purchase')]" options="{'no_create': True, 'color_field': 'color'}"/>
<field name="date_planned" widget="date"/>
<field name="account_analytic_id" colspan="2" groups="purchase.group_analytic_accounting"/>
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>