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

Hi, I want to deleted a button of form fleet vehicle. the button I should deleted is services. Any suggestion.

Аватар
Отменить
Лучший ответ

Create a custom module that inherits the xml from the form you want to modify. Here is an example of the code you should use.

<record model="ir.ui.view" id="view_partner_form2">
    <field name="name">res.partner.form.inherit2</field>
    <field name="model">res.partner</field>
    <field name="inherit_id" ref="base.view_partner_form"/>
    <field name="arch" type="xml">
        <field name="lang" position="replace"/>
    </field>
</record>
Аватар
Отменить
Автор

Perfect, and if i want removed a button is equal

Автор Лучший ответ

Perfect, and if i want removed a button is equal

Аватар
Отменить