123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <!-- <record id="view_account_move_line_form" model="ir.ui.view">
- <field name="name">Tax Journal Items Tree</field>
- <field name="model">account.move.line</field>
- <field name="inherit_id" ref="account.view_move_line_form"/>
- <field name="arch" type="xml">
- <field name="statement_id" position="after">
- <field name="tax_settlement_move_id"/>
- </field>
- </field>
- </record> -->
- <record id="view_account_move_line_filter" model="ir.ui.view">
- <field name="name">Journal Items</field>
- <field name="model">account.move.line</field>
- <field name="inherit_id" ref="account.view_account_move_line_filter"/>
- <field name="arch" type="xml">
- <search>
- <field name="name" string="Asiento"/>
- <filter name="unreconciled" invisible="1" position="after">
- <filter string="Unsettled Tax" domain="[('tax_settlement_move_id','=',False), ('tax_code_id', '!=', False)]" help="Unsettled Tax Items" name="unsettled"/>
- </filter>
- </search>
- </field>
- </record>
- <record id="view_account_move_line_tree" model="ir.ui.view">
- <field name="name">Tax Journal Items Tree</field>
- <field name="model">account.move.line</field>
- <field name="priority" eval="99"/>
- <field name="arch" type="xml">
- <tree colors="blue:state == 'draft';black:state == 'posted'" string="Tax Journal Items">
- <field name="journal_id"/>
- <field name="period_id"/>
- <field name="date"/>
- <field name="name"/>
- <field name="ref"/>
- <field name="partner_id"/>
- <!-- <field name="account_id"/> -->
- <!-- <field name="move_id"/> -->
- <field name="debit" sum="Total Debit"/>
- <field name="credit" sum="Total Credit"/>
- <!-- <field name="date_maturity"/> -->
- <field name="analytic_account_id" invisible="1" groups="analytic.group_analytic_accounting"/>
- <field name="tax_code_id"/>
- <field name="tax_amount" sum="Total Tax"/>
- <field name="tax_state"/>
- <!-- <field name="tax_settlement_move_id"/> -->
- <!-- <field name="reconcile_ref" invisible="1"/> -->
- <field name="state" invisible="1"/>
- <!-- <button name="make_tax_settlement" icon="gtk-go-forward" string="Settle" help="Make a move to settle current tax line" attrs="{'invisible':[('tax_state', '!=', 'to_settle')]}" type="object"/>
- <button name="pay_tax_settlement" icon="terp-dolar" string="Pay" attrs="{'invisible':[('tax_state', '!=', 'to_pay')]}" type="object"/> -->
- </tree>
- </field>
- </record>
- <record model="ir.actions.act_window" id="action_account_move_line">
- <field name="name">Tax Journal Items</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">account.move.line</field>
- <field name="view_id" ref="view_account_move_line_tree"/>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="domain">[('tax_code_id', '!=', False)]</field>
- <!-- TODO, tal vez agregar filter "tax_settlement_move_id == false" como un settle -->
- <!-- <field name="context">{'search_default_unsettled': 1}</field> -->
- </record>
- <menuitem name="Análisis de impuestos" action="action_account_move_line" sequence="20" id="menu_account_move_line" parent="eiru_reports.account_parent_menu"/>
- </data>
- </openerp>
- <!-- vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4
- -->
|