Odoo Help


Deleted button OpenERP7

edgard pimentel rojas
on 7/3/13, 6:36 PM 925 views

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


AJ Schrafel Paper Corp

--AJ Schrafel Paper Corp--
| 4 5 8
Bronx, United States
--AJ Schrafel Paper Corp--

Exploring OpenERP for business

AJ Schrafel Paper Corp
On 7/4/13, 1:28 AM

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"/>

Perfect, and if i want removed a button is equal

edgard pimentel rojas
on 7/5/13, 1:52 PM

Perfect, and if i want removed a button is equal

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 7/3/13, 6:36 PM
Seen: 925 times
Last updated: 3/16/15, 8:10 AM