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
5968 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
11157
1
mar 15
6301
2
gru 20
4837
1
lip 19
4648
2
kwi 19
6665