Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011751Openbravo ERP03. Procurement managementpublic2009-12-04 13:232010-01-29 10:50
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
5
2.40MP11 
2.40MP142.40MP12 
Core
No
0011751: You can't reactivate an invoice created in a last version
In versions like 2.40MP3 or 2.40MP4 you can complete an invoice without lines. If you update to 2.40MP11 you can't reactivate this invoice because it hasn't lines.
-Complete an invoice without lines in 2.40MP4
-Update the version
-Realize that it is not possible reactivate the invoice
Remove in C_INVOICE POST, "OR (v_DocStatus='CO' AND v_DocAction='RE')" in the following line https://code.openbravo.com/erp/stable/2.40/rev/4a96b6600e1de28c3b0f691138c7fffe18c26ac2#l1.20 [^]
No tags attached.
related to backport 0009427 closed areefbasha The invoices without lines are not posted and you get an error in the packground process that stop the process 
blocks defect 00116452.40MP14 closed harikrishnan You can't reactivate an invoice created in a last version 
Issue History
2009-12-11 18:04psarobeTypedefect => backport
2009-12-11 18:04psarobefix_in_branch => 2.40
2009-12-11 18:12rafarodaSteps to Reproduce Updated
2009-12-11 18:12rafarodaRelationship addedrelated to 0009427
2009-12-15 12:31rafarodaPriorityimmediate => urgent
2010-01-11 08:20harikrishnanAssigned Torafaroda => harikrishnan
2010-01-11 08:22hgbotCheckin
2010-01-11 08:22hgbotNote Added: 0023293
2010-01-11 08:22hgbotStatusscheduled => resolved
2010-01-11 08:22hgbotResolutionopen => fixed
2010-01-11 08:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/68da9dc3074abb0d1642b7357423b2c4dd8f57b6 [^]
2010-01-29 10:50arunkumarNote Added: 0023856
2010-01-29 10:50arunkumarStatusresolved => closed
2010-01-29 10:50arunkumarFixed in Version => 2.40MP12

Notes
(0023293)
hgbot   
2010-01-11 08:22   
Repository: erp/stable/2.40
Changeset: 68da9dc3074abb0d1642b7357423b2c4dd8f57b6
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Jan 11 12:51:16 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/68da9dc3074abb0d1642b7357423b2c4dd8f57b6 [^]

Fixes Issue 11751: You can't reactivate an invoice created in a last version.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0023856)
arunkumar   
2010-01-29 10:50   
Now In 2.40 MP11 it is possible to reactivate the invoice which was completed without lines in 2.40 MP4.

Tested & Working fine.