1 <?xml version="1.0" encoding="utf-8"?>
6 id="menu_finance_belgian_statement"
7 name="Belgium Statements"
8 parent="account.menu_finance_legal_statement" groups="account.group_account_manager"/>
10 <record id="view_vat_declaration" model="ir.ui.view">
11 <field name="name">Vat Declaraion</field>
12 <field name="model">l1on_be.vat.declaration</field>
13 <field name="type">form</field>
14 <field name="arch" type="xml">
15 <form string="Periodical VAT Declaration" >
18 <separator string="Declare Periodical VAT" colspan="4"/><newline/>
19 <field name="tax_code_id" string="Company" widget="selection" groups="base.group_multi_company"/>
20 <field name="period_ids" nolabel="1" colspan="4" height="200" width="550">
21 <tree colors="blue:state in ('draft');gray:state in ('done') " string="Period">
24 <field name="date_start"/>
25 <field name="date_stop"/>
26 <field name="special"/>
33 <field name="ask_resitution" colspan="1"/>
34 <field name="ask_payment" colspan="1"/>
35 <field name="client_nihil" string="Is Last Declaration" colspan="1" /><label/>
38 <group colspan="4" groups="base.group_extended">
39 <separator string="Comments" colspan="4"/>
40 <field colspan="4" name="comments" nolabel="1"/>
43 <separator colspan="4"/>
45 <button special="cancel" string="Close" icon="gtk-cancel"/>
46 <button icon="gtk-execute" name="create_xml" string="Create XML" type="object" default_focus="1" />
53 <record id="view_vat_save" model="ir.ui.view">
54 <field name="name">Save XML</field>
55 <field name="model">l1on_be.vat.declaration</field>
56 <field name="type">form</field>
57 <field name="arch" type="xml">
58 <form string="Save xml">
60 <label string="Save the File with '.xml' extension." colspan="2" align="0.0"/><newline/>
61 <field name="name"/><newline/>
62 <field name="file_save" readonly="True"/>
64 <separator colspan="4"/><label/>
65 <button special="cancel" string="Ok" icon="gtk-ok"/>
71 <record id="action_vat_declaration" model="ir.actions.act_window">
72 <field name="name">Vat Declaraion</field>
73 <field name="type">ir.actions.act_window</field>
74 <field name="res_model">l1on_be.vat.declaration</field>
75 <field name="view_type">form</field>
76 <field name="view_mode">form</field>
77 <field name="view_id" ref="view_vat_declaration"/>
78 <field name="target">new</field>
82 name="Periodical VAT Declaration"
83 parent="menu_finance_belgian_statement"
84 action="action_vat_declaration"
85 id="l10_be_vat_declaration"
86 groups="account.group_account_manager"/>