Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028506Openbravo ERP07. Sales managementpublic2014-12-31 11:162015-02-04 20:34
maite 
reinaldoguerra 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q2pi 
umartirena
Core
No
0028506: "Create Credit" process does not work with closed return from customer document
"Create Credit" process does not work with closed return from customer document
1. Create Return From Customer document for any org and bp. Add any line and process
2. Create Return Material Receipt document related with previous document
3. Access to Return From Customer document and Close it
4. Run "Crate Credit" process and realize that invoice is not created

Note: if you create new Sales Invoice header manually you will be able to select Return from Customer document using "Create Lines from"
No tags attached.
Issue History
2014-12-31 11:16maiteNew Issue
2014-12-31 11:16maiteAssigned To => dmiguelez
2014-12-31 11:16maiteModules => Core
2014-12-31 11:16maiteResolution time => 1421708400
2014-12-31 11:16maiteTriggers an Emergency Pack => No
2014-12-31 11:17maiteAssigned Todmiguelez => Sandrahuguet
2014-12-31 11:17maiteIssue Monitored: networkb
2014-12-31 11:21heccamIssue Monitored: heccam
2015-01-27 18:01reinaldoguerraAssigned ToSandrahuguet => reinaldoguerra
2015-01-27 18:01reinaldoguerraStatusnew => scheduled
2015-01-28 14:37reinaldoguerraNote Added: 0073859
2015-01-28 19:11hgbotCheckin
2015-01-28 19:11hgbotNote Added: 0073871
2015-01-28 19:11hgbotStatusscheduled => resolved
2015-01-28 19:11hgbotResolutionopen => fixed
2015-01-28 19:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/757f2add30271d0018e8c7650933f73ea5b903bb [^]
2015-01-28 19:11umartirenaReview Assigned To => umartirena
2015-01-28 19:11umartirenaNote Added: 0073872
2015-01-28 19:11umartirenaStatusresolved => closed
2015-01-28 19:11umartirenaFixed in Version => pi
2015-02-04 20:34hudsonbotCheckin
2015-02-04 20:34hudsonbotNote Added: 0074192

Notes
(0073859)
reinaldoguerra   
2015-01-28 14:37   
Test plan used:
1- Login into Openbravo ERP.
2- Go to Return From Customer window and create a new header
   Organization: F&B España - Región Norte
   Business Partner: Alimentos y Supermercados, S.A
3- Click on Pick/Edit Lines button and select record with Zumo de Piña as product. Set Returned qtty as 3. Finish the process
4- Book the document
5- Go to Return Material Receipt window and create a new header. Same organization and business partner
6- Click on Pick/Edit Lines button and select records that belongs to the previous created Return From Customer document. Finish the process
7- Also complete the Return Material Receipt document.
8- Access to Return From Customer document created and Close it
9- Run "Create Credit" process and realize that invoice is now created successfuly
(0073871)
hgbot   
2015-01-28 19:11   
Repository: erp/devel/pi
Changeset: 757f2add30271d0018e8c7650933f73ea5b903bb
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Tue Jan 27 19:06:57 2015 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/757f2add30271d0018e8c7650933f73ea5b903bb [^]

Fixed bug 28506: Create Credit does not work for closed return from customer.

Creating invoice stored procedure, called from Create Credit process for a closed Return From Customer document, was changed to take into account also closed orders, not only documents with status completed and under way.
Now it is possible to create invoices, when Create Credit process is launched from Return From Customer documents with status as closed.
This change also affects the Generate Invoices process called from application menu.

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
---
(0073872)
umartirena   
2015-01-28 19:11   
Code Review + Testing OK
(0074192)
hudsonbot   
2015-02-04 20:34   
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/f36c91d0ad63 [^]
Maturity status: Test