Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024884Openbravo ERP08. Project and service managementpublic2013-10-04 09:312013-11-29 09:57
urgentmajorhave not tried
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
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 => [^]
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

2013-11-19 09:25   
Repository: erp/devel/pi
Changeset: 7e4ee38538e0a134773a785b98cc79166db800d1
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at>>
Date: Tue Nov 19 13:24:54 2013 +0530
URL: [^]

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
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: [^]

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