Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6223 Zobrazení

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
Zrušit

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

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
bře 19
11404
1
bře 15
6599
2
pro 20
5070
1
čvc 19
4872
2
dub 19
6965