Review: Needs Fixing
Hi
I see some issues:
1) wrehouse_obj = self.pool.get('stock.warehouse') <- missing "a" on
warehouse_obj
2) company_id = self.browse(cr, uid, ids[0]).repair_id.company_id.id <- missing
context=context in the browse
3) wrehouse_obj.browse(cr, uid, company_id).lot_input_id.id <- missing
context=context, and adjust the variable name in 1)
4) product_id = self.pool.get('stock.location').search(cr, uid,
[('usage','=','production')])[0] <- missing company_id on search, possible
issue with multi-company
Regards,
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-831543-aag/+merge/72686
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-831543-aag.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp