Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036893Retail ModulesWeb POSpublic2017-09-19 16:032018-01-19 12:15
guillermogil 
jorge-garcia 
urgentmajorsometimes
closedfixed 
5
 
RR17Q4 
marvintm
No
0036893: If WebPOS is on Payment Tab it should not be possible to add products
If WebPOS is on Payment Tab it should not be possible to add products because it can rely on calculate receipt errors: "calculateReceipt execution is forbidden right now;"

While payment although RFID is deactivated if the computer is slow the product can be added after the payment is completed.
* Login on WebPOS
* Add products
* Click total button
* With RFID add some product (e.g.- OB.UTIL.RfidController.sendTestEpc('303C000000A4DDC000000001') )

It should not be possible to do that.
It can rely on Calculate Receipt Errors.
On addProduct function check if we are on payment window and return with an error on logs.
If it comes with EPC Code (RFID) it is needed to remove it from the buffer.

Also it should be required to stop the execution if we get and WebSocket call from RFID Device while WebPOS is on payment tab.
Again, it is needed to remove it from the buffer too.

if (ecpCode) {
  OB.UTIL.RfidController.removeEpc(epcCode);
}
No tags attached.
related to defect 0036717 closed ranjith_qualiantech_com WebPOS can finish a ticket without calculating all the lines 
causes defect 0037023 closed ranjith_qualiantech_com Clicking on a generic product in the product browser raises a Javascript error 
Issue History
2017-09-19 16:03guillermogilNew Issue
2017-09-19 16:03guillermogilAssigned To => Retail
2017-09-19 16:03guillermogilResolution time => 1507586400
2017-09-19 16:03guillermogilTriggers an Emergency Pack => No
2017-09-19 16:04guillermogilRelationship addedrelated to 0036717
2017-09-25 17:05jorge-garciaStatusnew => scheduled
2017-09-25 17:05jorge-garciaAssigned ToRetail => jorge-garcia
2017-09-26 16:53hgbotCheckin
2017-09-26 16:53hgbotNote Added: 0099600
2017-09-26 16:53hgbotCheckin
2017-09-26 16:53hgbotNote Added: 0099601
2017-09-26 16:54hgbotCheckin
2017-09-26 16:54hgbotNote Added: 0099602
2017-09-26 16:54hgbotCheckin
2017-09-26 16:54hgbotNote Added: 0099603
2017-09-26 16:54hgbotStatusscheduled => resolved
2017-09-26 16:54hgbotResolutionopen => fixed
2017-09-26 16:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cf3e5d549d0155d587a5b51c355dde42f58a05c [^]
2017-09-28 10:25marvintmReview Assigned To => marvintm
2017-09-28 10:25marvintmStatusresolved => closed
2017-09-28 10:25marvintmFixed in Version => RR17Q4
2017-10-24 13:34ranjith_qualiantech_comRelationship addedcauses 0037023
2017-10-25 09:14hgbotCheckin
2017-10-25 09:14hgbotNote Added: 0100047
2018-01-19 12:08hgbotCheckin
2018-01-19 12:08hgbotNote Added: 0101781
2018-01-19 12:08hgbotStatusclosed => resolved
2018-01-19 12:08hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cf3e5d549d0155d587a5b51c355dde42f58a05c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8687c3aebeb893002b171d0f696ae540358ca0ff [^]
2018-01-19 12:13hgbotCheckin
2018-01-19 12:13hgbotNote Added: 0101783
2018-01-19 12:13hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8687c3aebeb893002b171d0f696ae540358ca0ff [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d61149f258b8f73a8abda9dd265720369aeefba7 [^]
2018-01-19 12:15marvintmNote Deleted: 0101781
2018-01-19 12:15marvintmNote Deleted: 0101783
2018-01-19 12:15marvintmStatusresolved => closed

Notes
(0099600)
hgbot   
2017-09-26 16:53   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 18ec430a469bc50e4f0f39582aca8769d6a48bb4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 25 16:53:18 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/18ec430a469bc50e4f0f39582aca8769d6a48bb4 [^]

Related to issue 36893: If WebPOS is on Payment Tab it should not be possible to
add products

Change addProductToOrder call to set property blockAddProduct to options.

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-product-browser.js
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproducts.js
---
(0099601)
hgbot   
2017-09-26 16:53   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: 719df07016cc119fd85015f69976f9e4ab8d2816
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 26 11:39:51 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/719df07016cc119fd85015f69976f9e4ab8d2816 [^]

Related to issue 36893: If WebPOS is on Payment Tab it should not be possible to
add products

Change addProductToOrder call to set property blockAddProduct to options.

Verify Return functionality has change to navigate to scan tab when the popup to
select paid receipts is shown.

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
M web/org.openbravo.retail.returns/js/returnReceiptButton.js
---
(0099602)
hgbot   
2017-09-26 16:54   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 2dc2e9a51ac7eee2b02486076cfbb1ce70a7cf6f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 25 16:51:49 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/2dc2e9a51ac7eee2b02486076cfbb1ce70a7cf6f [^]

Related to issue 36893: If WebPOS is on Payment Tab it should not be possible to
add products

Change addProductToOrder call to set property blockAddProduct to options.

---
M web/org.openbravo.retail.discounts/js/promotion-pack.js
---
(0099603)
hgbot   
2017-09-26 16:54   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0cf3e5d549d0155d587a5b51c355dde42f58a05c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 26 11:37:50 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cf3e5d549d0155d587a5b51c355dde42f58a05c [^]

Fixed issue 36893: If WebPOS is on Payment Tab it should not be possible to
add products

In add product, now there is a check to verify the product could be added. The
exception to add a product is in the payment tab, for the products added in the
webPOS.

A new variable has been set to indicate if the webPOS is in the payment tab.

---
M web/org.openbravo.retail.posterminal/js/components/modalselectopenreceipts.js
M web/org.openbravo.retail.posterminal/js/components/modalsplitlines.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js
M web/org.openbravo.retail.posterminal/js/utils/rfidWebsocket.js
---
(0100047)
hgbot   
2017-10-25 09:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b4c794026a96a628abba80b32b67f80956492b83
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Oct 23 12:59:04 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b4c794026a96a628abba80b32b67f80956492b83 [^]

Related to issue 36893: Add addtional checks to avoid add lines when ticket is being closed

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---