Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0033859 | Openbravo ERP | 07. Sales management | public | 2016-08-31 09:32 | 2016-09-19 16:27 | |||||||||||||||||||||
Reporter | ngarcia | |||||||||||||||||||||||||
Assigned To | AtulOpenbravo | |||||||||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR16Q4 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | aferraz | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||||||||||||||||
Regression date | 2015-07-16 | |||||||||||||||||||||||||
Regression introduced in release | 3.0PR15Q4 | |||||||||||||||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/8860b648abb2 [^] | |||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0033859: Wrong Total Gross Amount in orders and invoices as the changes made in tax tab records do not recalculate it | |||||||||||||||||||||||||
Description | Wrong Total Gross Amount in orders and invoices as the changes made in tax tab records do not recalculate it Should the user be able to edit or remove the records in tax tab with recalculate = 'Y'? | |||||||||||||||||||||||||
Steps To Reproduce | As group admin role: Create a Sales Invoice Add a line with a product and a tax rate different from 0 Go to Tax tab and modify the tax amount. Check the recalculate checkbox is selected The total gross amount is not updated Complete it and check the total gross amount is not the total net amount plus tax amount Repeat the process with purchase invoice Repeat the process also by deleting the record in Tax tab instead of editing it In this case the problem is also reproducible in orders If you post the invoice the difference is posted in the Suspence Balancing Account | |||||||||||||||||||||||||
Proposed Solution | It should not be posible to either modify or delete "Tax" set as "Recalculate" = Yes (the ones created automatically by Openbravo). For Purchase Order/Sales Order, Tax Tab should have UI Pattern as "Read Only". No insert/update/delete action allowed. Delete action for Tax tab of Sales Invoice/Purchase Invoice should be restricted by event handler in case record has Recalculate flag = Yes. Error message should be shown as "It is not possible to delete an invoice tax record with recalculate flag checked.". Invoice Tax Tab Fields: Tax Amount, Tax Base Amount and Tax should have read only logic in case of recalculate flag= yes. In this way user cannot edit the values for these fields. New invoice tax records should be created manually in case a given adjustment is required. This records will have recalculate flag=No hence update and delete action are allowed for this records. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2016-08-31 09:32 | ngarcia | New Issue | ||||||||||||||||||||||||
2016-08-31 09:32 | ngarcia | Assigned To | => Triage Finance | |||||||||||||||||||||||
2016-08-31 09:32 | ngarcia | Modules | => Core | |||||||||||||||||||||||
2016-08-31 09:32 | ngarcia | Resolution time | => 1505944800 | |||||||||||||||||||||||
2016-08-31 09:32 | ngarcia | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2016-08-31 09:33 | ngarcia | Issue Monitored: networkb | ||||||||||||||||||||||||
2016-08-31 09:33 | ngarcia | Relationship added | caused by 0028366 | |||||||||||||||||||||||
2016-08-31 09:34 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12989#r12989 | |||||||||||||||||||||||
2016-08-31 09:43 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12990#r12990 | |||||||||||||||||||||||
2016-08-31 10:30 | psanjuan | Note Added: 0089582 | ||||||||||||||||||||||||
2016-08-31 10:31 | psanjuan | Proposed Solution updated | ||||||||||||||||||||||||
2016-08-31 10:31 | psanjuan | Note Edited: 0089582 | bug_revision_view_page.php?bugnote_id=0089582#r12992 | |||||||||||||||||||||||
2016-08-31 10:37 | psanjuan | Note Added: 0089585 | ||||||||||||||||||||||||
2016-08-31 10:37 | psanjuan | Note Edited: 0089585 | bug_revision_view_page.php?bugnote_id=0089585#r12994 | |||||||||||||||||||||||
2016-08-31 12:15 | aferraz | Proposed Solution updated | ||||||||||||||||||||||||
2016-08-31 12:20 | aferraz | Proposed Solution updated | ||||||||||||||||||||||||
2016-08-31 12:21 | aferraz | Assigned To | Triage Finance => AtulOpenbravo | |||||||||||||||||||||||
2016-08-31 12:22 | aferraz | Status | new => scheduled | |||||||||||||||||||||||
2016-08-31 14:24 | ngarcia | Resolution time | 1505944800 => 1474408800 | |||||||||||||||||||||||
2016-09-13 10:52 | aferraz | Regression level | => Production - Confirmed Stable | |||||||||||||||||||||||
2016-09-13 10:52 | aferraz | Regression date | => 2015-07-16 | |||||||||||||||||||||||
2016-09-13 10:52 | aferraz | Regression introduced in release | => 3.0PR15Q4 | |||||||||||||||||||||||
2016-09-13 10:52 | aferraz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/8860b648abb2 [^] | |||||||||||||||||||||||
2016-09-13 17:56 | AtulOpenbravo | Proposed Solution updated | ||||||||||||||||||||||||
2016-09-13 18:00 | AtulOpenbravo | Proposed Solution updated | ||||||||||||||||||||||||
2016-09-13 20:05 | AtulOpenbravo | Proposed Solution updated | ||||||||||||||||||||||||
2016-09-14 13:06 | AtulOpenbravo | Note Added: 0089951 | ||||||||||||||||||||||||
2016-09-14 17:51 | aferraz | Proposed Solution updated | ||||||||||||||||||||||||
2016-09-16 09:24 | hgbot | Checkin | ||||||||||||||||||||||||
2016-09-16 09:24 | hgbot | Note Added: 0090020 | ||||||||||||||||||||||||
2016-09-16 09:24 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2016-09-16 09:24 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2016-09-16 09:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e5fb94b24cfcc0bc4aebf2c53db4c6e51007ae82 [^] | |||||||||||||||||||||||
2016-09-16 09:26 | aferraz | Review Assigned To | => aferraz | |||||||||||||||||||||||
2016-09-16 09:26 | aferraz | Note Added: 0090023 | ||||||||||||||||||||||||
2016-09-16 09:26 | aferraz | Status | resolved => closed | |||||||||||||||||||||||
2016-09-16 09:26 | aferraz | Fixed in Version | => 3.0PR16Q4 | |||||||||||||||||||||||
2016-09-19 16:27 | hudsonbot | Checkin | ||||||||||||||||||||||||
2016-09-19 16:27 | hudsonbot | Note Added: 0090068 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|