Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5787 Visninger

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
Kassér

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

Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
mar. 19
10977
1
mar. 15
6157
2
dec. 20
4702
1
jul. 19
4481
2
apr. 19
6450