[FIX] base: ir_ui_view don't call clear cache in dev mode since decorator is conditionnal
[FIX] base: ir_ui_view don't call clear cache in dev mode since decorator is conditionnal

If we are in dev mode, _read_template has no cache, so impossible to clear the cache.
Some code call directly the _read_template, it's why the condition is duplicated (fe4df440a0da24cb35ae80c4b3d9ae6242a155ae)

dfang/odoo,bplancher/odoo,microcom/odoo,laslabs/odoo,mkieszek/odoo,hip-odoo/odoo,ygol/odoo,Elico-Corp/odoo_OCB,stephen144/odoo,ygol/odoo,laslabs/odoo,microcom/odoo,tvtsoft/odoo8,tvtsoft/odoo8,mkieszek/odoo,laslabs/odoo,dfang/odoo,storm-computers/odoo,optima-ict/odoo,stephen144/odoo,stephen144/odoo,stephen144/odoo,storm-computers/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,mkieszek/odoo,microcom/odoo,storm-computers/odoo,ygol/odoo,stephen144/odoo,bplancher/odoo,ygol/odoo,bplancher/odoo,sysadminmatmoz/OCB,tvtsoft/odoo8,microcom/odoo,mkieszek/odoo,sysadminmatmoz/OCB,optima-ict/odoo,dfang/odoo,syci/OCB,ygol/odoo,laslabs/odoo,mkieszek/odoo,tvtsoft/odoo8,storm-computers/odoo,bplancher/odoo,sysadminmatmoz/OCB,syci/OCB,hip-odoo/odoo,Elico-Corp/odoo_OCB,optima-ict/odoo,stephen144/odoo,hip-odoo/odoo,storm-computers/odoo,syci/OCB,optima-ict/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,optima-ict/odoo,syci/OCB,bplancher/odoo,tvtsoft/odoo8,syci/OCB,laslabs/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,dfang/odoo,ygol/odoo,sysadminmatmoz/OCB,microcom/odoo,mkieszek/odoo,syci/OCB,bplancher/odoo,hip-odoo/odoo,hip-odoo/odoo,microcom/odoo,sysadminmatmoz/OCB,optima-ict/odoo,tvtsoft/odoo8,ygol/odoo,dfang/odoo,Elico-Corp/odoo_OCB,dfang/odoo,sysadminmatmoz/OCB,Elico-Corp/odoo_OCB