Comment 2 for bug 684263

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote : Re: Server ORM bug V5. Error when using function field (type : boolean, store=True)

Hello Sébastien,

Indeed, the problem is that in v5 the default _symbol_set accessors were used for function fields of type boolean.
This was fixed a long time ago in v6. I'm attaching the patch that was used in v6, because the approach is possible in v5 (the patch won't probably apply cleanly because the surrounding lines have changed, though, but the idea is to handle the case of boolean types at the end of the __init__ of fields.function in the same way it was done for integer types.)

I'm assigning this to the maintenance team in case they consider the fix important and safe enough to be applied to the 5.0 branch (I think it's low-risk but also low priority). Otherwise they may close it as Fix Released in v6.0.

Thanks for raising this issue to attention :-)