invoice line unit price
Bug #938728 reported by
Fabrice Actergal @ Taktik
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.
Related branches
lp:~openerp-dev/openobject-addons/6.0-opw-383843-skh
Rejected
for merging
into
lp:openobject-addons/6.0
- Olivier Dony (Odoo): Disapprove
- Naresh(OpenERP): Pending requested
-
Diff: 16 lines (+4/-2)1 file modifiedaccount/invoice.py (+4/-2)
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 |
To post a comment you must log in.
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.