[Fix] event :buildbot warning
bzr revid: sbh@tinyerp.com-20101111065242-94bdtlh6k90nh342
This commit is contained in:
parent
03cc5d99c9
commit
afad751848
|
@ -48,7 +48,6 @@ class event_confirm_registration(osv.osv_memory):
|
|||
msg = ""
|
||||
overlimit_event_ids = []
|
||||
for registration in registration_pool.browse(cr, uid, registration_ids, context=context):
|
||||
total_confirmed = registration.event_id.register_current
|
||||
register_max = registration.event_id.register_max
|
||||
if registration.event_id.id not in overlimit_event_ids:
|
||||
overlimit_event_ids.append(registration.event_id.id)
|
||||
|
|
|
@ -68,7 +68,6 @@ class event_make_invoice(osv.osv_memory):
|
|||
def make_invoice(self, cr, uid, ids, context=None):
|
||||
reg_obj = self.pool.get('event.registration')
|
||||
mod_obj = self.pool.get('ir.model.data')
|
||||
newinv = []
|
||||
if context is None:
|
||||
context = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue