~tempo-openerp/+junk/loewert-report-name

« back to all changes in this revision

Viewing changes to addons/account/wizard/account_invoice_state_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
<openerp>
 
2
    <data>
 
3
 
 
4
        <record id="account_invoice_confirm_view" model="ir.ui.view">
 
5
            <field name="name">account.invoice.confirm.form</field>
 
6
            <field name="model">account.invoice.confirm</field>
 
7
            <field name="arch" type="xml">
 
8
                <form string="Confirm Draft Invoices" version="7.0">
 
9
                    <p class="oe_grey">
 
10
                        Once draft invoices are confirmed, you will not be able
 
11
                        to modify them. The invoices will receive a unique
 
12
                        number and journal items will be created in your chart
 
13
                        of accounts.
 
14
                    </p>
 
15
                    <footer>
 
16
                        <button string="Confirm Invoices" name="invoice_confirm" type="object" default_focus="1" class="oe_highlight"/>
 
17
                        or
 
18
                        <button string="Cancel" class="oe_link" special="cancel"/>
 
19
                    </footer>
 
20
                </form>
 
21
            </field>
 
22
        </record>
 
23
 
 
24
        <act_window id="action_account_invoice_confirm"
 
25
            multi="True"
 
26
            key2="client_action_multi" name="Confirm Draft Invoices"
 
27
            res_model="account.invoice.confirm" src_model="account.invoice"
 
28
            view_mode="form" target="new" view_type="form" />
 
29
 
 
30
        <record id="account_invoice_cancel_view" model="ir.ui.view">
 
31
            <field name="name">account.invoice.cancel.form</field>
 
32
            <field name="model">account.invoice.cancel</field>
 
33
            <field name="arch" type="xml">
 
34
                <form string="Cancel Selected Invoices" version="7.0">
 
35
                    <footer>
 
36
                        <button string="Cancel Invoices" name="invoice_cancel" type="object" default_focus="1" class="oe_highlight"/>
 
37
                        or
 
38
                        <button string="Cancel" class="oe_link" special="cancel"/>
 
39
                    </footer>
 
40
                </form>
 
41
            </field>
 
42
        </record>
 
43
 
 
44
        <record id="action_account_invoice_cancel" model="ir.actions.act_window">
 
45
            <field name="name">Cancel Selected Invoices</field>
 
46
            <field name="res_model">account.invoice.cancel</field>
 
47
            <field name="view_type">form</field>
 
48
            <field name="view_mode">form</field>
 
49
            <field name="view_id" ref="account_invoice_cancel_view"/>
 
50
            <field name="target">new</field>
 
51
        </record>
 
52
 
 
53
    </data>
 
54
</openerp>