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

Hello everybody;

May anyone help me know how can i create a new control create in the tree of a field one2many ?

Thanks a lot in advance.

Best regards.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

<control>
    <create string="Add Item" context="default_my_field: 'value'"/>
<control>

so when you Add Item it will set a default value to newly create a line. In odoo use of control is very limited (for add a section and note). basically it's used for display sale order line as section or note as per control-click.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 20
37
1
wrz 19
8973
1
lip 19
10692
1
mar 19
4496
1
lip 19
5831