Skip to Content
Menú
This question has been flagged
1 Respondre
5687 Vistes

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?

Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de març 19
10856
1
de març 15
6028
2
de des. 20
4595
1
de jul. 19
4395
2
d’abr. 19
6341