This question has been flagged
1 Reply
4220 Views


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.








Avatar
Discard
Author Best Answer

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. 


Avatar
Discard