Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4760 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
вер. 20
37
1
вер. 19
8971
tree control attribute Вирішено
1
лип. 19
10689
1
бер. 19
4495
1
лип. 19
5826