← Back to team overview

openerp-india team mailing list archive

[Bug 938728] [NEW] invoice line unit price

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/938728

Title:
  invoice line unit price

Status in OpenERP Addons (modules):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/938728/+subscriptions


Follow ups

References