Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5844 Widoki

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.

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
mar 19
11003
1
mar 15
6181
2
gru 20
4727
1
lip 19
4513
2
kwi 19
6493