Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039952Retail ModulesWeb POSpublic2019-01-15 13:092019-03-01 12:16
normalmajorhave not tried
0039952: Problem with the invoice line-shipment lines relations
When creating an invoice line before the shipment line is created, if the shipment line is created later, the relation between the invoice and shipment line is not set.
Synchronize a ticket in the Web POS that creates an invoice but doesn't deliver the lines. Use prepayments for that purpose.

After that, deliver the ticket, creating the shipment and shipment lines.

Check that the invoice and shipment lines are not related.
No tags attached.
depends on backport 0040138RR19Q1 closed asiermartirena Problem with the invoice line-shipment lines relations 
Issue History
2019-01-15 13:09asiermartirenaNew Issue
2019-01-15 13:09asiermartirenaAssigned To => asiermartirena
2019-01-15 13:09asiermartirenaTriggers an Emergency Pack => No
2019-01-21 13:42hgbotCheckin
2019-01-21 13:42hgbotNote Added: 0109039
2019-01-21 13:42hgbotStatusnew => resolved
2019-01-21 13:42hgbotResolutionopen => fixed
2019-01-21 13:42hgbotFixed in SCM revision => [^]
2019-01-21 15:19hgbotCheckin
2019-01-21 15:19hgbotNote Added: 0109042
2019-02-05 11:54marvintmStatusresolved => new
2019-02-05 11:54marvintmResolutionfixed => open
2019-02-05 11:54marvintmStatusnew => scheduled
2019-02-05 11:54marvintmStatusscheduled => resolved
2019-02-05 11:54marvintmFixed in Version => RR19Q2
2019-02-05 11:54marvintmResolutionopen => fixed
2019-03-01 12:16marvintmReview Assigned To => marvintm
2019-03-01 12:16marvintmStatusresolved => closed

2019-01-21 13:42   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: efd1c21ff78b9d532481929f74b65c5d7d65ee2c
Author: Asier Martirena <asier.martirena <at>>
Date: Mon Jan 21 10:10:34 2019 +0100
URL: [^]

Fixed issue 39952: Problem with the invoice line-shipment lines relations

Now when a shipment is created after the invoice is created, the relation between the invoice line and the shipment line is set.
Also now in the class it is supported to create an invoice for a line that has already an invoice and a shipment, but the invoiced quantity is lower than the shipped quantity. This situation is cannot occur in the Web POS at now.

M src/org/openbravo/retail/posterminal/utility/
M src/org/openbravo/retail/posterminal/utility/
2019-01-21 15:19   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c37f7025c19937864a55091ee43ba672399b0918
Author: Asier Martirena <asier.martirena <at>>
Date: Mon Jan 21 15:19:12 2019 +0100
URL: [^]

Related to issue 39952: Code beautified

M src/org/openbravo/retail/posterminal/utility/