c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #32681
[Bug 855464] Re: [Trunk]: Product: Supplier Information is generated randomly on the product form
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/855464
Title:
[Trunk]: Product: Supplier Information is generated randomly on the
product form
Status in OpenERP Addons (modules):
In Progress
Bug description:
How to Reproduce:
- Customize product form view to show seller related info,
- create multi supplier with same sequence,
- refresh product form recursively, you can show a diffrent supplier info generate every time.
For more reference i attached video.
I cheked the problem in _calc_seller function It is sorted partner list with sequence, if you remove this sorted function its working fine
partner_list = sorted([(partner_id.sequence, partner_id)
for partner_id in product.seller_ids
if partner_id and isinstance(partner_id.sequence, (int, long))])
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/855464/+subscriptions
References