[FIX] ir_qweb: useless test in js bundle generation
[FIX] ir_qweb: useless test in js bundle generation

If one of the javascript files of the bundle has been modified since the
bundle generation, we are sure that get_attachments will return an empty
list because it searches with the version of the bundle which takes into
account the last modification of any of the bundle's content.

Also, this check is not present in the css bundle generation.

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