Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1859 Lượt xem

Hello, currently I am working on odoo v15 in this I want to remove an existing widget from an inbuilt module using an inherited template.

How can I achieve this?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can inherit the corresponding view and using xpath, you can remove the widget from the field.

Sample:


<field name="subs" position="attributes">
<attribute name="widget">attribute>
field>



Thanks & Regards

Walnut Software Solutions

Ảnh đại diện
Huỷ bỏ