Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035245Retail ModulesWeb POSpublic2017-02-13 16:472017-03-08 16:07
nataliag 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR17Q2 
marvintm
No
0035245: The printing of verified returns is not working fine using a user with a manual role.
If you use a user with a manual role, the preference “Print Return order once instead twice in Web Pos” is set by default to false so the return orders should be printed twice. This works fine when you return a receipt but if you do a verified return, it is printed only once.
1- Go to backend and define a role as “Manual”.
2- Log in the Web POS with the role of step 1.
3- Create a ticket and add some products.
4- Select “Return this receipt” from the menu and return it.
5- The ticket is printed twice, correctly.
6- Now select “Verified Returns” in the menu and select a receipt. Select the products and click on “Apply”. Complete the return.
7- The ticket is printed only once.
No tags attached.
? issue35245Posterminal.commit (2,463) 2017-02-24 10:25
https://issues.openbravo.com/file_download.php?file_id=10484&type=bug
Issue History
2017-02-13 16:47nataliagNew Issue
2017-02-13 16:47nataliagAssigned To => Retail
2017-02-13 16:47nataliagResolution time => 1488754800
2017-02-13 16:47nataliagTriggers an Emergency Pack => No
2017-02-13 17:58eugeniIssue Monitored: eugeni
2017-02-14 17:09migueldejuanaStatusnew => scheduled
2017-02-14 17:09migueldejuanaAssigned ToRetail => migueldejuana
2017-02-14 18:32nataliagNote Added: 0094328
2017-02-24 10:25migueldejuanaFile Added: issue35245Posterminal.commit
2017-03-08 12:36hgbotCheckin
2017-03-08 12:36hgbotNote Added: 0094825
2017-03-08 12:36hgbotStatusscheduled => resolved
2017-03-08 12:36hgbotResolutionopen => fixed
2017-03-08 12:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a294ece287ddb61a09fe85ffa2acaeb1bca6d6e3 [^]
2017-03-08 16:07marvintmReview Assigned To => marvintm
2017-03-08 16:07marvintmStatusresolved => closed
2017-03-08 16:07marvintmFixed in Version => RR17Q2

Notes
(0094328)
nataliag   
2017-02-14 18:32   
Another wrong situation printing returns:
If you create a ticket with a product and then you select the edit option, "Return line" the ticket is also printed once, as in the verified returns.
(0094825)
hgbot   
2017-03-08 12:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a294ece287ddb61a09fe85ffa2acaeb1bca6d6e3
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Mar 08 12:35:17 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a294ece287ddb61a09fe85ffa2acaeb1bca6d6e3 [^]

Fixed issue 0035245: The printing of verified returns is not working fine using a user with a manual role.

- To check if it is a Return, take into account also hasNegativeLine
- hasPermission must have always second parameter as true to avoid this manual role bugs

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---