Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029459Retail ModulesWeb POSpublic2015-03-30 17:392016-07-14 09:10
aaroncalero 
shivum039 
normalminorhave not tried
closedopen 
5
 
 
marvintm
No
0029459: tap function of OB.UI.ProfileDialogApply needs a hook to allow extending its functionality
The OB.UI.ProfileDialogApply component needs a hook in its tap function to allow extending the standard functionality from modules other than mobile core.
Example: we need to load certain field in the backend when the user selects a default role. Currently we need to override the existing function and manually control that the previous code is executed.
Try to extend the OB.UI.ProfileDialogApply button and add functionality to the tap function.
Verify that this is not possible without overwriting the existing tap()
Add a hook to the tap() function of the OB.UI.ProfileDialogApply component (located in org.openbravo.mobile.core)
No tags attached.
related to defect 0027891 closed Osmany "Set as default" role does NOT work properly in POS 
Issue History
2015-03-30 17:39aaroncaleroNew Issue
2015-03-30 17:39aaroncaleroAssigned To => aaroncalero
2015-03-30 17:39aaroncaleroTriggers an Emergency Pack => No
2015-03-30 17:39aaroncaleroRelationship addedrelated to 0027891
2015-03-30 18:21aaroncaleroAssigned Toaaroncalero => Retail
2015-06-15 18:11marvintmTarget VersionRR15Q3 => RR15Q4
2015-09-29 14:29OrekariaTarget VersionRR15Q4 =>
2016-03-30 15:13shivum039Assigned ToRetail => shivum039
2016-03-30 15:13shivum039Statusnew => scheduled
2016-03-30 15:23OrekariaAssigned Toshivum039 => Retail
2016-03-30 15:23OrekariaStatusscheduled => acknowledged
2016-03-30 15:31OrekariaSeveritymajor => minor
2016-04-12 12:59shivum039Assigned ToRetail => shivum039
2016-04-12 12:59shivum039Statusacknowledged => scheduled
2016-04-25 11:11OrekariaAssigned Toshivum039 => Retail
2016-04-25 11:11OrekariaStatusscheduled => acknowledged
2016-04-25 11:11OrekariaStatusacknowledged => scheduled
2016-04-25 11:11OrekariaAssigned ToRetail => shivum039
2016-05-04 14:05shivum039Assigned Toshivum039 => Retail
2016-05-04 14:05shivum039Statusscheduled => acknowledged
2016-07-05 10:30hgbotCheckin
2016-07-05 10:30hgbotNote Added: 0088198
2016-07-05 10:31hgbotCheckin
2016-07-05 10:31hgbotNote Added: 0088199
2016-07-05 10:32hgbotCheckin
2016-07-05 10:32hgbotNote Added: 0088201
2016-07-05 10:34shivum039Assigned ToRetail => shivum039
2016-07-05 10:34shivum039Statusacknowledged => scheduled
2016-07-05 10:34shivum039Statusscheduled => resolved
2016-07-14 09:10marvintmReview Assigned To => marvintm
2016-07-14 09:10marvintmStatusresolved => closed

Notes
(0088198)
hgbot   
2016-07-05 10:30   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 45b48ad5508b89eda87d7bcf8088a9ee44b16ef4
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Tue Jul 05 13:58:50 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/45b48ad5508b89eda87d7bcf8088a9ee44b16ef4 [^]

Reated To Issue 29459 : The New Hook Has Been Implemented For the Tap on ProfileDialogApply Component.

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
---
(0088199)
hgbot   
2016-07-05 10:31   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 347bf6c51cd503b69f1c0f645d3f593471ef7bcc
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Tue Jul 05 13:59:08 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/347bf6c51cd503b69f1c0f645d3f593471ef7bcc [^]

Related To Issue 29459: The Newly Created Hook which is Implemented In the " OB-Profile.js Resource " Has Been Registered .and Removed the Extended Tap Functionality .

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0088201)
hgbot   
2016-07-05 10:32   
Repository: tools/automation/pi-mobile
Changeset: 455a292efb1c7b25928c5de5b0078e2c04ca588e
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Tue Jul 05 13:57:29 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/455a292efb1c7b25928c5de5b0078e2c04ca588e [^]

Verifies Issue 29459 :The Autamated Test Has Been Added .

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I29459_HookProfileDialogApply.java
---