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.
can you explain the problem in detail, that is herr what value you wish to write in your functional field?