Merge lp:~scigghia/ooaz/6.1 into lp:ooaz

Proposed by Andrea Cometa
Status: Merged
Merged at revision: 5
Proposed branch: lp:~scigghia/ooaz/6.1
Merge into: lp:ooaz
Diff against target: 116 lines (+94/-2)
2 files modified
account_invoice_merge/i18n/it.po (+92/-0)
account_invoice_merge/invoice.py (+2/-2)
To merge this branch: bzr merge lp:~scigghia/ooaz/6.1
Reviewer Review Type Date Requested Status
mikel Approve
Review via email: mp+154039@code.launchpad.net
To post a comment you must log in.
Revision history for this message
mikel (mikel-martin) wrote :

Thanks a lot Andrea!

review: Approve
Revision history for this message
Andrea Cometa (scigghia) wrote :

:)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'account_invoice_merge/i18n/it.po'
2--- account_invoice_merge/i18n/it.po 1970-01-01 00:00:00 +0000
3+++ account_invoice_merge/i18n/it.po 2013-03-19 10:53:20 +0000
4@@ -0,0 +1,92 @@
5+# Translation of OpenERP Server.
6+# This file contains the translation of the following modules:
7+# * account_invoice_merge
8+#
9+msgid ""
10+msgstr ""
11+"Project-Id-Version: OpenERP Server 6.1\n"
12+"Report-Msgid-Bugs-To: \n"
13+"POT-Creation-Date: 2012-12-04 08:52+0000\n"
14+"PO-Revision-Date: 2012-12-04 08:52+0000\n"
15+"Last-Translator: <>\n"
16+"Language-Team: \n"
17+"MIME-Version: 1.0\n"
18+"Content-Type: text/plain; charset=UTF-8\n"
19+"Content-Transfer-Encoding: \n"
20+"Plural-Forms: \n"
21+
22+#. module: account_invoice_merge
23+#: view:invoice.merge:0
24+msgid "_Merge invoces"
25+msgstr "_Raggruppa Fatture"
26+
27+#. module: account_invoice_merge
28+#: code:addons/account_invoice_merge/invoice.py:44
29+#, python-format
30+msgid "You can merge only invoices in draft state."
31+msgstr "Si possono raggruppare solo le fatture in stato di bozza."
32+
33+#. module: account_invoice_merge
34+#: sql_constraint:account.invoice:0
35+msgid "Invoice Number must be unique per Company!"
36+msgstr "Il numero della fattura deve essere unico per Azienda!"
37+
38+#. module: account_invoice_merge
39+#: view:invoice.merge:0
40+msgid "Facturas"
41+msgstr "Fatture"
42+
43+#. module: account_invoice_merge
44+#: view:invoice.merge:0
45+msgid "_Cancel"
46+msgstr "_Annulla"
47+
48+#. module: account_invoice_merge
49+#: field:invoice.merge,invoices:0
50+msgid "Invoices"
51+msgstr "Fatture"
52+
53+#. module: account_invoice_merge
54+#: model:ir.model,name:account_invoice_merge.model_account_invoice_line
55+msgid "Invoice Line"
56+msgstr "Righe Fattura"
57+
58+#. module: account_invoice_merge
59+#: code:addons/account_invoice_merge/invoice.py:41
60+#, python-format
61+msgid "Can not merge invoice(s) on different partners or states !."
62+msgstr "Non รจ possibile raggruppare fatture di differenti partner o stati !."
63+
64+#. module: account_invoice_merge
65+#: code:addons/account_invoice_merge/invoice.py:41
66+#, python-format
67+msgid "Partners don't match!"
68+msgstr "I partner non sono uguali!"
69+
70+#. module: account_invoice_merge
71+#: model:ir.actions.act_window,name:account_invoice_merge.action_invoice_merge
72+#: model:ir.actions.act_window,name:account_invoice_merge.product_margin_act_window
73+msgid "Merge invoices"
74+msgstr "Raggruppa fatture"
75+
76+#. module: account_invoice_merge
77+#: view:invoice.merge:0
78+msgid "Search Invoices"
79+msgstr "Cerca fatture"
80+
81+#. module: account_invoice_merge
82+#: model:ir.model,name:account_invoice_merge.model_account_invoice
83+msgid "Invoice"
84+msgstr "Fattura"
85+
86+#. module: account_invoice_merge
87+#: code:addons/account_invoice_merge/invoice.py:44
88+#, python-format
89+msgid "Invalid action !"
90+msgstr "Azione non valida !"
91+
92+#. module: account_invoice_merge
93+#: model:ir.model,name:account_invoice_merge.model_invoice_merge
94+msgid "Use this wizard to merge draft invoices from the same partner"
95+msgstr "Usa questa funzione per raggruppare bozze fattura dello stesso partner"
96+
97
98=== modified file 'account_invoice_merge/invoice.py'
99--- account_invoice_merge/invoice.py 2012-08-19 18:26:36 +0000
100+++ account_invoice_merge/invoice.py 2013-03-19 10:53:20 +0000
101@@ -64,7 +64,7 @@
102 mrg_pdt_ids = inv_line_obj.search(cr, uid, [('invoice_id','=',parent.id),('product_id','=',inv_lin.product_id.id)])
103 if len(mrg_pdt_ids) == 1 and inv.type == parent.type: # product found --> add quantity
104 inv_line_obj.write(cr, uid, mrg_pdt_ids, {'quantity': inv_line_obj._can_merge_quantity(cr, uid, mrg_pdt_ids[0], inv_lin.id)})
105- inv_line_obj.unlink(cr, uid, inv_lin.id)
106+ inv_line_obj.unlink(cr, uid, [inv_lin.id])
107 elif inv.type == parent.type:
108 inv_line_obj.write(cr, uid, inv_lin.id, {'invoice_id': parent.id})
109 else:
110@@ -97,4 +97,4 @@
111
112 account_invoice_line()
113
114-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
115\ No newline at end of file
116+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

Subscribers

People subscribed via source and target branches

to all changes: