Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027587Openbravo ERP01. General setuppublic2014-09-11 12:422014-12-30 23:22
ngarcia 
fsoto82 
immediateminoralways
closedfixed 
5
 
3.0PR15Q1 
vmromanos
Core
No
0027587: Goods shipment / receipts and Invoices can be completed for inactive business partners
Goods shipment / receipts and Invoices can be completed for inactive business partners
As group admin role:
   Create a goods shipment for a Business Partner
   Do not complete it
   Create a sales invoice for the same Business partner
   Do not complete it
   Set the Business Partner as inactive
   Check you can process both documents
No tags attached.
related to defect 00268513.0PR14Q4 closed AtulOpenbravo Openbravo ERP Business partner can be set as inactive with documents in draft status related 
related to defect 0027586 closed reinaldoguerra Modules Picking List can be created for inactive business partners' orders 
Issue History
2014-09-11 12:42ngarciaNew Issue
2014-09-11 12:42ngarciaAssigned To => dmiguelez
2014-09-11 12:42ngarciaModules => Core
2014-09-11 12:42ngarciaTriggers an Emergency Pack => No
2014-09-11 12:43ngarciaRelationship addedrelated to 0026851
2014-09-11 12:43ngarciaAssigned Todmiguelez => jonalegriaesarte
2014-09-11 12:44ngarciaResolution time => 1410732000
2014-09-11 12:44ngarciaIssue Monitored: networkb
2014-09-11 12:54ngarciaRelationship addedrelated to 0027586
2014-09-22 16:36jonalegriaesarteTarget Version => 3.0PR15Q1
2014-09-22 16:37jonalegriaesarteTarget Version3.0PR15Q1 => 3.0PR14Q4
2014-09-22 16:43jonalegriaesarteAssigned Tojonalegriaesarte => AtulOpenbravo
2014-09-26 02:54fsoto82Statusnew => scheduled
2014-09-26 02:54fsoto82Assigned ToAtulOpenbravo => fsoto82
2014-09-26 02:54fsoto82fix_in_branch => pi
2014-09-26 05:27fsoto82Note Added: 0070417
2014-09-29 16:12jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-06 14:22hgbotCheckin
2014-10-06 14:22hgbotNote Added: 0070740
2014-10-06 14:22hgbotStatusscheduled => resolved
2014-10-06 14:22hgbotResolutionopen => fixed
2014-10-06 14:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2352f43d4f0ff9ba1b6c546fb9da652af86cd402 [^]
2014-10-06 14:23vmromanosReview Assigned To => vmromanos
2014-10-06 14:23vmromanosNote Added: 0070741
2014-10-06 14:23vmromanosStatusresolved => closed
2014-12-30 23:22hudsonbotCheckin
2014-12-30 23:22hudsonbotNote Added: 0072903

Notes
(0070417)
fsoto82   
2014-09-26 05:27   
As group admin role:
   Create a goods shipment for a Business Partner
   Do not complete it
   Create a sales invoice for the same Business partner
   Do not complete it
   Set the Business Partner as inactive
   Try to process the document
Now you can't process any of the documents.
   Set the Business Partner active
   Try to process the document
Now can be processed the documents
(0070740)
hgbot   
2014-10-06 14:22   
Repository: erp/devel/pi
Changeset: 2352f43d4f0ff9ba1b6c546fb9da652af86cd402
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Tue Sep 30 12:27:47 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/2352f43d4f0ff9ba1b6c546fb9da652af86cd402 [^]

Fixed bug 27587: Goods shpmt/rcpt and Invoices can be post for inactive BPartner

Changed stored procedures C_INVOICE_POST and M_INOUT_POST to check if the business partner is active.
Now the process won't execute if the business partner is inactive.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0070741)
vmromanos   
2014-10-06 14:23   
Code review + testing OK
(0072903)
hudsonbot   
2014-12-30 23:22   
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/6525fe229e06 [^]
Maturity status: Test