[IMP] account: improve fiscal position form view.

bzr revid: tpa@tinyerp.com-20121107102005-mas6cx6amsvvinnv
This commit is contained in:
Turkesh Patel (Open ERP) 2012-11-07 15:50:05 +05:30
parent aabb0f38fa
commit 1797cf8daa
1 changed files with 31 additions and 23 deletions

View File

@ -6,34 +6,42 @@
<field name="name">account.fiscal.position.form</field>
<field name="model">account.fiscal.position</field>
<field name="arch" type="xml">
<form string="Fiscal Position">
<form string="Fiscal Position" version="7.0">
<group col="4">
<field name="name"/>
<field name="active"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</group>
<separator string="Taxes Mapping"/>
<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)]"/>
</tree>
<form string="Tax Mapping">
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
</form>
</field>
<separator string="Accounts Mapping"/>
<field name="account_ids" widget="one2many_list">
<tree string="Account Mapping" editable="bottom">
<field name="account_src_id"/>
<field name="account_dest_id"/>
</tree>
<form string="Account Mapping">
<field name="account_src_id"/>
<field name="account_dest_id"/>
</form>
</field>
<group>
<group>
<separator string="Taxes Mapping"/>
<newline/>
<field name="tax_ids" widget="one2many_list" nolabel="1">
<tree string="Tax Mapping" editable="bottom">
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
</tree>
<form string="Tax Mapping">
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
</form>
</field>
</group>
<group>
<separator string="Accounts Mapping"/>
<newline/>
<field name="account_ids" widget="one2many_list" nolabel="1">
<tree string="Account Mapping" editable="bottom">
<field name="account_src_id"/>
<field name="account_dest_id"/>
</tree>
<form string="Account Mapping">
<field name="account_src_id"/>
<field name="account_dest_id"/>
</form>
</field>
</group>
</group>
<separator string="Notes"/>
<field name="note"/>
</form>