Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5783 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 19
10967
1
มี.ค. 15
6144
override write on res.partner แก้ไขแล้ว
2
ธ.ค. 20
4693
write method in odoo 12 แก้ไขแล้ว
1
ก.ค. 19
4473
@api.onchange doesn't save in Odoo11? แก้ไขแล้ว
2
เม.ย. 19
6439