[FIX] product_visible_discount: no crash when no pricelist passed or product without company

Fixes an error introduced in f6fb2b6
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-linux64