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


Hi,

I am using sale module in my custom addon. What I want to do is to override the sale.order one2many order_id field's add an item button to open a window rather than to insert values directly. This one2many field is in relation with sale.order.line. Any good suggestion will be appreciated. Thanks.








Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Actually there was a attribute editable="top" in the view of the one2many field that was causing inserting record directly to tree view of the one2many field. Removing this attribute caused view's add an item button to open a window (Form View) for record insertion. 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
10926
1
thg 5 25
1067
2
thg 2 25
9881
1
thg 1 25
1853
2
thg 9 22
9599