invoice line unit price

Bug #938728 reported by Fabrice Actergal @ Taktik
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Publisher's Warranty Team

Bug Description

Create a new DB and install on it the "account" module.
Create a product and set its UOM to "tonne" and its cost price to 100.

Then create an supplier invoice. Add a line with the previously created product and set the UOM to "tonne".
The unit price of the line will not be correct.

It seems the product_id_change method does not take into account the uoms factor.
It also appears that product_id_change is called twice and influence its previous result.

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Fabrice Actergal,

It has been fixed into the lp:~openerp-dev/openobject-addons/6.0-opw-383843-skh branch, with

Revision ID: <email address hidden>
Revision Number:5090

This branch is under the review of Experts and will be merge soon into the lp:openobject-addons/6.0 branch,

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Victor Tabuenca (OpenERP) (vta-openerp) wrote :

Fix released:
Revision 8204
Revision ID: <email address hidden>

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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