İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6119 Görünümler

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
Vazgeç

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

En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Mar 19
11313
1
Mar 15
6482
2
Ara 20
4989
1
Tem 19
4801
2
Nis 19
6862