You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="view_move_line_tree_grouped" model="ir.ui.view">
<field name="name">account.move.line.tree.grouped</field>
<field name="model">account.move.line</field>
<field eval="1" name="priority"/>
<field name="arch" type="xml">
<tree string="Journal Items" create="false" expand="context.get('expand', False)" multi_edit="1">
<field name="date" optional="show" readonly="1"/>
<!-- <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}" optional="show"/>-->
<field name="company_id" options="{'no_create': True}" optional="show"/>
<field name="move_id" optional="show"/>
<field name="account_id" optional="show" options="{'no_open': True, 'no_create': True}"
domain="[('company_id', '=', company_id)]"
groups="account.group_account_readonly"/>
<field name="statement_id" invisible="1"/>
<field name="partner_id" optional="show" readonly="1"/>
<field name="ref" optional="hide"/>
<field name="name"/>
<field name="reconciled" invisible="1"/>
<field name="matching_number" string="Matching" optional="show"/>
<field name="reconcile_model_id" invisible="1"/>
<field name="date_maturity" optional="hide"/>
<field name="analytic_account_id" optional="hide" groups="analytic.group_analytic_accounting" attrs="{'readonly':[('parent_state','=','posted')]}"/>
<!-- <field name="analytic_tag_ids" optional="hide" readonly="1" groups="analytic.group_analytic_tags"/>-->
<field name="analytic_tag_ids" optional="hide" readonly="1"/>
<field name="debit" sum="Total Debit" readonly="1"/>
<field name="credit" sum="Total Credit" readonly="1"/>
<field name="balance" sum="Total Balance" readonly="1" optional="hide"/>
<field name="amount_currency" readonly="1" groups="base.group_multi_currency"/>
<field name="currency_id" readonly="1" invisible="1" />
<field name="company_currency_id" invisible="1"/>
<field name="parent_state" invisible="1"/>
<field name="tax_ids" widget="many2many_tags" width="0.5" optional="hide" readonly="1"/>
<field name="tax_tag_ids" widget="many2many_tags" width="0.5" optional="hide" string="Tax Grids"
options="{'no_open': True, 'no_create': True}"
domain="[('applicability', '=', 'taxes')]"/>
<groupby name="move_id">
<field name="state" invisible="1"/>
<button name="edit" type="edit" icon="fa-edit" title="Edit"/>
<button name="action_post" states="draft" icon="fa-check" title="Post" type="object" groups="account.group_account_invoice"/>
<button name="%(account.action_view_account_move_reversal)d" states="posted" title="Reverse" icon="fa-refresh" type="action" groups="account.group_account_invoice"/>
<button name="action_duplicate" icon="fa-files-o" title="Duplicate" type="object" groups="account.group_account_invoice"/>
</groupby>
</tree>
</field>
</record>
</data>
</odoo>