Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5852 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 19
11008
1
thg 3 15
6190
2
thg 12 20
4731
1
thg 7 19
4522
2
thg 4 19
6504