~agilebg/openobject-italia/imp_save_fiscalcode_data

« back to all changes in this revision

Viewing changes to l10n_it_withholding_tax/account_view.xml

  • Committer: Lorenzo Battistini
  • Date: 2013-04-17 10:16:04 UTC
  • mto: This revision was merged to the branch mainline in revision 221.
  • Revision ID: lorenzo.battistini@agilebg.com-20130417101604-696mi0rm6zqwu9z7
[add] l10n_it_withholding_tax from 6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
<!-- company -->
 
6
 
 
7
        <record model="ir.ui.view" id="view_company_inherit_form">
 
8
            <field name="name">res.company.form.inherit</field>
 
9
            <field name="inherit_id" ref="account.view_company_inherit_1_form"/>
 
10
            <field name="model">res.company</field>
 
11
            <field name="type">form</field>
 
12
            <field name="arch" type="xml">
 
13
                <field name="paypal_account" position="after">
 
14
                    <separator colspan="4"></separator>
 
15
                    <field name="withholding_payment_term_id"/>
 
16
                    <field name="withholding_account_id"/>
 
17
                    <field name="withholding_journal_id" />
 
18
                    <separator colspan="4"></separator>
 
19
                </field>
 
20
            </field>
 
21
        </record>
 
22
        
 
23
        <!-- invoice -->
 
24
        
 
25
        <record id="invoice_supplier_form" model="ir.ui.view">
 
26
            <field name="name">account.invoice.supplier.form</field>
 
27
            <field name="model">account.invoice</field>
 
28
            <field name="type">form</field>
 
29
            <field name="inherit_id" ref="account.invoice_supplier_form"/>
 
30
            <field name="arch" type="xml">
 
31
                <field name="date_due" position="after">
 
32
                    <field name="has_withholding"/>
 
33
                </field>
 
34
                <field name="amount_total" position="after">
 
35
                    <field name="withholding_amount" attrs="{'invisible': [('has_withholding', '=', False)]}"/>
 
36
                    <field name="net_pay" attrs="{'invisible': [('has_withholding', '=', False)]}"/>
 
37
                </field>
 
38
            </field>
 
39
        </record>
 
40
        
 
41
        <!-- voucher -->
 
42
        
 
43
        <record id="view_vendor_payment_form_wh_move" model="ir.ui.view">
 
44
            <field name="name">account.voucher.payment.form.wh.move</field>
 
45
            <field name="model">account.voucher</field>
 
46
            <field name="type">form</field>
 
47
            <field name="inherit_id" ref="account_voucher.view_vendor_payment_form"/>
 
48
            <field name="arch" type="xml">
 
49
                <field name="move_ids" position="after">
 
50
                    <separator string="Withholding tax entries" colspan="4"></separator>
 
51
                    <field name="withholding_move_ids" colspan="4" nolabel="1"/>
 
52
                </field>
 
53
            </field>
 
54
        </record>
 
55
        
 
56
    </data>
 
57
</openerp>