[FIX] account: Add sequence to tax views

For account.tax.code and account.tax.code.template.

Sequences on account.tax.code are used for reporting.
However, it wasn't possible to edit them through the client.
Neither through the form view or the list view with a handle.

Fixes #1844
Closes #2656
This commit is contained in:
Richard deMeester 2014-09-24 09:54:59 +10:00 committed by Denis Ledoux
parent 9e6bfc9852
commit 59fef0db21
1 changed files with 4 additions and 0 deletions

View File

@ -872,6 +872,7 @@
<field name="priority">100</field>
<field name="arch" type="xml">
<tree string="Account Tax Code" toolbar="1">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="code"/>
<field name="sum_period"/>
@ -891,6 +892,7 @@
<field name="code"/>
<field name="parent_id"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="sequence"/>
</group>
<group string="Reporting Configuration">
<field name="notprintable"/>
@ -2147,6 +2149,7 @@
<field name="field_parent">child_ids</field>
<field name="arch" type="xml">
<tree string="Account Tax Code Template" toolbar="1">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="code"/>
<field name="parent_id" invisible="1"/>
@ -2176,6 +2179,7 @@
<field name="code"/>
<field name="parent_id"/>
<field name="sign"/>
<field name="sequence"/>
</group>
<separator string="Description"/>
<field name="info"/>