Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022187Openbravo ERP07. Sales managementpublic2012-10-31 19:502012-11-06 10:47
dmiguelez 
dmiguelez 
immediatecriticalalways
closedfixed 
20Community Appliance
 
pi 
gorkaion
Core
Pre packaging ( pi )
2012-10-09
https://code.openbravo.com/erp/devel/pi/rev/6113c22ee84c [^]
No
0022187: Regression in Sales Invoice when using Price Including taxes
When updating the quantity of an Invoice Line using a Price List that has Price Includes Taxes checked, the Gross Amount of the Invoice header is not correctly updated.
Login as Openbravo/openbravo

Create a new Sales Invoice:
Organization: España - Región Norte
Business Partner: Hoteles Buenas Noches
Price List: Tarifa de Ventas (Make sure that it is checked as Price Includes Tax in Price List Window)

Create a new Line:
Product: Aguasin Gas.
Quantity: 1

Save.

In the Invoice Header check that Total Gross Amount is 1.53

Modify the Line: Quantity: 10 and save.

Realize that in the Invoice header the Total Gross Amount is 1.27 instead of 15.30
No tags attached.
Issue History
2012-10-31 19:50dmiguelezNew Issue
2012-10-31 19:50dmiguelezAssigned To => dmiguelez
2012-10-31 19:50dmiguelezModules => Core
2012-10-31 19:54dmiguelezRegression level => Pre packaging ( pi )
2012-10-31 19:54dmiguelezRegression date => 2012-10-09
2012-10-31 19:54dmiguelezRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/6113c22ee84c [^]
2012-10-31 20:13hgbotCheckin
2012-10-31 20:13hgbotNote Added: 0053961
2012-10-31 20:13hgbotStatusnew => resolved
2012-10-31 20:13hgbotResolutionopen => fixed
2012-10-31 20:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/84881ccb60f518184dba6d5bb78421332c035a73 [^]
2012-11-02 11:02miruritaReview Assigned To => gorkaion
2012-11-02 11:02miruritaNote Added: 0053975
2012-11-02 11:02miruritaStatusresolved => closed
2012-11-02 11:02miruritaFixed in Version => pi
2012-11-06 10:47hudsonbotCheckin
2012-11-06 10:47hudsonbotNote Added: 0054028

Notes
(0053961)
hgbot   
2012-10-31 20:13   
Repository: erp/devel/pi
Changeset: 84881ccb60f518184dba6d5bb78421332c035a73
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Oct 31 20:01:42 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/84881ccb60f518184dba6d5bb78421332c035a73 [^]

Fixes Issue 22187: Now executes code when Updating also.

---
M src-db/database/model/triggers/C_INVOICELINE_TRG2.xml
---
(0053975)
mirurita   
2012-11-02 11:02   
code review and functional testing done by gorkaion and david.
(0054028)
hudsonbot   
2012-11-06 10:47   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/905762a34c04 [^]

Maturity status: Test