Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041603Retail ModulesWeb POSpublic2019-08-08 09:402019-08-16 07:38
asiermartirena 
asiermartirena 
highmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041603: The invoice term is read from the bp even when the ticket is synchronized
When a ticket is synchronized in Web POS, the invoice term is a property that is
taken from the business partner and saved into the receipt.

If the ticket is loaded again, the invoice term used to manage that ticket is the one set in the business partner, even if the ticket already has one set. This is wrong. The invoice term should be taken from the receipt.
Synchronize a ticket with a business partner that has invoice term after delivery (Mara Palliot), with a line with delivery mode 'Pickup in Store' and paying the ticket totally.

In the backend, modify the 'Invoice Terms' of the receipt to 'Inmediate'.

Load the ticket again in Web POS.
Go to the menu --> Realize that the 'Invoice this receipt' menu entry is not visible. That means that the invoice term that is using is not the invoice term in the receipt.
Load and manage the invoice property of the receipt. If that property is not available (draft tickets), use the property of the business partner.
No tags attached.
Issue History
2019-08-08 09:40asiermartirenaNew Issue
2019-08-08 09:40asiermartirenaAssigned To => asiermartirena
2019-08-08 09:40asiermartirenaTriggers an Emergency Pack => No
2019-08-12 09:04hgbotCheckin
2019-08-12 09:04hgbotNote Added: 0113940
2019-08-12 09:04hgbotStatusnew => resolved
2019-08-12 09:04hgbotResolutionopen => fixed
2019-08-12 09:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/95553cb50a171b7740d53907a206c9b391910d05 [^]
2019-08-16 07:38marvintmReview Assigned To => marvintm
2019-08-16 07:38marvintmStatusresolved => closed
2019-08-16 07:38marvintmFixed in Version => RR19Q4

Notes
(0113940)
hgbot   
2019-08-12 09:04   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 95553cb50a171b7740d53907a206c9b391910d05
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Aug 08 09:48:49 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/95553cb50a171b7740d53907a206c9b391910d05 [^]

Fixed issue 41603: The invoice term is read from the bp even when the ticket is synchronized

Changes to load the invoice term of the receipt in the Web POS. The information is now taken from the receipt instead of the business partner, if the receipt has it. Otherwise is taken from the business partner.

---
M src/org/openbravo/retail/posterminal/PaidReceiptProperties.java
M web/org.openbravo.retail.posterminal/js/actions/invoicereceipt.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---