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
5856 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
11013
1
bře 15
6194
2
pro 20
4732
1
čvc 19
4526
2
dub 19
6511