Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5863 Prikazi

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
Opusti

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 19
11017
1
mar. 15
6201
2
dec. 20
4733
1
jul. 19
4536
2
apr. 19
6523