Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1511 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ott 23
1988
2
ott 22
5622
0
giu 22
2250
2
apr 20
13014
4
dic 19
5355