تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5837 أدوات العرض

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.

الصورة الرمزية
إهمال

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

أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 19
10998
1
مارس 15
6179
2
ديسمبر 20
4726
1
يوليو 19
4509
2
أبريل 19
6483