[IMP] account: change order of column of account.move.line trees
Task 2072312 closes odoo/odoo#37017 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
@@ -135,27 +135,29 @@
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Journal Items" create="false">
|
||||
<field name="date" optional="show"/>
|
||||
<field name="move_id" optional="show"/>
|
||||
<field name="journal_id" options='{"no_open":True}'/>
|
||||
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
|
||||
<field name="name" optional="show"/>
|
||||
<field name="ref" optional="show"/>
|
||||
<field name="statement_id" invisible="1"/>
|
||||
<field name="partner_id" optional="show"/>
|
||||
<field name="journal_id" options='{"no_open":True}'/>
|
||||
<field name="move_id" optional="show"/>
|
||||
<field name="account_id" options="{'no_open': True, 'no_create': True}" domain="[('company_id', '=', company_id)]" groups="account.group_account_user" attrs="{'readonly':[('parent_state','=','posted')]}"/>
|
||||
<field name="partner_id" optional="show"/>
|
||||
<field name="statement_id" invisible="1"/>
|
||||
<field name="ref" optional="show"/>
|
||||
<field name="name" optional="show"/>
|
||||
<field name="analytic_account_id" groups="account.group_account_user" optional="show"/>
|
||||
<field name="analytic_tag_ids" widget="many2many_tags" groups="analytic.group_analytic_tags"/>
|
||||
<field name="reconciled" invisible="1"/>
|
||||
<field name="full_reconcile_id" optional="show"/>
|
||||
<field name="reconcile_model_id" invisible="1"/>
|
||||
<field name="analytic_tag_ids" widget="many2many_tags" groups="analytic.group_analytic_tags" optional="hide"/>
|
||||
<field name="tax_ids" widget="many2many_tags" width="0.5" optional="show" attrs="{'readonly':[('parent_state','=','posted')]}"/>
|
||||
<field name="debit" sum="Total Debit"/>
|
||||
<field name="credit" sum="Total Credit"/>
|
||||
<field name="amount_currency" readonly="True" groups="base.group_multi_currency" optional="hide"/>
|
||||
<field name="currency_id" readonly="True" invisible="1" />
|
||||
<field name="tag_ids" widget="many2many_tags" width="0.5" optional="hide"/>
|
||||
<field name="full_reconcile_id" optional="show"/>
|
||||
<field name="reconcile_model_id" invisible="1"/>
|
||||
<field name="reconciled" invisible="1"/>
|
||||
<field name="date_maturity" optional="hide"/>
|
||||
<field name="currency_id" readonly="True" invisible="1" />
|
||||
<field name="company_currency_id" invisible="1"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="parent_state" invisible="1"/></tree>
|
||||
<field name="parent_state" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -166,12 +168,13 @@
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Journal Items" create="false" expand="context.get('expand', False)">
|
||||
<field name="date" optional="show" attrs="{'readonly':[('parent_state','=','posted')]}"/>
|
||||
<field name="ref" optional="hide"/>
|
||||
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}" optional="show"/>
|
||||
<field name="move_id" optional="show" readonly="1"/>
|
||||
<field name="name"/>
|
||||
<field name="statement_id" invisible="1"/>
|
||||
<field name="account_id" options="{'no_open': True, 'no_create': True}" domain="[('company_id', '=', company_id)]" groups="account.group_account_user" attrs="{'readonly':[('parent_state','=','posted')]}" optional="show"/>
|
||||
<field name="statement_id" invisible="1"/>
|
||||
<field name="partner_id" optional="show"/>
|
||||
<field name="ref" optional="hide"/>
|
||||
<field name="name"/>
|
||||
<field name="reconciled" invisible="1"/>
|
||||
<field name="full_reconcile_id" string="Matching" optional="show" readonly="1"/>
|
||||
<field name="reconcile_model_id" invisible="1"/>
|
||||
@@ -181,7 +184,6 @@
|
||||
<field name="amount_currency" readonly="True" groups="base.group_multi_currency"/>
|
||||
<field name="currency_id" readonly="True" invisible="1" />
|
||||
<field name="company_currency_id" invisible="1"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="parent_state" invisible="1"/>
|
||||
<field name="tax_ids" widget="many2many_tags" width="0.5" optional="hide" attrs="{'readonly':[('parent_state','=','posted')]}"/>
|
||||
<field name="tag_ids" widget="many2many_tags" width="0.5" optional="hide"/>
|
||||
@@ -209,6 +211,7 @@
|
||||
<attribute name="readonly">1</attribute>
|
||||
</field>
|
||||
<field name="full_reconcile_id" position="attributes"><attribute name="optional">hide</attribute></field>
|
||||
<field name="tax_ids" position="attributes"><attribute name="optional">show</attribute></field>
|
||||
<field name="tag_ids" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
<attribute name="string">Tax Grids</attribute>
|
||||
|
||||
Reference in New Issue
Block a user