Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031737Retail ModulesCash Managementpublic2015-12-16 12:542015-12-18 08:34
ebecerra 
Retail 
normalmajorhave not tried
closedfixed 
5
 
RR15Q4.2RR15Q4.2 
mtaal
No
0031737: Include ProcessCashMgmtMaster in Mobile Services
Include the org.openbravo.retail.posterminal.ProcessCashMgmtMaster into Mobile Services. It is necessary for normal operation of Master/Slave in WebPOS
1. Configure a terminal as Master
2. Configure a terminal as Slave
3. Configure a payment method Cash as Share payment method
4. Login into slave terminal
No tags attached.
blocks defect 0031732 closed mtaal Include ProcessCashMgmtMaster in Mobile Services 
png Selection_029.png (517,359) 2015-12-18 08:11
https://issues.openbravo.com/file_download.php?file_id=8817&type=bug
png Selection_030.png (266,652) 2015-12-18 08:11
https://issues.openbravo.com/file_download.php?file_id=8818&type=bug
Issue History
2015-12-16 17:33OrekariaTypedefect => backport
2015-12-16 17:33OrekariaTarget Version => RR15Q4.2
2015-12-18 08:11mtaalFile Added: Selection_029.png
2015-12-18 08:11mtaalFile Added: Selection_030.png
2015-12-18 08:14mtaalNote Added: 0082858
2015-12-18 08:15mtaalNote Edited: 0082858bug_revision_view_page.php?bugnote_id=0082858#r10509
2015-12-18 08:33hgbotCheckin
2015-12-18 08:33hgbotNote Added: 0082859
2015-12-18 08:33hgbotStatusscheduled => resolved
2015-12-18 08:33hgbotResolutionopen => fixed
2015-12-18 08:33hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/2a3cd7b2523c22416e5d81511e03e9826ec1ce67 [^]
2015-12-18 08:34mtaalReview Assigned To => mtaal
2015-12-18 08:34mtaalNote Added: 0082861
2015-12-18 08:34mtaalStatusresolved => closed
2015-12-18 08:34mtaalFixed in Version => RR15Q4.2

Notes
(0082858)
mtaal   
2015-12-18 08:14   
(edited on: 2015-12-18 08:15)
Because the service is not defined the system will try to find a service with a similar name. This service is then called. But this service is a totally different service. Resulting in the underlying error.

It is also difficult to check/debug as a totally different service can be called.

This seems to be a dangerous thing and results in errors.

It seems better to fall back to calling the service with the correct name but using the failover mode.

gr. Martin

(0082859)
hgbot   
2015-12-18 08:33   
Repository: retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal
Changeset: 2a3cd7b2523c22416e5d81511e03e9826ec1ce67
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Dec 18 08:33:21 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/2a3cd7b2523c22416e5d81511e03e9826ec1ce67 [^]

Fixes issue 31737: Include ProcessCashMgmtMaster in Mobile Services
Added service definition

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0082861)
mtaal   
2015-12-18 08:34   
I pushed the code change but is the same code change as done by Rafa in the related issue.

Tested and solves the issue.