2010-04-07 06:41:53 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2010-08-14 09:43:51 +00:00
<record id= "view_account_vat_declaration" model= "ir.ui.view" >
2010-04-07 06:41:53 +00:00
<field name= "name" > Account Vat Declaration</field>
<field name= "model" > account.vat.declaration</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2010-10-20 12:17:19 +00:00
<form string= "Taxes Report" >
<field name= "chart_tax_id" widget= 'selection' />
<field name= "fiscalyear_id" />
2010-10-14 07:31:55 +00:00
<field name= "based_on" />
2010-10-20 12:17:19 +00:00
<separator string= "Periods" colspan= "4" />
<field name= "period_from" domain= "[('fiscalyear_id', '=', fiscalyear_id)]" attrs= "{'readonly':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}" />
<field name= "period_to" domain= "[('fiscalyear_id', '=', fiscalyear_id)]" attrs= "{'readonly':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}" />
2010-08-14 09:43:51 +00:00
<group col= "2" colspan= "4" >
<button icon= 'gtk-cancel' special= "cancel" string= "Cancel" />
2010-09-29 08:24:37 +00:00
<button name= "create_vat" string= "Print Tax Statement" colspan= "1" type= "object" icon= "gtk-ok" />
2010-08-14 09:43:51 +00:00
</group>
</form>
2010-04-07 06:41:53 +00:00
</field>
</record>
<record id= "action_account_vat_declaration" 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</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
<field name= "target" > new</field>
2010-08-12 14:31:06 +00:00
<field name= "help" > This menu print a VAT declaration based on invoices or payments. You can select one or several periods of the fiscal year. Information required for a tax declaration is automatically generated by OpenERP from invoices (or payments, in some countries). This data is updated in real time. That’ s very useful because it enables you to preview at any time the tax that you owe at the start and end of the month or quarter.</field>
2010-04-07 06:41:53 +00:00
</record>
2010-08-14 09:43:51 +00:00
<menuitem
name="Taxes Report"
parent="menu_tax_report"
action="action_account_vat_declaration"
id="menu_account_vat_declaration"
icon="STOCK_PRINT"/>
2010-04-07 06:41:53 +00:00
2010-08-14 09:43:51 +00:00
</data>
2010-10-20 12:17:19 +00:00
</openerp>