Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028829Retail ModulesWeb POSpublic2015-01-31 23:272015-03-13 15:13
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR15Q2RR15Q2 
adrianromero
No
0028829: Solve deprecation warnings in console caused by usage of deprecated api
An example of the message:

Deprecated (since RR14Q4.0): 'OB.MobileApp.model.hookManager' is a child of the model of the terminal. Please use 'OB.UTIL.HookManager' instead. More info: http://wiki.openbravo.com/wiki/How_to_Add_Hooks. [^] [^] Hook: 'OBPOS_PreAddProductToOrder'; line: Object.hookManager.registerHook
This issue is a placeholder for a change in several modules. As the change is minor they can be done in one issue.
No tags attached.
depends on defect 0027349RR14Q4 closed Orekaria [API Deprecation] The HookManager does not have to depend on the OB.MobileApp.model object 
Issue History
2015-01-31 23:27mtaalNew Issue
2015-01-31 23:27mtaalAssigned To => mtaal
2015-01-31 23:27mtaalTriggers an Emergency Pack => No
2015-03-10 12:56OrekariaRelationship addeddepends on 0027349
2015-03-10 13:59hgbotCheckin
2015-03-10 13:59hgbotNote Added: 0075380
2015-03-10 13:59hgbotCheckin
2015-03-10 13:59hgbotNote Added: 0075381
2015-03-10 14:00hgbotCheckin
2015-03-10 14:00hgbotNote Added: 0075382
2015-03-10 14:00hgbotCheckin
2015-03-10 14:00hgbotNote Added: 0075383
2015-03-10 14:01hgbotCheckin
2015-03-10 14:01hgbotNote Added: 0075384
2015-03-10 14:02hgbotCheckin
2015-03-10 14:02hgbotNote Added: 0075385
2015-03-10 14:02hgbotCheckin
2015-03-10 14:02hgbotNote Added: 0075386
2015-03-10 14:03hgbotCheckin
2015-03-10 14:03hgbotNote Added: 0075388
2015-03-10 14:03hgbotCheckin
2015-03-10 14:03hgbotNote Added: 0075389
2015-03-10 14:05hgbotCheckin
2015-03-10 14:05hgbotNote Added: 0075391
2015-03-10 14:08mtaalStatusnew => scheduled
2015-03-10 14:08mtaalNote Added: 0075392
2015-03-10 14:08mtaalNote Added: 0075393
2015-03-10 14:08mtaalStatusscheduled => resolved
2015-03-10 14:08mtaalFixed in Version => RR15Q2
2015-03-10 14:08mtaalResolutionopen => fixed
2015-03-13 15:13adrianromeroReview Assigned To => adrianromero
2015-03-13 15:13adrianromeroNote Added: 0075569
2015-03-13 15:13adrianromeroStatusresolved => closed

Notes
(0075380)
hgbot   
2015-03-10 13:59   
Repository: erp/pmods/org.openbravo.retail.taxexempt
Changeset: 9c3d84a82ba5c94e08fbd14064e4eeffcaa14c4c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 13:58:50 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.taxexempt/rev/9c3d84a82ba5c94e08fbd14064e4eeffcaa14c4c [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.taxexempt/js/hookCheckPayment.js
M web/org.openbravo.retail.taxexempt/js/hookFindTaxRate.js
M web/org.openbravo.retail.taxexempt/js/hookRenderOrderLine.js
---
(0075381)
hgbot   
2015-03-10 13:59   
Repository: erp/pmods/org.openbravo.retail.trainingmode
Changeset: 33dd94ff38b2c1f6bfd2ab81769ab877cbae5689
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 13:59:42 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.trainingmode/rev/33dd94ff38b2c1f6bfd2ab81769ab877cbae5689 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.trainingmode/js/ordersavehook.js
M web/org.openbravo.retail.trainingmode/js/preprinthook.js
---
(0075382)
hgbot   
2015-03-10 14:00   
Repository: erp/pmods/org.openbravo.retail.stockcriteria
Changeset: 73238bd735e5db3ee8a962340fd32be13d97b434
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:00:11 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.stockcriteria/rev/73238bd735e5db3ee8a962340fd32be13d97b434 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.stockcriteria/js/hookStockCriteria.js
---
(0075383)
hgbot   
2015-03-10 14:00   
Repository: erp/pmods/org.openbravo.retail.printlast
Changeset: 4392275878a277dfa492d9b9ba129ed0b1486c36
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:00:40 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.printlast/rev/4392275878a277dfa492d9b9ba129ed0b1486c36 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.printlast/js/hookAlwaysPrint.js
---
(0075384)
hgbot   
2015-03-10 14:01   
Repository: erp/pmods/org.openbravo.retail.activediscountspopup
Changeset: 73e48eefec6b81e6208872eb27b916e8693cb9f7
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:01:33 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.activediscountspopup/rev/73e48eefec6b81e6208872eb27b916e8693cb9f7 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.activediscountspopup/js/active-discounts-hook.js
---
(0075385)
hgbot   
2015-03-10 14:02   
Repository: erp/pmods/org.openbravo.retail.bestsellers
Changeset: 72e9074325e6a9bf4344aac0cf20f2802472bf17
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:02:03 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/rev/72e9074325e6a9bf4344aac0cf20f2802472bf17 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.bestsellers/js/components/ModelHooks.js
---
(0075386)
hgbot   
2015-03-10 14:02   
Repository: erp/pmods/org.openbravo.retail.discounts.bestdeal
Changeset: 5de7116c740f3476f65b94ec23d88090ff269783
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:02:37 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/5de7116c740f3476f65b94ec23d88090ff269783 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.discounts.bestdeal/source/discounts-best-deal-case.js
---
(0075388)
hgbot   
2015-03-10 14:03   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: a4c11cebf7eb5e112409d2f4856f2cfa421ac3cd
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:03:02 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/a4c11cebf7eb5e112409d2f4856f2cfa421ac3cd [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.giftcards/js/components/GiftCardCancel.js
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
---
(0075389)
hgbot   
2015-03-10 14:03   
Repository: erp/pmods/org.openbravo.retail.loyalty
Changeset: afcb31cc9320c8712a7af18008e8d893db0a2b87
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:03:27 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty/rev/afcb31cc9320c8712a7af18008e8d893db0a2b87 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.loyalty/js/view/checkPaymentApprovalHook.js
M web/org.openbravo.retail.loyalty/js/view/preAddPaymentHook.js
---
(0075391)
hgbot   
2015-03-10 14:05   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 3c39bfd9def0f7bd369bd463f602fbae9f0195b9
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 10 14:04:06 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/3c39bfd9def0f7bd369bd463f602fbae9f0195b9 [^]

Related to issue 28829: Solve deprecation warnings in console caused by usage of deprecated api
Replaced OB.MobileApp.model.hookManager with OB.UTIL.HookManager

---
M web/org.openbravo.retail.sessions/js/components/editcashupreporthook.js
M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/components/orderdetailshook.js
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
M web/org.openbravo.retail.sessions/js/countcash/tabcountcash.js
---
(0075392)
mtaal   
2015-03-10 14:08   
See commits
(0075393)
mtaal   
2015-03-10 14:08   
See commits
(0075569)
adrianromero   
2015-03-13 15:13   
Verified