1
<?xml version="1.0" encoding="utf-8"?>
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"/>
13
Please note that:
14
Invoices will only be merged if:
15
* Invoices are in draft
16
* Invoices belong to the same partner
17
* Invoices are have same company, partner, address, currency, journal, salesman, account, type
18
Lines will only be merged if:
19
* Invoice lines are exactly the same except for the product,quantity and unit
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"/>
29
<act_window name="Merge Partner Invoice"
30
res_model="invoice.merge"
31
src_model="account.invoice"
35
key2="client_action_multi"
36
groups="account.group_account_invoice"
37
id="action_view_invoice_merge"/>