}
def split_lot(self, cr, uid, ids, context=None):
- """ To split a lot
- @param self: The object pointer.
- @param cr: A database cursor
- @param uid: ID of the user currently logged in
- @param ids: An ID or list of IDs if we want more than one
- @param context: A standard dictionary
- @return:
- """
+ """ To split a lot"""
if context is None:
context = {}
- self.split(cr, uid, ids, context.get('active_ids'), context=context)
+ res = self.split(cr, uid, ids, context.get('active_ids'), context=context)
return {'type': 'ir.actions.act_window_close'}
def split(self, cr, uid, ids, move_ids, context=None):