473
473
if isinstance(ids, (int, long)):
475
475
obj_data = self.pool.get('ir.model.data')
476
product_tbd = obj_data.get_object_reference(cr, uid, 'msf_supply_doc_import', 'product_tbd')[1]
477
uom_tbd = obj_data.get_object_reference(cr, uid, 'msf_supply_doc_import', 'uom_tbd')[1]
476
product_tbd = obj_data.get_object_reference(cr, uid, 'msf_doc_import', 'product_tbd')[1]
477
uom_tbd = obj_data.get_object_reference(cr, uid, 'msf_doc_import', 'uom_tbd')[1]
479
479
for var in self.browse(cr, uid, ids, context=context):
480
480
# we check the lines that need to be fixed