[FIX] fields.reference: don't accept half-defined references, and avoid crashing on previous bad ones
[FIX] fields.reference: don't accept half-defined references, and avoid crashing on previous bad ones

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server