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


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.








頭像
捨棄
作者 最佳答案

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. 


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
5月 24
10930
1
5月 25
1068
2
2月 25
9881
1
1月 25
1859
2
9月 22
9599