Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022445Retail ModulesWeb POSpublic2012-12-02 10:392012-12-07 13:02
iciordia 
marvintm 
immediatecriticalalways
closedfixed 
5any
RMP16 
RMP17RMP17 
No
0022445: Customer org validation when synchronizing orders is too strict
-Using an organization tree as follows (you can use White Valley data to reproduce it):
*
  A
    A1
    A2
-Create a Customer in organization A
-Using a role with write access to A1 and without write access privilege to A, in WebPOS create a ticket in organization A1 referencing to the Customer in org A
-The sync fails with a DAL error (requiring the Customer to be in "writtable organizations": A1 or *)
See above
If the ticket is created directly in the back-end with the same role, it does not fail (the validation for the customer

Attached work-around skipping org validation when saving the ticket
No tags attached.
diff diffBpartnerOrg.diff (565) 2012-12-02 10:39
https://issues.openbravo.com/file_download.php?file_id=5782&type=bug
Issue History
2012-12-02 10:39iciordiaNew Issue
2012-12-02 10:39iciordiaAssigned To => marvintm
2012-12-02 10:39iciordiaFile Added: diffBpartnerOrg.diff
2012-12-05 11:08hgbotCheckin
2012-12-05 11:08hgbotNote Added: 0054724
2012-12-05 11:08hgbotStatusnew => resolved
2012-12-05 11:08hgbotResolutionopen => fixed
2012-12-05 11:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb09005ab60aabaa300780aeda60392aaaf280f7 [^]
2012-12-07 13:02guilleaerNote Added: 0054773
2012-12-07 13:02guilleaerStatusresolved => closed
2012-12-07 13:02guilleaerFixed in Version => RMP17

Notes
(0054724)
hgbot   
2012-12-05 11:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: bb09005ab60aabaa300780aeda60392aaaf280f7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Dec 05 11:07:15 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb09005ab60aabaa300780aeda60392aaaf280f7 [^]

Fixed issue 22445. Business partner will be modified in admin mode without filtering.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0054773)
guilleaer   
2012-12-07 13:02   
tested and verified