Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038343Retail ModulesWeb POSpublic2018-04-12 12:122018-04-12 14:21
avicente 
jorge-garcia 
highmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
QA functional test
2018-02-27
main
http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/522297061bccd57c1857bf872ebbce731cc32fcb [^]
No
0038343: Permission error when reject quotation
It is not possible to reject quotation with a manual rol due to a check introduce by the issue 38011.
1. Login in webpos with a manual role with access to the reject quotation option.
2. Create a quotation for a customer: check it has been created in backend, Under Evaluation
3. Click on Menu > Reject Quotation
Process seem to be OK, but in Chrome console: serviceSuccess error: status: -1, error.message: Current user/role has no access to class org.openbravo.retail.posterminal.QuotationsReject; line: serviceSuccess (https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/4f47d66f45c7ead934bc8b8aa9b0106e_WebPOS.js:49:37 [^]) (*,+)
In backend the Quotation is still in under Evaluation
The preference to control the access to Reject Quotations is: Web POS Quotation rejections (search key: OBPOS_quotation.rejections).

However, the java process check the preferenceOBPOS_receipt.rejectquotation that does not exist.
SER-QA
related to defect 0038336 new Retail Can't Reject Quotation if No Reject Reason 
related to defect 0038011 closed jorge-garcia There are some SecuredJSONProcess classes which do not specify preference to check 
depends on backport 0038351RR18Q2 closed jorge-garcia Permission error when reject quotation 
Issue History
2018-04-12 12:12avicenteNew Issue
2018-04-12 12:12avicenteAssigned To => Retail
2018-04-12 12:12avicenteResolution time => 1525039200
2018-04-12 12:12avicenteTriggers an Emergency Pack => No
2018-04-12 12:13avicenteTag Attached: SER-QA
2018-04-12 12:24jorge-garciaStatusnew => scheduled
2018-04-12 12:24jorge-garciaAssigned ToRetail => jorge-garcia
2018-04-12 13:14hgbotCheckin
2018-04-12 13:14hgbotNote Added: 0103842
2018-04-12 13:14hgbotStatusscheduled => resolved
2018-04-12 13:14hgbotResolutionopen => fixed
2018-04-12 13:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9852add2a987ae96ad78cd3f6bf5d8cb6c72cb70 [^]
2018-04-12 14:01rafarodaRelationship addedrelated to 0038336
2018-04-12 14:01rafarodaRelationship addedrelated to 0038011
2018-04-12 14:19marvintmStatusresolved => new
2018-04-12 14:19marvintmResolutionfixed => open
2018-04-12 14:19marvintmStatusnew => scheduled
2018-04-12 14:19marvintmStatusscheduled => resolved
2018-04-12 14:19marvintmFixed in Version => RR18Q3
2018-04-12 14:19marvintmResolutionopen => fixed
2018-04-12 14:19marvintmReview Assigned To => marvintm
2018-04-12 14:19marvintmStatusresolved => closed
2018-04-12 14:21marvintmRegression level => QA functional test
2018-04-12 14:21marvintmRegression date => 2018-02-27
2018-04-12 14:21marvintmRegression introduced in release => main
2018-04-12 14:21marvintmRegression introduced by commit => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/522297061bccd57c1857bf872ebbce731cc32fcb [^]

Notes
(0103842)
hgbot   
2018-04-12 13:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9852add2a987ae96ad78cd3f6bf5d8cb6c72cb70
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 12 13:13:42 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9852add2a987ae96ad78cd3f6bf5d8cb6c72cb70 [^]

Fixed issue 38343: Permission error when reject quotation

OBPOS_receipt.rejectquotation preference without ref_list has been removed
from ad_preference sourcedata.

For QuotationsReject.java the property has been change for the one used
also in the menu entry OBPOS_quotation.rejections.

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src/org/openbravo/retail/posterminal/QuotationsReject.java
---