Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4762 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
sept. 20
37
1
sept. 19
8971
1
iul. 19
10689
1
mar. 19
4495
1
iul. 19
5826