Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014252Openbravo ERP07. Sales managementpublic2010-08-20 11:432010-09-13 12:38
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
5
 
2.50MP22 
Core
No
0014252: Invoice Term "Do not invoice" fails when creating Invoice from Shipment
We create a Goods Shipment using the process "Create Lines from" from a Sales Order previously created whose Invoice terms are "Do not invoice".

Then if we create the Sales Invoice from the process "Create Lines from", we see the following:
-The sales order is not visible, so it is not possible to create the invoice from it -> Correct
-The shipment is visible, so it is possible to create the invoice from it -> Uncorrect
1) Create a Sales Order with invoice term "Do not invoice". Complete it.
2) Create a Goods Shipment using the button "Create Lines from" and selecting the sales order previously created. Complete it.
3) Create a Sales Invoice using the button "Create Lines from". See that you are able to select the goods shipment previously created, and it should not, since the invoice term is "Do not invoice"
No tags attached.
related to defect 0034205 closed AtulOpenbravo View c_invoice_candidate_v has performance problem when having lots of unpaid invoices 
Issue History
2010-08-20 11:43networkbNew Issue
2010-08-20 11:43networkbAssigned To => adrianromero
2010-08-26 07:34harikrishnanAssigned Toadrianromero => harikrishnan
2010-08-26 07:37hgbotCheckin
2010-08-26 07:37hgbotNote Added: 0030332
2010-08-26 07:37hgbotStatusnew => resolved
2010-08-26 07:37hgbotResolutionopen => fixed
2010-08-26 07:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f641668debc08472c286b9aeff446c848442d9d2 [^]
2010-08-26 07:45harikrishnanNote Added: 0030333
2010-09-02 08:20sureshbabuNote Added: 0030562
2010-09-03 16:43networkbIssue Monitored: emartinez
2010-09-07 09:17hudsonbotCheckin
2010-09-07 09:17hudsonbotNote Added: 0030674
2010-09-13 08:57sureshbabuNote Added: 0030969
2010-09-13 08:57sureshbabuStatusresolved => closed
2010-09-13 12:38anonymoussf_bug_id0 => 3065175
2016-12-02 09:49aferrazRelationship addedrelated to 0034205

Notes
(0030332)
hgbot   
2010-08-26 07:37   
Repository: erp/devel/pi
Changeset: f641668debc08472c286b9aeff446c848442d9d2
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Aug 26 11:05:47 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f641668debc08472c286b9aeff446c848442d9d2 [^]

Fixes issue 14252: Invoice Term \"Do not invoice\" fails when creating Invoice from Shipment

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0030333)
harikrishnan   
2010-08-26 07:45   
Steps to Test:
*Follow the steps to reproduce given in the issue.

Root Cause:
*Before this condition is not checked.

Impact:
*Their is no impact because of this fix.
(0030562)
sureshbabu   
2010-09-02 08:20   
@Hari, can you check once again, since i can able to select the goods shipment which is created for sales order with Invoice terms as "Do Not Invoice"
(0030674)
hudsonbot   
2010-09-07 09:17   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f641668debc0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030969)
sureshbabu   
2010-09-13 08:57   
verified