跳至內容
選單
此問題已被標幟
1 回覆
4756 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
9月 20
37
1
9月 19
8971
1
7月 19
10685
1
3月 19
4492
1
7月 19
5825