Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035551Retail ModulesWeb POSpublic2017-03-17 09:302017-03-24 13:05
kchoperena 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR17Q2 
marvintm
No
0035551: [SERQA 2628] BeforeCustomerSave and BeforeCustomerAddrSave does not allow to access the window component.
To allow make modifications or validations in the hooks before mandatory fields for the window has been checked it is necessary to add the window as an argument in the hook.

preCustomerSave and preCustomerAddressSave hooks, have the window as argument, but those hooks are executed before mandatory fields validation.
N/A
Attached patch
No tags attached.
diff customerSharedComponents.diff (1,724) 2017-03-17 09:30
https://issues.openbravo.com/file_download.php?file_id=10579&type=bug
Issue History
2017-03-17 09:30kchoperenaNew Issue
2017-03-17 09:30kchoperenaAssigned To => Retail
2017-03-17 09:30kchoperenaFile Added: customerSharedComponents.diff
2017-03-17 09:30kchoperenaResolution time => 1490911200
2017-03-17 09:30kchoperenaTriggers an Emergency Pack => No
2017-03-17 12:15ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-03-17 12:15ranjith_qualiantech_comStatusnew => scheduled
2017-03-20 06:23hgbotCheckin
2017-03-20 06:23hgbotNote Added: 0095409
2017-03-20 06:23hgbotStatusscheduled => resolved
2017-03-20 06:23hgbotResolutionopen => fixed
2017-03-20 06:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a0cec048d9c527b26b13d6dd731189c58062e368 [^]
2017-03-24 13:05marvintmReview Assigned To => marvintm
2017-03-24 13:05marvintmStatusresolved => closed
2017-03-24 13:05marvintmFixed in Version => RR17Q2

Notes
(0095409)
hgbot   
2017-03-20 06:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a0cec048d9c527b26b13d6dd731189c58062e368
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 20 10:53:20 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a0cec048d9c527b26b13d6dd731189c58062e368 [^]

Fixes issue 35551 : Added Context as argument to Customer Save Hook for validations

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/components/sharedcomponents.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/components/sharedcomponents.js
---