[FIX] im_livechat : assets controller was broken
[FIX] im_livechat : assets controller was broken

The commit 6327cda0a79a6cbae1d5f9981aed27d26cdad4fe introduce mock_attachment object, replacing ir.attachment. This new object doesn't not have id attribute : accessing it crashes. livechat controller needs to search on the mock url to generate the status, headers and content of the response via binary_content() method.

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