Merge lp:~openerp-dev/openobject-addons/7.0-opw-596801-chandni into lp:openobject-addons/7.0

Proposed by Chandni Machchhar(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-596801-chandni
Merge into: lp:openobject-addons/7.0
Diff against target: 17 lines (+2/-2)
1 file modified
point_of_sale/point_of_sale.py (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-596801-chandni
Reviewer Review Type Date Requested Status
Vinay Rana (OpenERP) Pending
Naresh(OpenERP) Pending
Review via email: mp+184108@code.launchpad.net

Description of the change

Hello,

I have fixed the product quantity and UOS, which displayed wrong in stock.picking.out.

Problem :

After validating POS, the delivery order created and in line (stock.moves) the UOS and product quantity displayed is wrong.

Thanks,
Chandni.

To post a comment you must log in.

Unmerged revisions

9415. By Chandni Machchhar(OpenERP)

[FIX] POS : Wrong Product quantity and UOS displayed in stock.picking.out.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'point_of_sale/point_of_sale.py'
2--- point_of_sale/point_of_sale.py 2013-09-04 14:06:28 +0000
3+++ point_of_sale/point_of_sale.py 2013-09-05 13:43:19 +0000
4@@ -709,11 +709,11 @@
5 move_obj.create(cr, uid, {
6 'name': line.name,
7 'product_uom': line.product_id.uom_id.id,
8- 'product_uos': line.product_id.uom_id.id,
9+ 'product_uos': line.product_id.uos_id.id,
10 'picking_id': picking_id,
11 'product_id': line.product_id.id,
12 'product_uos_qty': abs(line.qty),
13- 'product_qty': abs(line.qty),
14+ 'product_qty': line.qty * (line.product_id.uos_id and line.product_id.uos_coeff or 1),
15 'tracking_id': False,
16 'state': 'draft',
17 'location_id': location_id,