Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037989 | Openbravo ERP | 07. Sales management | public | 2018-02-21 15:45 | 2018-03-02 21:18 |
|
Reporter | maite | |
Assigned To | markmm82 | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/86dcf5d294d9 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0037989: Tax tab info is not correctly recalculated when tax defined as "Line Net Amount + Tax Amount" is modified |
Description | When changing the tax in an already created sales invoice line Tax tab is not correctly recalculated (while Line Tax tab is) |
Steps To Reproduce | 1. Access "Tax rate" window and create:
* one record defined as "Summary level"
* another record with any rate, Base Amount =Line Net Amount and Parent tax rate= previous summary tax
* another record with any rate, Base Amount =Line Net Amount + Tax Amount, Base ax= previous one and Parent tax rate= previous summary tax
2. Create Sales Invoice record. Add line, set any product and Tax= summary tax
3. Realize that both "Tax line" tab and "Tax" tab has both children taxes
4. Access Sales Invoice line and change tax to set any other value
5. Access "Line tax" tab and realize that correct tax appears
6. However access "Tax" tab and realize that still one rate belonging to previous tax is there, which is wrong
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0038004 | 3.0PR18Q1.1 | closed | markmm82 | Tax tab info is not correctly recalculated when tax defined as "Line Net Amount + Tax Amount" is modified | depends on | backport | 0038005 | 3.0PR17Q4.2 | closed | markmm82 | Tax tab info is not correctly recalculated when tax defined as "Line Net Amount + Tax Amount" is modified | caused by | design defect | 0032265 | | closed | aferraz | [SER QA 1434] Taxes at document level are not properly calculated in some cases | related to | defect | 0038302 | | closed | collazoandy4 | Tax tab info is not correctly recalculated when negative child tax defined as "cascade" is modified |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-21 15:45 | maite | New Issue | |
2018-02-21 15:45 | maite | Assigned To | => Triage Finance |
2018-02-21 15:45 | maite | Modules | => Core |
2018-02-21 15:45 | maite | Resolution time | => 1520982000 |
2018-02-21 15:45 | maite | Triggers an Emergency Pack | => No |
2018-02-21 15:45 | maite | Issue Monitored: networkb | |
2018-02-21 16:30 | achaves | Issue Monitored: achaves | |
2018-02-21 17:56 | jfrances | Issue Monitored: jfrances | |
2018-02-22 11:19 | maite | Priority | urgent => immediate |
2018-02-22 12:39 | dmiguelez | Assigned To | Triage Finance => markmm82 |
2018-02-22 15:26 | markmm82 | Status | new => acknowledged |
2018-02-22 19:52 | markmm82 | Relationship added | caused by 0032265 |
2018-02-22 19:53 | markmm82 | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/86dcf5d294d9 [^] |
2018-02-23 17:36 | markmm82 | Note Added: 0102828 | |
2018-02-23 17:39 | markmm82 | Note Added: 0102829 | |
2018-02-27 09:04 | dmiguelez | Status | acknowledged => scheduled |
2018-02-27 09:10 | hgbot | Checkin | |
2018-02-27 09:10 | hgbot | Note Added: 0102840 | |
2018-02-27 09:10 | hgbot | Status | scheduled => resolved |
2018-02-27 09:10 | hgbot | Resolution | open => fixed |
2018-02-27 09:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c4a55a7aa3c4800a3c7cf074be7d189c8eee4fbf [^] |
2018-02-27 09:13 | dmiguelez | Review Assigned To | => dmiguelez |
2018-02-27 09:13 | dmiguelez | Note Added: 0102843 | |
2018-02-27 09:13 | dmiguelez | Status | resolved => closed |
2018-02-27 09:13 | dmiguelez | Fixed in Version | => 3.0PR18Q2 |
2018-03-02 21:18 | hudsonbot | Checkin | |
2018-03-02 21:18 | hudsonbot | Note Added: 0102952 | |
2018-04-09 18:21 | aferraz | Relationship added | related to 0038302 |
Notes |
|
|
1. Access "Tax rate" window and create:
* one record defined as "Summary level"
* another record with any rate, Base Amount =Line Net Amount and Parent tax rate= previous summary tax
* another record with any rate, Base Amount =Line Net Amount + Tax Amount, Base ax= previous one and Parent tax rate= previous summary tax
2. Create Sales Invoice record. Add line, set any product and Tax= summary tax
3. Realize that both "Tax line" tab and "Tax" tab has both children taxes
4. Access Sales Invoice line and change tax to set any other value.
5. Access "Line tax" tab and realize that correct tax appears
6. Access "Tax" tab and realize that all rates belonging to previous tax has been deleted and new one has been created related to the line tax. |
|
|
|
Executed the TaxesTest test suite and the 800 test cases ran without failures. |
|
|
(0102840)
|
hgbot
|
2018-02-27 09:10
|
|
Repository: erp/devel/pi
Changeset: c4a55a7aa3c4800a3c7cf074be7d189c8eee4fbf
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Feb 23 14:32:01 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c4a55a7aa3c4800a3c7cf074be7d189c8eee4fbf [^]
Fixes issue 37989. Order Invoice Tax Lines before deleting.
The order in which the Invoice Tax Lines are deleted can affect
calculations done by the triggers. They must be deleted
in the correct order.
---
M src-db/database/model/triggers/C_INVOICELINE_TRG2.xml
---
|
|
|
|
|
|
|
|