Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6217 Vues

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
Ignorer

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

Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
mars 19
11394
1
mars 15
6594
2
déc. 20
5067
1
juil. 19
4862
2
avr. 19
6953