Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0044813 | Openbravo ERP | 04. Warehouse management | public | 2020-08-13 15:58 | 2020-09-09 13:30 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | inigo_lerga |   | 
| Priority | normal | Severity | major | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version | PR20Q4 |   | 
| Merge Request Status | approved | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Web browser |  | 
| Modules | Core | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0044813: SL_CreateLines_Conversion_UOM callout is old-style callout (not SimpleCallout) but also used in manual HTML code | 
| Description | This file was not yet refactored to be a SimpleCallout as it is also used as a Servlet directly from manual HTML code: 
 
Issue 44795 tries to get rid of all callouts registered in ad_callout which are still a Servlet. 
 
Registered as ad_callout here: 
./src-db/database/sourcedata/AD_CALLOUT.xml:<!--775917C69E0A45FFB22AEDD232C9D464-->  <NAME><![CDATA[SL_CreateLines_Conversion_UOM]]></NAME> 
 
Used manually in this file: 
./src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_ShipmentPO.html:         submitCommandFormParameter('DEFAULT', frmMain.inpOrderlineId, varId, false, null, '..> 
 
 
Checking usage in PI + all modules does not show not any reference to ad_callout _id = 775917C69E0A45FFB22AEDD232C9D464. 
 
So when that is verified easy 'fix' would be to change this file to be just a manual servlet (ad_model_object) and remove the ad_callout entry | 
| Steps To Reproduce | - | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | defect  | 0044812 |   | closed  | inigo_lerga  | SL_MInOutTraceReports callout is old-style callout (not SimpleCallout) but also used in manual HTML code  |  | blocks  | design defect  | 0044795 |   | new  | Triage Omni OMS  | Tracking issue to refactor remaining old callouts to extend SimpleCallout  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2020-08-13 15:58 | shuehner | New Issue |  | 
| 2020-08-13 15:58 | shuehner | Assigned To |  => Triage Finance | 
| 2020-08-13 15:58 | shuehner | OBNetwork customer |  => No | 
| 2020-08-13 15:58 | shuehner | Modules |  => Core | 
| 2020-08-13 15:58 | shuehner | Triggers an Emergency Pack |  => No | 
| 2020-08-13 15:58 | shuehner | Issue generated from | 0044812 | 
| 2020-08-13 15:58 | shuehner | Relationship added | related to 0044812 | 
| 2020-08-13 15:58 | shuehner | Relationship added | blocks 0044795 | 
| 2020-08-14 12:49 | dmiguelez | Assigned To | Triage Finance => inigo_lerga | 
| 2020-09-03 13:03 | inigo_lerga | Status | new => scheduled | 
| 2020-09-04 10:22 | hgbot | Merge Request Status |  => open | 
| 2020-09-04 10:22 | hgbot | Note Added: 0122674 |  | 
| 2020-09-07 09:19 | inigo_lerga | Note Added: 0122721 |  | 
| 2020-09-07 11:20 | hgbot | Note Added: 0122734 |  | 
| 2020-09-07 11:29 | hgbot | Note Added: 0122735 |  | 
| 2020-09-07 11:30 | inigo_lerga | Note Deleted: 0122734 |  | 
| 2020-09-07 11:30 | inigo_lerga | Note Deleted: 0122674 |  | 
| 2020-09-09 13:27 | hgbot | Note Added: 0122875 |  | 
| 2020-09-09 13:29 | hgbot | Merge Request Status | open => approved | 
| 2020-09-09 13:29 | hgbot | Note Added: 0122876 |  | 
| 2020-09-09 13:29 | hgbot | Note Added: 0122877 |  | 
| 2020-09-09 13:30 | hgbot | Resolution | open => fixed | 
| 2020-09-09 13:30 | hgbot | Status | scheduled => closed | 
| 2020-09-09 13:30 | hgbot | Fixed in Version |  => PR20Q4 | 
| 2020-09-09 13:30 | hgbot | Note Added: 0122878 |  | 
| 2020-09-09 13:30 | hgbot | Note Added: 0122879 |  | 
| 2020-09-09 13:30 | hgbot | Note Added: 0122880 |  | 
	| 
		Notes	 | 
	
		 
	 | 
	
		
		
			| 
				(0122721)
			 | 
		 
		
			| 
				inigo_lerga   
			 | 
		 
		
			| 
				2020-09-07 09:19   
							 | 
		 
		 
	 | 
	
		
		
			
				After deleting the AD_CALLOUT entry for this class, there is still an AD_MODEL_OBJECT entry linked to it, which allows Tomcat to be able to make 
the Ajax call to the servlet.			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122735)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-07 11:29   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122875)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-09 13:27   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122876)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-09 13:29   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122877)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-09 13:29   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122878)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-09 13:30   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122879)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-09 13:30   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122880)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-09 13:30   
							 | 
		 
		 
	 | 
	
		
	 |