Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002640Openbravo ERP07. Sales managementpublic2008-02-22 11:452008-07-09 10:29
cromero 
cromero 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0002640: Not correct order calculating price in Get_Purchase_Price
At this moment, the order in which the price is calculated in the Get_Purchase_Price function is:

* First of all, looks in the last Order
* Secondly, in the last Invoice
* Then, in the Pricelist
* Finally, in the M_PRODUCT_PO table

The right order will be:
* First of all, looks in the last Invoice
* Secondly, in the last Order
* Then, in the Pricelist (as it is now)
* Finally, in the M_PRODUCT_PO table (as it is now)



No tags attached.
depends on backport 0003639 closed cromero Not correct order calculating price in Get_Purch 
Issue History
2008-07-09 10:29psarobeStatusresolved => closed
2008-07-09 10:29psarobeFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0006229)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1899503 [^]