Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0042303Openbravo ERP07. Sales managementpublic2019-11-18 13:442019-12-16 12:22
santi_lozano 
rqueralta 
highmajoralways
closedfixed 
5
 
3.0PR20Q1 
marvintm
Core
No
0042303: Sales Invoice is not linked with a Goods Shipment created from Web POS with Issue Sales Order option
In Web POS create a new Sales Order with a product only with Home Delivery as delivery mode, invoice this receipt option checked. Pay it, it creates a Sales Order and a Sales Invoice. Create the Goods Shipment from menu option Issue Sales Order. The Goods Shipment created is not linked to the Sales Invoice (only to the Sales Order). The field Goods Shipment Line in tab Lines of section More Information (of the related Sales Invoice) shouldn’t be empty
* go to openbravo livebuilds section Retail with Modules link pgsql backend
https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^]
* change role to The White Valley Group Admin, add preference “Web POS Enable Delivery Modes” with value ‘Y’
* go to that livebuilds Web POS
https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
* create a new receipt, add product Avalanche transceiver. Click on it on the ticket to change its delivery mode to Home Delivery
*go to Web POS menu and select Invoice this Receipt option
* pay the ticket, it creates a Sales Order and a Sales Invoice
* go to Web POS menu and select Issue Sales Order, issue the sales order created (you can see its documentno from back office). Then a Goods Shipment is created
*go to back office. See that the related Sales Invoice doesn’t have the Goods Shipment linked on tab Lines section more information (neither in linked items, as related Sales Order has)
No tags attached.
Issue History
2019-11-18 13:44santi_lozanoNew Issue
2019-11-18 13:44santi_lozanoAssigned To => Triage Finance
2019-11-18 13:44santi_lozanoModules => Core
2019-11-18 13:44santi_lozanoResolution time => 1575846000
2019-11-18 13:44santi_lozanoTriggers an Emergency Pack => No
2019-11-18 16:54aferrazAssigned ToTriage Finance => Retail
2019-12-02 14:08rqueraltaAssigned ToRetail => rqueralta
2019-12-02 14:08rqueraltaStatusnew => scheduled
2019-12-13 14:08hgbotCheckin
2019-12-13 14:08hgbotNote Added: 0116316
2019-12-13 14:08hgbotStatusscheduled => resolved
2019-12-13 14:08hgbotResolutionopen => fixed
2019-12-13 14:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5cb96b0615a6f65b8dd7484928b678b2d7192a3b [^]
2019-12-16 12:22marvintmReview Assigned To => marvintm
2019-12-16 12:22marvintmStatusresolved => closed
2019-12-16 12:22marvintmFixed in Version => 3.0PR20Q1

Notes
(0116316)
hgbot   
2019-12-13 14:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5cb96b0615a6f65b8dd7484928b678b2d7192a3b
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Dec 09 16:05:59 2019 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5cb96b0615a6f65b8dd7484928b678b2d7192a3b [^]

Fixed issue 42303: Sales Invoice is not linked with a Goods Shipment created
from Web POS with Issue Sales Order option

- If the order related with the shipment have an invoice, the shipment document
will be related with the invoice too.

---
M src/org/openbravo/retail/posterminal/process/IssueSalesOrderLines.java
---