~tempo-openerp/+junk/loewert-prod

« back to all changes in this revision

Viewing changes to addons/account/wizard/account_reconcile_view.xml

  • Committer: jbe at tempo-consulting
  • Date: 2013-08-21 08:48:11 UTC
  • Revision ID: jbe@tempo-consulting.fr-20130821084811-913uo4l7b5ayxq8m
[NEW] Création de la branche trunk Loewert

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
        <record id="view_account_move_line_reconcile_full" model="ir.ui.view">
 
6
            <field name="name">account.move.line.reconcile.full.form</field>
 
7
            <field name="model">account.move.line.reconcile</field>
 
8
            <field name="arch" type="xml">
 
9
                <form string="Reconciliation" version="7.0">
 
10
                    <group col="4" string="Reconciliation Transactions">
 
11
                        <field name="trans_nbr"/>
 
12
                        <newline/>
 
13
                        <field name="credit"/>
 
14
                        <field name="debit"/>
 
15
                    </group><group string="Write-Off">
 
16
                        <field name="writeoff"/>
 
17
                    </group>
 
18
                    <footer>
 
19
                        <button string="Reconcile" name="trans_rec_reconcile_full" type="object" default_focus="1" attrs="{'invisible':[('writeoff','!=',0)]}" class="oe_highlight"/>
 
20
                        <button string="Reconcile With Write-Off" name="trans_rec_addendum_writeoff" type="object" attrs="{'invisible':[('writeoff','==',0)]}" class="oe_highlight"/>
 
21
                        <button string="Partial Reconcile" name="trans_rec_reconcile_partial_reconcile" type="object" attrs="{'invisible':[('writeoff','==',0)]}" class="oe_highlight"/>
 
22
                        or
 
23
                        <button string="Cancel" class="oe_link" special="cancel"/>
 
24
                    </footer>
 
25
               </form>
 
26
            </field>
 
27
        </record>
 
28
 
 
29
        <record id="action_view_account_move_line_reconcile" model="ir.actions.act_window">
 
30
            <field name="name">Reconcile Entries</field>
 
31
            <field name="res_model">account.move.line.reconcile</field>
 
32
            <field name="view_type">form</field>
 
33
            <field name="view_mode">tree,form</field>
 
34
            <field name="view_id" ref="view_account_move_line_reconcile_full"/>
 
35
            <field name="target">new</field>
 
36
        </record>
 
37
 
 
38
        <record model="ir.values" id="action_account_move_line_reconcile_prompt_values">
 
39
            <field name="model_id" ref="account.model_account_move_line" />
 
40
            <field name="name">Reconcile Entries</field>
 
41
            <field name="key2">client_action_multi</field>
 
42
            <field name="value" eval="'ir.actions.act_window,' +str(ref('action_view_account_move_line_reconcile'))" />
 
43
            <field name="key">action</field>
 
44
            <field name="model">account.move.line</field>
 
45
        </record>
 
46
 
 
47
        <record id="account_move_line_reconcile_writeoff" model="ir.ui.view">
 
48
            <field name="name">account.move.line.reconcile.writeoff.form</field>
 
49
            <field name="model">account.move.line.reconcile.writeoff</field>
 
50
            <field name="arch" type="xml">
 
51
                <form string="Information addendum" version="7.0">
 
52
                    <header>
 
53
                        <button string="Reconcile" name="trans_rec_reconcile" type="object" default_focus="1" class="oe_highlight"/>
 
54
                        or
 
55
                        <button string="Cancel" class="oe_link" special="cancel"/>
 
56
                    </header>
 
57
                    <group string="Write-Off Move" col="4">
 
58
                        <field name="journal_id"/>
 
59
                        <field name="writeoff_acc_id" domain="[('type', '&lt;&gt;', 'view')]"/>
 
60
                        <field name="date_p"/>
 
61
                        <field name="comment"/>
 
62
                        <field name="analytic_id" groups="analytic.group_analytic_accounting"/>
 
63
                    </group>
 
64
               </form>
 
65
            </field>
 
66
        </record>
 
67
    </data>
 
68
</openerp>