跳至內容
選單
此問題已被標幟
1 回覆
5781 瀏覽次數

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
3月 19
10967
1
3月 15
6143
2
12月 20
4693
1
7月 19
4472
2
4月 19
6439