~account-core-editors/account-invoicing/6.1-git

« back to all changes in this revision

Viewing changes to account_invoice_merge/wizard/invoice_merge_view.xml

  • Committer: Joel Grand-Guillaume
  • Author(s): Leonardo Pistone
  • Date: 2014-01-17 13:33:36 UTC
  • mfrom: (15.1.1)
  • Revision ID: git-v1:7529d1e41d62b02533da7508491462fb563f7082
[MRG][ADD] backport module account_invoice_merge

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
        <record id="view_invoice_merge" model="ir.ui.view">
 
5
            <field name="name">Merger Partner Invoice</field>
 
6
            <field name="model">invoice.merge</field>
 
7
            <field name="type">form</field>
 
8
            <field name="arch" type="xml">
 
9
               <form string="Merge Partner Invoice">
 
10
                    <separator string="Are you sure you want to merge these invoices ?" colspan="4"/>
 
11
                       <newline/>
 
12
                    <label string="
 
13
Please note that: &#10; &#10;
 
14
Invoices will only be merged if: &#10;
 
15
* Invoices are in draft &#10;
 
16
* Invoices belong to the same partner &#10;
 
17
* Invoices are have same company, partner, address, currency, journal, salesman, account, type &#10; &#10;
 
18
Lines will only be merged if: &#10;
 
19
* Invoice lines are exactly the same except for the product,quantity and unit &#10;
 
20
" colspan="4"/>
 
21
                    <newline/>
 
22
                    <separator string="" colspan="4" />
 
23
                    <button special="cancel" string="Cancel" icon="gtk-cancel"/>
 
24
                    <button name="merge_invoices" string="Merge Invoices" type="object" icon="gtk-convert"/>
 
25
                </form>
 
26
            </field>
 
27
        </record>
 
28
 
 
29
        <act_window name="Merge Partner Invoice"
 
30
            res_model="invoice.merge"
 
31
            src_model="account.invoice"
 
32
            view_mode="form"
 
33
            target="new"
 
34
            multi="True"
 
35
            key2="client_action_multi"
 
36
            groups="account.group_account_invoice"
 
37
            id="action_view_invoice_merge"/>
 
38
 
 
39
    </data>
 
40
</openerp>
 
41