[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-19 11:14:28 +02:00
parent 503820acb6
commit cd9a77604f
1 changed files with 2 additions and 2 deletions

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"/>