Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5229 Visualizações


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
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 24
10949
1
mai. 25
1075
2
fev. 25
9889
1
jan. 25
1879
2
set. 22
9620