← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693084] Re: purchase_discount wrong value invoice field price_unit

 

Hello DG,

Would you please elaborate more with this specified fields
(price_unit_base, discount and price_unit_real),Because in stable or
trunk purchase modules I am not able to find out it.


Thanks.

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/693084

Title:
  purchase_discount wrong value invoice field price_unit

Status in OpenObject Addons Modules:
  Incomplete

Bug description:
  Hi:

I'm in version 5.0.15. 
In the purchase order line there are three fields: price_unit_base, discount and price_unit_real. It works fine. 
Now, when the invoice is generated the field price_unit has the value of purchase-order-line.price_unit_real, it is wrong. In consecuence the field Price with discount is wrong too because it has the value of price_unit * discount. (value with discount applied again). 

The right value of invoice-line.price-unit is purchase-order-line.price-unit-base. 

Can Fix it? 

Best regards

DG





References