In Odoo / OpenERP 7, I have a null numeric column called balance
'balance': fields.float (string = 'Balance', digits = (20,2))
I am trying to use Python code to update Nonein a field
self.write (cr, uid, [1], {'balance': None})
but unfortunately Python treats None the same as 0, so I end up with 0 in DB instead of the expected Null.
Any pointers to how I can use the write command to store a null value?
source
share