35
35
def _default_get_location(self, cr, uid, context=None, field='location_id'):
39
38
active_id = context.get('active_id', False)
40
vals = session_pool.on_change_offer(cr, uid, None, active_id)
41
vals = self.pool.get('training.session').on_change_offer(cr, uid, None, active_id, context=context)
43
44
def _default_get_delivery_location(self, cr, uid, context=None):
44
45
return self._default_get_location(cr, uid, context=context, field='delivery_location_id')