← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hi DBR:

In the attachment you find the fields of the line of the purchase order.
Precio Unitario Base means Price-unit-base, Descuento means discount and
Precio Unitario Real means Price-unit-real.


** Attachment added: "fields of purchase-order-line"
   https://bugs.launchpad.net/openobject-addons/+bug/693084/+attachment/1773615/+files/purch-order-line.png

-- 
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