[Fix] event :buildbot warning

bzr revid: sbh@tinyerp.com-20101111065242-94bdtlh6k90nh342
This commit is contained in:
sbh (Open ERP) 2010-11-11 12:22:42 +05:30
parent 03cc5d99c9
commit afad751848
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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 = {}