Openbravo Issue Tracking System - Retail Modules  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0028829 | Retail Modules | Web POS | public | 2015-01-31 23:27 | 2015-03-13 15:13 | 
  | 
| Reporter | mtaal |   | 
| Assigned To | mtaal |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version | RR15Q2 | Fixed in Version | RR15Q2 |   | 
| Merge Request Status |  | 
| Review Assigned To | adrianromero | 
| OBNetwork customer | No | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0028829: Solve deprecation warnings in console caused by usage of deprecated api | 
| Description | 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  | 
| Steps To Reproduce | This issue is a placeholder for a change in several modules. As the change is minor they can be done in one issue. | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | depends on  | defect  | 0027349 | RR14Q4  | closed  | Orekaria  | [API Deprecation] The HookManager does not have to depend on the OB.MobileApp.model object  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2015-01-31 23:27 | mtaal | New Issue |  | 
| 2015-01-31 23:27 | mtaal | Assigned To |  => mtaal | 
| 2015-01-31 23:27 | mtaal | OBNetwork customer |  => No | 
| 2015-01-31 23:27 | mtaal | Triggers an Emergency Pack |  => No | 
| 2015-03-10 12:56 | Orekaria | Relationship added | depends on 0027349 | 
| 2015-03-10 13:59 | hgbot | Checkin |  | 
| 2015-03-10 13:59 | hgbot | Note Added: 0075380 |  | 
| 2015-03-10 13:59 | hgbot | Checkin |  | 
| 2015-03-10 13:59 | hgbot | Note Added: 0075381 |  | 
| 2015-03-10 14:00 | hgbot | Checkin |  | 
| 2015-03-10 14:00 | hgbot | Note Added: 0075382 |  | 
| 2015-03-10 14:00 | hgbot | Checkin |  | 
| 2015-03-10 14:00 | hgbot | Note Added: 0075383 |  | 
| 2015-03-10 14:01 | hgbot | Checkin |  | 
| 2015-03-10 14:01 | hgbot | Note Added: 0075384 |  | 
| 2015-03-10 14:02 | hgbot | Checkin |  | 
| 2015-03-10 14:02 | hgbot | Note Added: 0075385 |  | 
| 2015-03-10 14:02 | hgbot | Checkin |  | 
| 2015-03-10 14:02 | hgbot | Note Added: 0075386 |  | 
| 2015-03-10 14:03 | hgbot | Checkin |  | 
| 2015-03-10 14:03 | hgbot | Note Added: 0075388 |  | 
| 2015-03-10 14:03 | hgbot | Checkin |  | 
| 2015-03-10 14:03 | hgbot | Note Added: 0075389 |  | 
| 2015-03-10 14:05 | hgbot | Checkin |  | 
| 2015-03-10 14:05 | hgbot | Note Added: 0075391 |  | 
| 2015-03-10 14:08 | mtaal | Status | new => scheduled | 
| 2015-03-10 14:08 | mtaal | Note Added: 0075392 |  | 
| 2015-03-10 14:08 | mtaal | Note Added: 0075393 |  | 
| 2015-03-10 14:08 | mtaal | Status | scheduled => resolved | 
| 2015-03-10 14:08 | mtaal | Fixed in Version |  => RR15Q2 | 
| 2015-03-10 14:08 | mtaal | Resolution | open => fixed | 
| 2015-03-13 15:13 | adrianromero | Review Assigned To |  => adrianromero | 
| 2015-03-13 15:13 | adrianromero | Note Added: 0075569 |  | 
| 2015-03-13 15:13 | adrianromero | Status | resolved => 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   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0075383)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2015-03-10 14:00   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0075384)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2015-03-10 14:01   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0075385)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2015-03-10 14:02   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0075386)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2015-03-10 14:02   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(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   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0075393)
			 | 
		 
		
			| 
				mtaal   
			 | 
		 
		
			| 
				2015-03-10 14:08   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 |