Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1521 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 23
2010
2
říj 22
5644
0
čvn 22
2264
2
dub 20
13046
4
pro 19
5364