Skip to Content
Menu
This question has been flagged
1 Odpoveď
5221 Zobrazenia


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
Zrušiť
Autor 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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
máj 24
10942
1
máj 25
1074
2
feb 25
9888
1
jan 25
1870
2
sep 22
9612