[FIX] calendar: fetching images of negative ids
[FIX] calendar: fetching images of negative ids

The mimetime fetching in /web/image/... may fail if:
- calendar is installed
- `id` is a string (using ?id=42 in the URI)
- `id` is a negative number (company partners on odoo.com)

The `search` override of `ir.attachment` in calendar detects if a number is a
virtual ID when it contains a '-' and is a string.

While it is not optimal to allow both int and str format for paramter `id`, make
the verification of virtual ID in calendar more strict to only match the format
`<real>-<virtual>` and not `-<real>`

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