Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024884Openbravo ERP08. Project and service managementpublic2013-10-04 09:312013-11-29 09:57
jonalegriaesarte 
pramakrishnan 
urgentmajorhave not tried
closedfixed 
5
 
3.0MP303.0MP30 
jonalegriaesarte
Core
No
0024884: Purchase invoice created through Create Invoice from Expenses can not be deleted
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, becuase the expense sheet line is linked to the invoice line
- 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
No tags attached.
related to defect 0025177 closed pramakrishnan API Change: Add Constraint to update C_InvoiceLine_ID to null when deleting the invoice line 
Issue History
2013-10-04 09:31jonalegriaesarteNew Issue
2013-10-04 09:31jonalegriaesarteAssigned To => jonalegriaesarte
2013-10-04 09:31jonalegriaesarteModules => Core
2013-10-04 09:31jonalegriaesarteTriggers an Emergency Pack => No
2013-10-14 16:26jonalegriaesarteTarget Version3.0MP29 => 3.0MP30
2013-11-13 12:41jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2013-11-19 05:44pramakrishnanRelationship addedrelated to 0025177
2013-11-19 09:24pramakrishnanReview Assigned To => jonalegriaesarte
2013-11-19 09:24pramakrishnanStatusnew => scheduled
2013-11-19 09:25hgbotCheckin
2013-11-19 09:25hgbotNote Added: 0062217
2013-11-19 09:25hgbotStatusscheduled => resolved
2013-11-19 09:25hgbotResolutionopen => fixed
2013-11-19 09:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7e4ee38538e0a134773a785b98cc79166db800d1 [^]
2013-11-19 19:07hudsonbotCheckin
2013-11-19 19:07hudsonbotNote Added: 0062267
2013-11-29 09:57jonalegriaesarteNote Added: 0062469
2013-11-29 09:57jonalegriaesarteStatusresolved => closed
2013-11-29 09:57jonalegriaesarteFixed in Version => 3.0MP30

Notes
(0062217)
hgbot   
2013-11-19 09:25   
Repository: erp/devel/pi
Changeset: 7e4ee38538e0a134773a785b98cc79166db800d1
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Nov 19 13:24:54 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/7e4ee38538e0a134773a785b98cc79166db800d1 [^]

Fixes Issue 24884: Purchase invoice created through Create Invoice from Expenses can not be deleted

---
M src-db/database/model/tables/S_TIMEEXPENSELINE.xml
M src-db/database/model/triggers/S_TIMEEXPENSELINE_TRG.xml
---
(0062267)
hudsonbot   
2013-11-19 19:07   
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/ab71e0273dc1 [^]

Maturity status: Test
(0062469)
jonalegriaesarte   
2013-11-29 09:57   
Tested following the steps to reproduce and it is working fine.