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

209 lines
9.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="make_visible" model="res.groups">
<field name="name">Tax Visible</field>
</record>
</data>
<data>
<!--customer invoice-->
<record id="account_invoice_vinherit_form" model="ir.ui.view">
<field name="name">tax.account.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='amount_tax']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<!--<label for="amount_tax" position="replace">-->
<!--</label>-->
<xpath expr="//label[@for='amount_tax']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='invoice_line']/tree/field[@name='invoice_line_tax_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='tax_line']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<!--supplier invoice-->
<record id="invoice_supplier_inherit_view" model="ir.ui.view">
<field name="name">discount.account.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree/field[@name='invoice_line_tax_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<!--<label for="amount_tax" position="replace">-->
<!--</label>-->
<xpath expr="//label[@for='amount_tax']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='tax_line']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='amount_tax']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<!--account customer refund form-->
<record id="account_invoice_refund_inherit_form" model="ir.ui.view">
<field name="name">sale_account.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree/field[@name='invoice_line_tax_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='amount_tax']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<!--account supplier refund form-->
<record id="account_invoice_refund_inherit_form" model="ir.ui.view">
<field name="name">sale_account.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree/field[@name='invoice_line_tax_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='amount_tax']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='tax_line']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<!--customer receipts-->
<record id="customer_account_voucher_inherited_view" model="ir.ui.view">
<field name="name">customer_account_voucher_inherit_view</field>
<field name="model">account.voucher</field>
<field name="inherit_id" ref="account_voucher.view_sale_receipt_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='tax_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='tax_amount']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<!--supplier receipts-->
<record id="supplier_account_voucher_inherited_view" model="ir.ui.view">
<field name="name">supplier_account_voucher_inherit_view</field>
<field name="model">account.voucher</field>
<field name="inherit_id" ref="account_voucher.view_purchase_receipt_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='tax_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='tax_amount']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<!--journal entries-->
<record id="account_move_inherited_view" model="ir.ui.view">
<field name="name">account_move_voucher_inherit_view</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='line_id']/tree/field[@name='tax_code_id']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
<xpath expr="//field[@name='line_id']/tree/field[@name='tax_amount']" position="attributes">
<attribute name="groups">taxless_accounting.make_visible</attribute>
</xpath>
</field>
</record>
<menuitem
id="account.account_template_taxes"
name="Taxes"
parent="account.account_template_folder"
groups="make_visible"
sequence="2"/>
<menuitem
id="account.menu_tax_report"
name="Taxes"
groups="make_visible"
parent="account.menu_finance_generic_reporting"
sequence="3"/>
<menuitem
action="account.action_tax_form"
id="account.menu_action_tax_form"
parent="account.next_id_27"
groups="make_visible"/>
<menuitem
name="Taxes Report"
parent="account.menu_tax_report"
groups="make_visible"
action="account.action_account_vat_declaration"
id="account.menu_account_vat_declaration"
icon="STOCK_PRINT"/>
<menuitem
action="account.action_tax_code_list"
id="account.menu_action_tax_code_list"
parent="account.next_id_27"
sequence="12"
groups="make_visible"/>
<menuitem
icon="STOCK_INDENT"
action="account.action_account_tax_chart"
id="account.menu_action_tax_code_tree"
parent="account.menu_finance_charts"
groups="make_visible"
sequence="12"/>
<menuitem
action="account.action_account_tax_template_form"
id="account.menu_action_account_tax_template_form"
parent="account.account_template_taxes"
groups="make_visible"
sequence="13"/>
<menuitem
action="account.action_account_tax_code_template_form"
id="account.menu_action_account_tax_code_template_form"
parent="account.account_template_taxes"
groups="make_visible"
sequence="14"/>
<menuitem
id="account.next_id_27"
name="Taxes"
parent="account.menu_finance_configuration"
groups="make_visible"
sequence="20"/>
<menuitem
action="account.action_account_fiscal_position_template_form"
id="account.menu_action_account_fiscal_position_form_template"
parent="account.account_template_taxes"
groups="make_visible"
sequence="20"/>
<menuitem
action="account.action_account_fiscal_position_form"
id="account.menu_action_account_fiscal_position_form"
parent="account.next_id_27"
groups="make_visible"
sequence="20"/>
</data>
</openerp>