Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020253Openbravo ERP07. Sales managementpublic2012-04-12 13:182012-05-31 21:37
jecharri 
ioritzCia 
highminoralways
closedfixed 
5
pi 
3.0MP123.0MP12 
Google Chrome
Core
No
0020253: Total Gross Amount is not updated correctly
Total Gross Amount is not updated correctly if you insert manual taxes.
As "Group Admin" go to window "Sales Invoice":
-Create a header for BP "Moon Light Restaurants, Co."
-Go to lines and create one:
  +product Apple Juice
  +"Net Unit Price"=10
  +"Tax" = "Ventas Exentas"
-Save it.
-See that "Total Gross Amount" value is 10.
-Now go to tab Tax and enter one manually.You can choose any tax and any amount higher than 0. See that "Total Gross Amount" value is not updated
No tags attached.
Issue History
2012-04-12 13:18jecharriNew Issue
2012-04-12 13:18jecharriAssigned To => vmromanos
2012-04-12 13:18jecharriWeb browser => Google Chrome
2012-04-12 13:18jecharriModules => Core
2012-04-12 13:18jecharriResolution time => 1341439200
2012-04-12 18:18vmromanosAssigned Tovmromanos => jonalegriaesarte
2012-05-02 10:54jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-05-08 18:29hgbotCheckin
2012-05-08 18:29hgbotNote Added: 0048471
2012-05-08 18:29hgbotStatusnew => resolved
2012-05-08 18:29hgbotResolutionopen => fixed
2012-05-08 18:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/95209e7e8c53886ce78d4def14d6303b4b23997f [^]
2012-05-25 12:10hudsonbotCheckin
2012-05-25 12:10hudsonbotNote Added: 0049060
2012-05-25 13:48ioritzCiaNote Added: 0049214
2012-05-25 13:48ioritzCiaStatusresolved => new
2012-05-25 13:48ioritzCiaResolutionfixed => open
2012-05-28 17:15ioritzCiaStatusnew => scheduled
2012-05-28 17:15ioritzCiafix_in_branch => pi
2012-05-30 09:17hgbotCheckin
2012-05-30 09:17hgbotNote Added: 0049456
2012-05-30 09:17hgbotStatusscheduled => resolved
2012-05-30 09:17hgbotResolutionopen => fixed
2012-05-30 09:17hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/95209e7e8c53886ce78d4def14d6303b4b23997f [^] => http://code.openbravo.com/erp/devel/pi/rev/ec4c6d3b7bdea1d207cfd66624b843e6dfdc39d9 [^]
2012-05-30 10:04ioritzCiaNote Added: 0049461
2012-05-31 11:43jecharriNote Added: 0049528
2012-05-31 11:43jecharriStatusresolved => closed
2012-05-31 11:43jecharriFixed in Version => 3.0MP12
2012-05-31 21:37hudsonbotCheckin
2012-05-31 21:37hudsonbotNote Added: 0049557

Notes
(0048471)
hgbot   
2012-05-08 18:29   
Repository: erp/devel/pi
Changeset: 95209e7e8c53886ce78d4def14d6303b4b23997f
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon May 07 11:35:39 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/95209e7e8c53886ce78d4def14d6303b4b23997f [^]

Fixes issue 20253: Total Gross Amount is not updated correctly.

---
M src-db/database/model/triggers/C_INVOICETAX_TRG2.xml
---
(0049060)
hudsonbot   
2012-05-25 12:10   
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/5401e185a8b0 [^]

Maturity status: Test
(0049214)
ioritzCia   
2012-05-25 13:48   
Backed out in changeset 36d2a9f0cdc0.
(0049456)
hgbot   
2012-05-30 09:17   
Repository: erp/devel/pi
Changeset: ec4c6d3b7bdea1d207cfd66624b843e6dfdc39d9
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue May 29 09:52:54 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ec4c6d3b7bdea1d207cfd66624b843e6dfdc39d9 [^]

Fixes issue 20253: Total Gross Amount is not updated correctly.

---
M src-db/database/model/triggers/C_INVOICETAX_TRG2.xml
---
(0049461)
ioritzCia   
2012-05-30 10:04   
Testing Plan:

- Prove everything either in sales invoice as in purchase invoice.
- When creating the invoice insert lines and manual tax lines (in tax tab) and try with more than one of each one.
- Try inserting, updating and deleting them. The solution has been developed in a trigger so, all these should be tested. Test them in any order.
- Try to complete it and reactivating it and see that the total gross amount does not change.
- Try inserting, updating and deleting before and after reactivating it and see that the total gross amount is calculated correctly.
- Try these steps with spanish professional localization pack installed and without it.
- Try every other thing you think it may cause an error.
(0049528)
jecharri   
2012-05-31 11:43   
verified
(0049557)
hudsonbot   
2012-05-31 21:37   
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/3ac036c08ee6 [^]

Maturity status: Test