Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017016 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | have not tried | 2011-04-19 10:28 | 2011-05-25 16:39 | |||
Reporter | AinhoaPagola | View Status | public | |||||
Assigned To | jonalegriaesarte | |||||||
Priority | urgent | Resolution | unable to reproduce | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0RC7 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0017016: Invoice Total Amount not properly updated when lines are deleted | |||||||
Description | The invoice total amount is not properly updated when a line is deleted. In an invoice with more than one line with the same tax amount, when a line is deleted the Total Amount of the header is not properly updated. | |||||||
Steps To Reproduce | With sampledata in Openbravo 2.50: - Create a new header. - Create a new line for a product. Set unit price to 100 and taxes 16%. The header has total amount 116 (correct) and a line is created in the tax tab. - Create a second line for a product. Set unit price to 100 and taxes to 16. The header has total amount 232 (correct) and the line in the tax tab is updated to 32 - Delete a line. The tax tab is properly updated. The header has a total amount of 132, instead of 116. That is, the line net amount is decreased from the total amount, but the taxes are not. | |||||||
Proposed Solution | Error is possibly on line 243 in c_orderline_trg2. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0037435) adrianromero (viewer) 2011-05-25 16:39 |
This issue cannot be reproduced in an 3.0 environment. The reason is probably because in 3.0 hibernate is in charge of deleting the line taxes when deleting lines in invoices and orders and not the on delete cascade option of the foreign key constraig of line taxes. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-05-05 08:43 | AinhoaPagola | Type | defect => backport |
2011-05-05 08:43 | AinhoaPagola | fix_in_branch | => 2.50 |
2011-05-12 10:05 | maite | Relationship added | related to 0017117 |
2011-05-13 11:02 | AinhoaPagola | Assigned To | AinhoaPagola => jonalegriaesarte |
2011-05-25 11:43 | adrianromero | Type | backport => defect |
2011-05-25 11:43 | adrianromero | version | 2.50MP28 => 3.0RC7 |
2011-05-25 11:43 | adrianromero | Target Version | 2.50MP30 => |
2011-05-25 16:39 | adrianromero | Note Added: 0037435 | |
2011-05-25 16:39 | adrianromero | Status | scheduled => closed |
2011-05-25 16:39 | adrianromero | Resolution | open => unable to reproduce |
Copyright © 2000 - 2009 MantisBT Group |