[FIX] base: ir_ui_view fix dev mode
[FIX] base: ir_ui_view fix dev mode

Fix traceback when a view had %()d or %()s
Now we replace it by the related id.

fix #8193

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