Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2462 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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>
Awatar
Odrzuć
Autor

Perfect, and if i want removed a button is equal

Autor Najlepsza odpowiedź

Perfect, and if i want removed a button is equal

Awatar
Odrzuć