projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac17ce9
)
[FIX] event: reset tax for each event to invoice
5.0
author
Najlaâ
<nel@tinyerp.com>
Tue, 15 May 2012 08:04:10 +0000
(10:04 +0200)
committer
Najlaâ
<nel@tinyerp.com>
Tue, 15 May 2012 08:04:10 +0000
(10:04 +0200)
bzr revid: nel@tinyerp.com-
20120515080410
-pf2o5rk7bciohs9w
addons/event/wizard/make_invoice.py
patch
|
blob
|
history
diff --git
a/addons/event/wizard/make_invoice.py
b/addons/event/wizard/make_invoice.py
index
ac8b2d6
..
77bf802
100644
(file)
--- a/
addons/event/wizard/make_invoice.py
+++ b/
addons/event/wizard/make_invoice.py
@@
-45,7
+45,6
@@
def _makeInvoices(self, cr, uid, data, context):
invoices = {}
invoice_ids = []
create_ids=[]
- tax_ids=[]
pool_obj=pooler.get_pool(cr.dbname)
inv_create = 0
@@
-57,6
+56,7
@@
def _makeInvoices(self, cr, uid, data, context):
obj_lines=pool_obj.get('account.invoice.line')
for reg in data_event_reg:
+ tax_ids=[]
if reg.state=='draft':
inv_reject = inv_reject + 1
inv_rej_reason += "ID "+str(reg.id)+": Invoice cannot be created if the registration is in draft state. \n"