跳至內容
選單
此問題已被標幟
2 回覆
489 瀏覽次數
What is the name of the field that allows you to import a section or a note in the order line?


頭像
捨棄
最佳答案

Hi,

For adding  'add a note' or 'add a section' in one2many fields like orderline, you can use the code below:

<control>
    <create name="add_line_control" string="Add a line"/>
<create name="add_section_control" string="Add a section" context="{'default_display_type':
        'line_section'}"/>
<create name="add_note_control" string="Add a note" context="{'default_display_type': 'line_note'}"/>
</control>


Hope it helps

頭像
捨棄
作者 最佳答案

Gracias !! Lo validare, Saludos !!

頭像
捨棄