Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019859Openbravo ERP07. Sales managementpublic2012-02-23 22:182012-02-27 11:55
jecharri 
jecharri 
immediatemajoralways
closedfixed 
5
2.50MP38 
2.50MP39 
Google Chrome
Core
No
0019859: The "Goods Shipment" selector it doesn't work properly
The "Goods Shipment" selector it doesn't work properly.

In case that you create one "Goods Shipment" without any order related, this will not be able to be invoiced.

Apart from that,if you create one "Goods Shipment" with more than one order related, it is imposible to create an invoice from this "Goods Shipment"
As "Group Admin":
-go to window "Goods Shipment"
-create one record for BP "Hoteles Buenas Noches, S.A." and complete
-go to window "Sales Invoice" and create a header for the same BP.
-push in "Create Lines From" and see that you can not add the "Goods Shipment"

For the second case:
-create a "Sales Order" for BP "Hoteles Buenas Noches, S.A." and Book
-create other "Sales Order" for the same BP and Book it.
-Create only one "Goods Shipments" for both orders and Complete it.
-Go to "Sales Invoice" and after create a header for the same BP push in "Create Lines From". You will see that you can not add the created "Goods Shipment"
-Go
Regression QA
depends on defect 0019858 closed jecharri The "Goods Shipment" selector it doesn't work properly 
Issue History
2012-02-23 22:18jecharriNew Issue
2012-02-23 22:18jecharriAssigned To => jecharri
2012-02-23 22:18jecharriWeb browser => Google Chrome
2012-02-23 22:18jecharriModules => Core
2012-02-23 22:18jecharriIssue generated from0019858
2012-02-23 22:19jecharriTag Attached: Regression QA
2012-02-23 22:19jecharriWeb browserGoogle Chrome => Google Chrome
2012-02-23 22:19jecharriversion3.0MP8 => 2.50MP38
2012-02-23 22:19jecharriTarget Version => 2.50MP39
2012-02-23 22:20jecharriRelationship addeddepends on 0019858
2012-02-24 10:12jecharriWeb browserGoogle Chrome => Google Chrome
2012-02-24 10:12jecharriTypedefect => backport
2012-02-24 10:33hgbotCheckin
2012-02-24 10:33hgbotNote Added: 0045434
2012-02-24 10:33hgbotStatusnew => resolved
2012-02-24 10:33hgbotResolutionopen => fixed
2012-02-24 10:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/efb0761dac7eddbf6de2fa00688e99c54d5f4962 [^]
2012-02-24 11:04jecharriNote Added: 0045436
2012-02-27 11:55xabiermerinoNote Added: 0045468
2012-02-27 11:55xabiermerinoStatusresolved => closed

Notes
(0045434)
hgbot   
2012-02-24 10:33   
Repository: erp/stable/2.50
Changeset: efb0761dac7eddbf6de2fa00688e99c54d5f4962
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Feb 24 08:58:06 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/efb0761dac7eddbf6de2fa00688e99c54d5f4962 [^]

Fixes issue 19859: The "Goods Shipment" selector it doesn't work properly.
Now only dissapears the shipments where the related order has invoice term 'After Order Delivered' and is not completely delivered.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0045436)
jecharri   
2012-02-24 11:04   
Test Cases (all the documents must be created with the same BP)
First Case:
-create one sales order (invoice term "after delivery") and after that create the related shipment. Complete it.
-Go to "sales invoice" and push in "Create Lines From". Verifie that you can see the shipment and the order.

Second case:
-create one sales order (invoice term "after order delivery") and after that create the related PARTIAL shipment. Complete it.
-Go to "sales invoice" and push in "Create Lines From". Verifie that you can not see the shipment and the order.
-Create a new shipment to delivery all the order.
-Go to "sales invoice" and push in "Create Lines From". Verifie that you can see the shipment and the order.

Third case:
-create two sales order (invoice term "after delivery") and after that create the related shipment. Complete it. You have to create only one shipment for both orders.
-Go to "sales invoice" and push in "Create Lines From". Verifie that you can see the shipment and orders.

Fourth case:
-Do the same that in case 3 but one order with invoice term = "after order delivery"

Fifth case:
-Do the same that in case 3 but both orders with invoice term = "after order delivery"

Sixth case:
-Create a shipment and complete.
-Go to "sales invoice" and push in "Create Lines From". Verifie that you can see the shipment.
(0045468)
xabiermerino   
2012-02-27 11:55   
verified