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
6360 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
11595
1
mar 15
6778
2
gru 20
5225
1
lip 19
5027
2
kwi 19
7166