[Trunk]: Product: Supplier Information is generated randomly on the product form

Bug #855464 reported by Rohan Nayani(Open ERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

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

Related branches

Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :

It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-855464-ron
revision-id:<email address hidden>
Revision num: 5116.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.