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

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.

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 20
37
1
zář 19
8975
1
čvc 19
10695
1
bře 19
4498
1
čvc 19
5834