[FIX]: fix a xml view data format
[odoo/odoo.git] / addons / account / wizard / account_vat_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_account_vat_declaration" model="ir.ui.view">
6             <field name="name">Account Vat Declaration</field>
7             <field name="model">account.vat.declaration</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10             <form string="Select Period">
11                 <field name="company_id" groups="base.group_multi_company" widget='selection'/>
12                 <newline/>
13                 <field name="based_on"/>
14                 <newline/>
15                 <separator string="Select Period(s)" colspan="4"/>
16                 <field name="periods" nolabel="1" colspan="2"/>
17                 <group col="2" colspan="4">
18                     <button icon='gtk-cancel' special="cancel"  string="Cancel" />
19                     <button name="create_vat" string="Print VAT Decl." colspan="1" type="object" icon="gtk-ok"/>
20                 </group>
21             </form>
22             </field>
23         </record>
24
25         <record id="action_account_vat_declaration" model="ir.actions.act_window">
26             <field name="name">Account Vat Declaration</field>
27             <field name="type">ir.actions.act_window</field>
28             <field name="res_model">account.vat.declaration</field>
29             <field name="view_type">form</field>
30             <field name="view_mode">form</field>
31             <field name="target">new</field>
32             <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>
33         </record>
34
35         <menuitem
36             name="Taxes Report"
37             parent="menu_tax_report"
38             action="action_account_vat_declaration"
39             id="menu_account_vat_declaration"
40             icon="STOCK_PRINT"/>
41
42     </data>
43 </openerp>