~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to account_override/res_company_view.xml

  • Committer: Olivier DOSSMANN
  • Date: 2014-03-31 09:31:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2086.
  • Revision ID: od@tempo-consulting.fr-20140331093146-tgvxnly1kc1hbv1s
UF-2171 [ADD] Analytic distribution reset button for recurring models

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
        <!--
 
6
            Debit note default account configuration
 
7
        -->
 
8
 
 
9
        <record model="ir.ui.view" id="view_company_inherit_3_form">
 
10
            <field name="name">res.company.form.inherit</field>
 
11
            <field name="inherit_id" ref="base.view_company_form"/>
 
12
            <field name="model">res.company</field>
 
13
            <field name="type">form</field>
 
14
            <field name="arch" type="xml">
 
15
            <page string="Configuration" position="inside">
 
16
                <group col="2" colspan="2">
 
17
                    <separator string="Re-billing Inter-section account" colspan="2"/>
 
18
                    <field name="import_invoice_default_account" colspan="2"
 
19
                    domain="['|','|', '&amp;',('type','=','receivable'),('user_type_code','=','receivables'),'&amp;',('type','=','receivable'), ('user_type_code','=','cash'),'&amp;', ('type','=','other'),('user_type_code','=','cash')]"/>
 
20
                </group>
 
21
                <group col="2" colspan="2">
 
22
                    <separator string="Intermission configuration" colspan="2"/>
 
23
                    <field name="intermission_default_counterpart" domain="[('type', '!=', 'view')]" colspan="2"/>
 
24
                </group>
 
25
                <group col="2" colspan="2">
 
26
                    <separator string="Income accounts specific configuration" colspan="2"/>
 
27
                    <field name="additional_allocation" colspan="2"/>
 
28
                </group>
 
29
                <group col="2" colspan="2">
 
30
                    <separator string="Revaluation account" colspan="2"/>
 
31
                    <field name="revaluation_default_account" colspan="2"
 
32
                    domain="[('type', '!=', 'view'),('user_type_code', '=', 'expense')]"/>
 
33
                </group>
 
34
            </page>
 
35
            <xpath expr="/form//field[@name='currency_id']" position="replace">
 
36
                <field name="currency_id" readonly="1" />
 
37
            </xpath>
 
38
            </field>
 
39
        </record>
 
40
 
 
41
    </data>
 
42
</openerp>