Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1471 Widoki

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? 

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 23
1951
2
paź 22
5605
0
cze 22
2231
2
kwi 20
12972
4
gru 19
5326