Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1485 Vistas

We want to adapt the way quotations (sales order) are edited. We want to add a number of fields for our own administration. Problem is that the tree view containing the order lines gets too wide. What are options of stashing away some of these fields (i.e. columns) in pop-ups that open one you click a field? Or is the only option to make that list contain only read-only but clickable rows that, when clicked or a new row is added, opens a complete form showing all the fields for that line? 

Avatar
Descartar
Mejor respuesta

Set the One2many field tree to be non-editable [ just remove editable attribute ]  and define a form view for that particular One2many field within the XML.



When you write the code in this manner, clicking on the line of One2many field opens the form view instead of allowing direct editing within the line.

Avatar
Descartar
Autor Mejor respuesta

Thanks for your answer Aravind S4. It does clear some things up.

But do I understand correctly there is no 'hybrid' way of editing values both on/in a row and in a form popping up when clicking somewhere on the same row?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 23
1968
2
oct 22
5607
0
jun 22
2232
2
abr 20
12984
4
dic 19
5332