Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036644Retail ModulesWeb POSpublic2017-08-14 08:412017-08-25 12:05
asiermartirena 
aaroncalero 
highmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036644: Sales representative is not working in remote mode
There's a problem when loading the sales representative working in remote mode. The SalerRepresentative.java class doesn't contain the $filtersCriteria, so is never filtered by any user.

As result, the selected sales representative can be different to the logged user.
Remove the sales representative from the active user (if it has).
Check that exists another user with a sales representative
Create and pay an order.
Check that the sales representative is distinct to the logged one.
No tags attached.
? Issue36644.export (2,078) 2017-08-16 13:49
https://issues.openbravo.com/file_download.php?file_id=10982&type=bug
Issue History
2017-08-14 08:41asiermartirenaNew Issue
2017-08-14 08:41asiermartirenaAssigned To => Retail
2017-08-14 08:41asiermartirenaResolution time => 1503871200
2017-08-14 08:41asiermartirenaTriggers an Emergency Pack => No
2017-08-16 13:49aaroncaleroFile Added: Issue36644.export
2017-08-16 13:49aaroncaleroNote Added: 0098523
2017-08-17 14:52aaroncaleroReview Assigned To => marvintm
2017-08-17 14:52aaroncaleroAssigned ToRetail => aaroncalero
2017-08-17 14:52hgbotCheckin
2017-08-17 14:52hgbotNote Added: 0098534
2017-08-17 14:52hgbotStatusnew => resolved
2017-08-17 14:52hgbotResolutionopen => fixed
2017-08-17 14:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c5b95ed96a22fb55bfe2630e1522b3ede4fbc197 [^]
2017-08-25 12:04hgbotCheckin
2017-08-25 12:04hgbotNote Added: 0098652
2017-08-25 12:05marvintmStatusresolved => closed
2017-08-25 12:05marvintmFixed in Version => RR17Q4

Notes
(0098523)
aaroncalero   
2017-08-16 13:49   
Attached patch with a possible solution (currently in try-retail queue)
(0098534)
hgbot   
2017-08-17 14:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c5b95ed96a22fb55bfe2630e1522b3ede4fbc197
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Wed Aug 16 13:19:24 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c5b95ed96a22fb55bfe2630e1522b3ede4fbc197 [^]

Fixed issue 36644: Sales representative is not working in remote mode

---
M src/org/openbravo/retail/posterminal/master/SalesRepresentative.java
---
(0098652)
hgbot   
2017-08-25 12:04   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9c2cfa7e66229111154d3737c884313d92ff922c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Aug 25 12:04:29 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9c2cfa7e66229111154d3737c884313d92ff922c [^]

Related to issue 36644. Improved name of variable.

---
M src/org/openbravo/retail/posterminal/master/SalesRepresentative.java
---