May I please ask Albert to handle this?
Thanks always.
** Changed in: openobject-addons
Status: New => Won't Fix
** Changed in: openobject-addons
Assignee: (unassigned) => Albert Cervera i Areny - http://www.NaN-tic.com
(albert-nan)
--
[5.0][nan_product_pack] Cannot fill an inventory
https://bugs.launchpad.net/bugs/626883
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Won't Fix
Bug description:
Hi,
If nan_product_pack is installed, when you want to to fill an inventory with
the wizard, it calls to get_product_available() function, in this module this
function is extended but his first behavior is different that base function,
this wizard passes to function the parameter ids sets to False, then "for
product in self.browse(cr,uid,ids,context=context):" in your function raises an
exception.
If you see the base function in first lines it adds:
if not ids:
ids = self.search(cr, uid, [])
res = {}.fromkeys(ids, 0.0)
if not ids:
return res
These lines avoid this error and the lines make the expected behavior for this
wizard, return the qty of all products in the specified location.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp