← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693084] [NEW] purchase_discount wrong value invoice field price_unit

 

Public bug reported:

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

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

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

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





Follow ups

References