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

253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
1
<?xml version="1.0" encoding="utf-8"?>
2
<openerp>
3
    <data>
4
1657.3.1 by Olivier DOSSMANN
UTP-219 [FIX] Do not display "Reversal" button from Accounting Corrections Wizard for lines that comes from a register line
5
    <!-- Journal Items Lines for correction wizard -->
1038.14.3 by Olivier DOSSMANN
UF-1176 [ADD] Filter on account_id for donation expense accounts
6
        <record model="ir.ui.view" id="wizard_journal_items_corrections_lines_tree">
7
            <field name="name">wizard.journal.items.corrections.lines.tree</field>
8
            <field name="model">wizard.journal.items.corrections.lines</field>
9
            <field name="type">tree</field>
10
            <field name="arch" type="xml">
1038.14.10 by Olivier DOSSMANN
UF-1240 [MERGE] Last unifield trunk lp:unifield-wm
11
                <tree hide_new_button="1" hide_delete_button="1" editable="bottom" colors="blue:analytic_distribution_state in ('valid');red:analytic_distribution_state in ('invalid');black:analytic_distribution_state in ('none')">
1394.5.1 by Olivier DOSSMANN
UF-1738 [ADD] Display "Entry sequence" for move line to be corrected.
12
                    <field name="move_id"/>
1038.14.3 by Olivier DOSSMANN
UF-1176 [ADD] Filter on account_id for donation expense accounts
13
                    <field name="ref"/>
14
                    <field name="date"/>
2227.4.4 by vg at tempo-consulting
UTP-1187 [FIX] account correction wizard: line do not show the analytic distribution button if account not concerned by AD
15
                    <field name="account_id" domain="[('restricted_area', '=', 'correction_wizard')]" />
16
                    <button name="button_analytic_distribution" type="object"
17
                            icon="terp-stock_symbol-selection" string="Ana. Distri."
18
                            attrs="{'invisible': [('is_analytic_target', '=', False)]}" />
1038.14.10 by Olivier DOSSMANN
UF-1240 [MERGE] Last unifield trunk lp:unifield-wm
19
                    <field name="analytic_distribution_state"/>
1038.14.3 by Olivier DOSSMANN
UF-1176 [ADD] Filter on account_id for donation expense accounts
20
                    <field name="debit_currency"/>
21
                    <field name="credit_currency"/>
22
                    <field name="currency_id"/>
23
                    <field name="analytic_distribution_id" invisible="1"/>
2227.4.4 by vg at tempo-consulting
UTP-1187 [FIX] account correction wizard: line do not show the analytic distribution button if account not concerned by AD
24
                    <field name="is_analytic_target" invisible="1"/>
1038.14.3 by Olivier DOSSMANN
UF-1176 [ADD] Filter on account_id for donation expense accounts
25
                </tree>
26
            </field>
27
        </record>
28
1657.3.1 by Olivier DOSSMANN
UTP-219 [FIX] Do not display "Reversal" button from Accounting Corrections Wizard for lines that comes from a register line
29
    <!-- Correction wizard -->
253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
30
        <record model="ir.ui.view" id="wizard_journal_items_corrections_form">
31
            <field name="name">wizard.journal.items.corrections.form</field>
32
            <field name="model">wizard.journal.items.corrections</field>
33
            <field name="type">form</field>
34
            <field name="arch" type="xml">
35
                <form string="Journal items corrections Wizard">
1798.1.7 by Olivier DOSSMANN
UF-2164 [ADD] New link to the correction wizard from analytic journal items and:
36
                    <separator string="Correction"/>
1798.1.11 by Olivier DOSSMANN
UF-2164 [FIX] Minor display changes to be user-friendly
37
                    <field name="date" on_change="onchange_date(date)" colspan="2"/>
38
                    <label string="" colspan="2"/>
1038.14.3 by Olivier DOSSMANN
UF-1176 [ADD] Filter on account_id for donation expense accounts
39
                    <field name="from_donation" invisible="1"/>
253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
40
                    <newline/>
1798.1.11 by Olivier DOSSMANN
UF-2164 [FIX] Minor display changes to be user-friendly
41
                    <field name="to_be_corrected_ids" colspan="6" context="{'from_donation_account': from_donation}" nolabel="1"/>
253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
42
                    <newline/>
43
                    <group colspan="4" col="6">
44
                        <label string ="" colspan="1"/>
45
                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
253.6.14 by Olivier DOSSMANN
UF-338 [IMP] New icon on reverse/correct button for account_correction wizard
46
                        <button icon="gtk-redo" string="Correct" name="action_confirm" type="object"/>
253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
47
                    </group>
1657.3.1 by Olivier DOSSMANN
UTP-219 [FIX] Do not display "Reversal" button from Accounting Corrections Wizard for lines that comes from a register line
48
                    <field name="from_register" invisible="1"/>
253.3.3 by Olivier DOSSMANN
UF-338 [IMP] Accounting correction improvement
49
                    <field name="state" invisible="1"/>
253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
50
                </form>
51
            </field>
52
        </record>
53
253.3.67 by Olivier DOSSMANN
UF-338 [ADD] && UF-359 [FIX] Add analytic distribution correction wizard
54
    <!-- Analytic Distribution Wizard -->
363.11.42 by Olivier DOSSMANN
UF-558 [ADD] Adapt new analytic distribution wizard for corrections
55
        <record model="ir.ui.view" id="inherit_analytic_distribution_wizard">
56
            <field name="name">inherit.analytic.distribution.wizard</field>
57
            <field name="model">analytic.distribution.wizard</field>
58
            <field name="type">form</field>
59
            <field name='inherit_id' ref='analytic_distribution.analytic_distribution_wizard_view'/>
60
            <field name="arch" type="xml">
61
                <data>
613.3.44 by Olivier DOSSMANN
UF-818 [ADD] Change all analytic distribution amount display to positive amounts in analytic distribution wizard
62
                    <xpath expr="/form/field[@name='amount']" position="before">
363.11.42 by Olivier DOSSMANN
UF-558 [ADD] Adapt new analytic distribution wizard for corrections
63
                        <field name="date" context="context" 
64
                            attrs="{'invisible': [('state', '!=', 'correction')], 'required': [('state', '=', 'correction')]}"/>
65
                        <newline/>
66
                    </xpath>
1798.1.7 by Olivier DOSSMANN
UF-2164 [ADD] New link to the correction wizard from analytic journal items and:
67
                    <xpath expr="/form//field[@name='state']" position="before">
68
                        <group colspan="4" attrs="{'invisible': [('state', '!=', 'correction')]}">
69
                            <label string="" colspan="2"/>
70
                            <button name="button_cancel" string='Cancel' type='object' icon='gtk-cancel' colspan="1"/>
71
                            <button name="button_confirm" string="Correct it" type="object" icon="gtk-edit" colspan="1" attrs="{'readonly': [('is_writable', '=', False)]}"/>
72
                        </group>
253.3.67 by Olivier DOSSMANN
UF-338 [ADD] && UF-359 [FIX] Add analytic distribution correction wizard
73
                    </xpath>
74
                </data>
75
            </field>
76
        </record>
77
253.3.2 by Olivier DOSSMANN
UF-338 [ADD] Accounting correction wizard from a journal item
78
    </data>
79
</openerp>