~vauxoo/openerp-venezuela-localization/ovl70-ffrr-rev-kty

« back to all changes in this revision

Viewing changes to l10n_ve_withholding/l10n_ve_withholding_view.xml

  • Committer: Javier Duran
  • Author(s): javier at vauxoo
  • Date: 2011-05-11 16:44:18 UTC
  • Revision ID: javier@squezee-vir-20110511164418-j3t6aa38ufnykkcp
[ADD] Se agrega el módulo l10n_ve_withholding

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<openerp>
 
3
    <data>
 
4
    
 
5
<!--
 
6
    Menu Generico para todos los modulos de iva, islr y municipales
 
7
-->
 
8
        <menuitem id="menu_finance_withholding" name="Withholdings" parent="account.menu_finance"/>
 
9
        <menuitem id="menu_wh_configuration" name="Withholdings" parent="account.menu_finance_configuration"/>
 
10
        
 
11
<!--
 
12
        Vista Generica de Facturas de Compra para iva, islr y municipales
 
13
-->
 
14
        
 
15
        <record id="wh_inv_supplier" model="ir.ui.view">
 
16
            <field name="name">account.invoice.supplier.wh.form</field>
 
17
            <field name="model">account.invoice</field>
 
18
            <field name="type">form</field>
 
19
            <field name="inherit_id" ref="account.invoice_supplier_form"/>
 
20
            <field name="arch" type="xml">
 
21
                <notebook>
 
22
                   <page string="Withholdings" >
 
23
 
 
24
                    </page> 
 
25
                </notebook>
 
26
            </field>
 
27
        </record>
 
28
        
 
29
<!--
 
30
        Vista Generica de Facturas de Venta para iva, islr y municipales
 
31
-->
 
32
        
 
33
        <record id="wh_inv_customer" model="ir.ui.view">
 
34
            <field name="name">account.invoice.supplier.wh.form</field>
 
35
            <field name="model">account.invoice</field>
 
36
            <field name="type">form</field>
 
37
            <field name="inherit_id" ref="account.invoice_form"/>
 
38
            <field name="arch" type="xml">
 
39
                <notebook>
 
40
                   <page string="Withholdings" >
 
41
 
 
42
                    </page> 
 
43
                </notebook>
 
44
            </field>
 
45
        </record>
 
46
        
 
47
<!--
 
48
        Vista Generica de Parnets para iva, islr y municipales
 
49
-->
 
50
 
 
51
        <record id="wh_partner" model="ir.ui.view">
 
52
            <field name="name">res.partner.form.wh</field>
 
53
            <field name="model">res.partner</field>
 
54
            <field name="type">form</field>
 
55
            <field name="inherit_id" ref="base.view_partner_form"/>
 
56
            <field name="arch" type="xml">
 
57
                <notebook>
 
58
                   <page string="Withholdings" >
 
59
 
 
60
                    </page> 
 
61
                </notebook>
 
62
            </field>
 
63
        </record>        
 
64
 
 
65
 
 
66
        <!--
 
67
          =======================
 
68
          Withholdings Document
 
69
          =======================
 
70
        -->
 
71
        <record id="view_account_wh_doc_tree" model="ir.ui.view">
 
72
            <field name="name">account.wh.doc.tree</field>
 
73
            <field name="model">account.wh.doc</field>
 
74
            <field name="type">tree</field>
 
75
            <field name="arch" type="xml">
 
76
                <tree string="Documents">
 
77
                    <field name="model_parent" select="1"/>
 
78
                    <field name="model_child" select="1"/>
 
79
                </tree>
 
80
            </field>
 
81
        </record>
 
82
        <record id="view_account_wh_doc_form" model="ir.ui.view">
 
83
            <field name="name">account.wh.doc.form</field>
 
84
            <field name="model">account.wh.doc</field>
 
85
            <field name="type">form</field>
 
86
            <field name="arch" type="xml">
 
87
                <form string="Documents">
 
88
                    <field name="model_parent" select="1"/>
 
89
                    <field name="model_child" select="1"/>
 
90
                </form>
 
91
            </field>
 
92
        </record>
 
93
 
 
94
        <record id="wh_doc_action" model="ir.actions.act_window">
 
95
            <field name="name">Withholdings Document</field>
 
96
            <field name="type">ir.actions.act_window</field>            
 
97
            <field name="res_model">account.wh.doc</field>
 
98
            <field name="view_type">form</field>
 
99
            <field name="view_mode">tree,form</field>
 
100
            <field name="help">Create and manage the withholding documents in account move line.</field>            
 
101
        </record>
 
102
 
 
103
 
 
104
        <record id="action_wh_doc_tree" model="ir.actions.act_window.view">
 
105
            <field eval="1" name="sequence"/>
 
106
            <field name="view_mode">tree</field>
 
107
            <field name="view_id" ref="view_account_wh_doc_tree"/>            
 
108
            <field name="act_window_id" ref="wh_doc_action"/>
 
109
        </record>
 
110
 
 
111
        <record id="action_wh_doc_form" model="ir.actions.act_window.view">
 
112
            <field eval="2" name="sequence"/>
 
113
            <field name="view_mode">form</field>
 
114
            <field name="view_id" ref="view_account_wh_doc_form"/>
 
115
            <field name="act_window_id" ref="wh_doc_action"/>
 
116
        </record>
 
117
 
 
118
        <menuitem id="menu_wh_doc" action="wh_doc_action" parent="menu_wh_configuration"/>
 
119
                
 
120
    </data>
 
121
</openerp>
 
122