Master wmsstaging4 jco

Product and product template views: statbuttons, phantom BoMs, mrp routing extra move (outsourcing migration), inventory update bug
use new function for that that raises and catch the error if the xml reference is not present in the system (xmlid_to_res_model_res_id or xmlid_to_res_id)