Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
895 Представления

I am using odoo18, and it troubles me with the control in list view that even I copied code from purchase module, it seems like not capable.

code like:

<control>
<create name="add_product_control" string="add field" context="{'default_display_type': ''}"/>
<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>

But when I click on the add a section or add a note, it always creates a record like clicking on add field.

Is there any possible solution, thanks & regards.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
авг. 25
575
1
июл. 25
503
1
июл. 25
894
1
июл. 25
1269
2
июл. 25
425