Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009676Openbravo ERP02. Master data managementpublic2009-06-27 14:402009-08-22 00:00
walle 
harikrishnan 
urgentmajoralways
closedfixed 
20Ubuntu
2.50MP1 
pi 
Core
No
0009676: Price adjustment calculated twice in purchase invoice
Hi
When you have a purchase orderline with a price adjustment, you make the goods entry and create the invoice from the goods entry document, the priceadjustment is calculated twice
create price adjustment
10 % discount on a product
create purchase order, the adjustment will be applied, for example
Price 12.78 --> listprice 14.2
create goods entry with pending goods entry mask
go to the goods entry document and push create invoice from goods entry
a new invoice is created, there are importet the purchase order line with
price 12.78, and the line has another price adjustment, so the new price is 11.50
remove the price adjustment logic when lines are imported from a purchase oder.
BR, Walter
No tags attached.
jpg Check the line net amount.JPG (80,444) 2009-08-20 14:21
https://issues.openbravo.com/file_download.php?file_id=1670&type=bug
jpg
Issue History
2009-06-27 14:40walleNew Issue
2009-06-27 14:40walleAssigned To => rafaroda
2009-06-30 21:04psarobePrioritynormal => urgent
2009-06-30 21:04psarobeStatusnew => scheduled
2009-08-19 15:00harikrishnanAssigned Torafaroda => harikrishnan
2009-08-19 16:46hgbotCheckin
2009-08-19 16:46hgbotNote Added: 0019065
2009-08-19 16:46hgbotStatusscheduled => resolved
2009-08-19 16:46hgbotResolutionopen => fixed
2009-08-19 16:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d01bebfdc5a6dfbdd70cdfb9628afb48a06a8656 [^]
2009-08-20 13:23sureshbabuStatusresolved => closed
2009-08-20 13:23sureshbabuNote Added: 0019098
2009-08-20 13:23sureshbabuFixed in Version => pi
2009-08-20 14:07sureshbabuStatusclosed => new
2009-08-20 14:07sureshbabuResolutionfixed => open
2009-08-20 14:07sureshbabuNote Added: 0019108
2009-08-20 14:07sureshbabuFixed in Versionpi =>
2009-08-20 14:21sureshbabuFile Added: Check the line net amount.JPG
2009-08-20 15:01hgbotCheckin
2009-08-20 15:01hgbotNote Added: 0019115
2009-08-20 15:01hgbotStatusnew => resolved
2009-08-20 15:01hgbotResolutionopen => fixed
2009-08-20 15:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/d01bebfdc5a6dfbdd70cdfb9628afb48a06a8656 [^] => http://code.openbravo.com/erp/devel/pi/rev/aa18feecfefe7ef80c6b01ee013a06443425aea6 [^]
2009-08-21 06:15sureshbabuStatusresolved => closed
2009-08-21 06:15sureshbabuNote Added: 0019160
2009-08-21 06:15sureshbabuFixed in Version => pi
2009-08-22 00:00anonymoussf_bug_id0 => 2842266

Notes
(0019065)
hgbot   
2009-08-19 16:46   
Repository: erp/devel/pi
Changeset: d01bebfdc5a6dfbdd70cdfb9628afb48a06a8656
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Aug 19 20:15:53 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d01bebfdc5a6dfbdd70cdfb9628afb48a06a8656 [^]

Fixes Issue 9676: Price adjustment calculated twice in purchase invoice

---
M src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml
---
(0019098)
sureshbabu   
2009-08-20 13:23   
Tested working fine
(0019108)
sureshbabu   
2009-08-20 14:07   
Price adjustment is applied rightly but when you check the Line net amount price adjustments applied twice..
(0019115)
hgbot   
2009-08-20 15:01   
Repository: erp/devel/pi
Changeset: aa18feecfefe7ef80c6b01ee013a06443425aea6
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Aug 20 18:30:26 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/aa18feecfefe7ef80c6b01ee013a06443425aea6 [^]

Fixes Issue 9676: Price adjustment calculated twice in purchase invoice

---
M src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml
---
(0019160)
sureshbabu   
2009-08-21 06:15   
Tested working fine