[v7,v6]Stock accounting outgoing shipment rounding

Bug #1187924 reported by Kinner Vachhani
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 2

Bug Description

Problem Statement:
Cost Price of product expressed to 3 decimal places, e.g. 1.002

If you ship 10x such a product, you should see an account move for 10.02. However, there is a currency conversion going on which rounds the price to 2dp (1.00) before multiplying, so you get a move of 10.00 instead.

Steps to reproduce bug:
1. Create a sale order with qty 10 and unit price 1.5
2. Confirm sale order
3. Confirm picking
4. Navigate to Accounting -> Journal Entries -> Journal Entries
5. Check the account move created for above picking.

Related branches

Revision history for this message
Kinner Vachhani (kinner-vachhani) wrote :

Patch attached

Revision history for this message
Kinner Vachhani (kinner-vachhani) wrote :

patch for stock.py

Revision history for this message
Kinner Vachhani (kinner-vachhani) wrote :

All patches applied in related branch

Changed in openobject-addons:
status: New → Fix Committed
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Kinner,

I have checked this on v7 and faced same problem on v7.

Thanks for the fix for v6.

Thank you!

summary: - Stock accounting outgoing shipment rounding
+ [v7,v6]Stock accounting outgoing shipment rounding
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: Fix Committed → Confirmed
Changed in openobject-addons:
status: Confirmed → Fix Released
Changed in openobject-addons:
status: Fix Released → Confirmed
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.