[FIX] website: wrong computation of view
[FIX] website: wrong computation of view

get_template should accept ids or xml ids. However the id or xml_id is given
to IrUiView.get_view_id that waits for an xml_id. get_template crashed if it
received an id.

This commit solves this by setting view_id to the given id, or resolve the xml_id
through get_view_id.

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