Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5777 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
10964
1
mars 15
6139
2
déc. 20
4690
1
juil. 19
4466
2
avr. 19
6433