mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Change compared to 8.0: * period_id has been replace by operations an the date field * tax_code_id has been replaced by analysis_tax, a computed fields based an the tax analysis_name, based on description and name
51 lines
2.0 KiB
XML
51 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Author: Vincent Renaville
|
|
Copyright 2013 Camptocamp SA
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
|
|
<odoo>
|
|
<record id="view_account_vat_declaration_analysis" model="ir.ui.view">
|
|
<field name="name">Account Vat Declaration</field>
|
|
<field name="model">account.vat.declaration.analysis</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Taxes Report">
|
|
<group>
|
|
<field name="company_id"/>
|
|
<field name="date_range_id" domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"/>
|
|
<label for="start_date" string="Period"/>
|
|
<div>
|
|
<field name="start_date" class="oe_inline"/> - 
|
|
<field name="end_date" class="oe_inline"/>
|
|
</div>
|
|
<field name="target_move"/>
|
|
</group>
|
|
<footer>
|
|
<button name="show_vat" string="Show tax lines" type="object" class="oe_highlight"/>
|
|
<button special="cancel" string="Cancel" class="oe_link"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_account_vat_declaration_analysis" model="ir.actions.act_window">
|
|
<field name="name">Account Vat Declaration</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">account.vat.declaration.analysis</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<menuitem
|
|
name="Taxes Analysis"
|
|
parent="account.menu_finance_reports"
|
|
id="menu_account_vat_declaration_analysis"/>
|
|
|
|
<menuitem
|
|
name="Taxes Analysis"
|
|
parent="menu_account_vat_declaration_analysis"
|
|
action="action_account_vat_declaration_analysis"
|
|
id="menu_action_account_vat_declaration_analysis"/>
|
|
|
|
</odoo>
|