Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025177 | Openbravo ERP | 08. Project and service management | public | 2013-11-19 05:42 | 2013-12-02 09:21 |
|
Reporter | pramakrishnan | |
Assigned To | pramakrishnan | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Professional Appliance |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP30 | |
Merge Request Status | |
Review Assigned To | jonalegriaesarte |
OBNetwork customer | No |
Web browser | Google Chrome |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025177: API Change: Add Constraint to update C_InvoiceLine_ID to null when deleting the invoice line |
Description | Purchase invoice created through Create Invoice from Expenses can not be deleted. It is created in draft status but the user can not delete it, because the expense sheet line is linked to the invoice line. Without this constraint, this will end up in a dead lock situation since the invoice could not be deleted because it is linked to expense sheet and the expense sheet cannot be unprocessed or deleted since it has related invoice. Adding the constraint will resolve this and the risk is low since the invoice could be deleted only when the invoice is in 'draft' status. |
Steps To Reproduce | - Expense sheet, create a new one with one line and process it.
- Create invoice from expenses
- Access to the purchase invoice and try to delete it
Error:
This record cannot be deleted because it is associated with other existing elements. Please see Linked Items
Check that the invoice line is linked to expense line |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0024884 | 3.0MP30 | closed | pramakrishnan | Purchase invoice created through Create Invoice from Expenses can not be deleted |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-11-19 05:42 | pramakrishnan | New Issue | |
2013-11-19 05:42 | pramakrishnan | Assigned To | => iciordia |
2013-11-19 05:42 | pramakrishnan | Web browser | => Google Chrome |
2013-11-19 05:42 | pramakrishnan | Modules | => Core |
2013-11-19 05:42 | pramakrishnan | OBNetwork customer | => No |
2013-11-19 05:42 | pramakrishnan | Triggers an Emergency Pack | => No |
2013-11-19 05:44 | pramakrishnan | Relationship added | related to 0024884 |
2013-11-19 08:23 | iciordia | Note Added: 0062215 | |
2013-11-19 08:23 | iciordia | Assigned To | iciordia => pramakrishnan |
2013-11-19 09:24 | pramakrishnan | Review Assigned To | => jonalegriaesarte |
2013-11-19 09:24 | pramakrishnan | Web browser | Google Chrome => Google Chrome |
2013-11-19 09:24 | pramakrishnan | Status | new => scheduled |
2013-11-19 09:24 | hgbot | Checkin | |
2013-11-19 09:24 | hgbot | Note Added: 0062216 | |
2013-11-19 09:24 | hgbot | Status | scheduled => resolved |
2013-11-19 09:24 | hgbot | Resolution | open => fixed |
2013-11-19 09:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/c4b23df10e109acc2461d00fd9576fad35d2130b [^] |
2013-12-02 09:21 | jonalegriaesarte | Note Added: 0062475 | |
2013-12-02 09:21 | jonalegriaesarte | Status | resolved => closed |
2013-12-02 09:21 | jonalegriaesarte | Fixed in Version | => 3.0MP30 |