[Trunk, 6.1]Partial picking changes UoS quantity without converting to UoS

Bug #938787 reported by Numérigraphe
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 2

Bug Description

move.do_partial() and picking.do_partial() introduce wrong UoS quantities when splitting moves, because they do not take the UoS conversion into account.

For example :
self.write(cr, uid, [move.id],
                    {
                        'product_qty' : move.product_qty - product_qty,
                        'product_uos_qty':move.product_qty - product_qty,
                    })
That writes the same quantity in both fields but the UoS may be different from the UoM, and require conversion.

Ideally, the split wizard should ask for both the UoM quantities and the UoS quantities.

Lionel Sausin

Related branches

tags: added: partal-deliveries
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello,

I have tested your scenario, I have faced the same problem. So I have attached the video for reproduce this Issue. would you please check it.

Thanks for reporting!

Changed in openobject-addons:
status: New → Confirmed
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote :

I did not check directly the code so I don't know if you are speaking about 6.0 or 6.1.
Just comment that I tried on 6.1 and it's happening there.
Thank you:

Ana

Amit Parik (amit-parik)
summary: - Partial picking changes UoS quantity without converting to UoS
+ [Trunk, 6.1]Partial picking changes UoS quantity without converting to
+ UoS
Amit Parik (amit-parik)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Lionel,

Thanks for the reporting!

This issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-938787-amp with following revision no and id.
rev no : 6678
rev id : 6678 <email address hidden>

Thank you!

Changed in openobject-addons:
status: In Progress → Fix Committed
tags: added: maintenance
removed: partal-deliveries
tags: added: partal-deliveries
tags: added: partial-deliveries
removed: partal-deliveries
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.