Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
6074 Vistas

I have a functional field like,

'invoice_id': fields.function( _get_invoice_id, method=True, string='Linked Invoice', type='many2one', relation='account.invoice', readonly=False, store=True),

Now i wanted to write a value in it uisng the write method.

Avatar
Descartar

can you explain the problem in detail, that is herr what value you wish to write in your functional field?

Mejor respuesta

When you set "store=True", OpenERP will already write the calculated value to the database.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 19
11266
1
mar 15
6418
2
dic 20
4959
1
jul 19
4749
2
abr 19
6808