[IMP] account: domain on tax_dest_id

It has no sens to map a tax by a tax included in the price because
when a tax is included in the price, the price must be computed
according to this tax.
This commit is contained in:
Goffin Simon
2015-08-26 09:02:40 +02:00
parent 503820acb6
commit cd9a77604f
+2 -2
View File
@@ -23,11 +23,11 @@
<field name="tax_ids" widget="one2many_list">
<tree string="Tax Mapping" editable="bottom">
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False), ('price_include', '=', False)]"/>
</tree>
<form string="Tax Mapping">
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False), ('price_include', '=', False)]"/>
</form>
</field>
<separator string="Accounts Mapping"/>