Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8307655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:34:18+00:00 2026-06-08T18:34:18+00:00

Is there a way to override openerp’s default views, developing a module instead of

  • 0

Is there a way to override openerp’s default views, developing a module instead of doing it manually from Settings / Customization / User Interface / Views…?

We are using OpenERP and customizing a lot of default views (Project List, Invoice List, Invoice Search etc) adding and hiding fields from list and search filters / groups, we are doing it manually view by view from web client.
Is there a way to develop a module where I can write the xml for all the views I want to customize, and when I install that module all that views (and window actions as well) will be updated?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:34:19+00:00Added an answer on June 8, 2026 at 6:34 pm

    You can use View Inheritance to customize any view using XML files.

    Using inheritance, you can add, remove and replace elements to any view. You can also define new complete views to replace the default instead of inheritance. Just create a new module with the XML files that customizes or replaces the current views and load that module. The module folder should contain only __init__.py, __openerp__.py and the XML files.

    Here is a simple example to remove the EAN13 field from the product view.


    __init__.py empty file


    __openerp__.py:

    {
        "name" : "View Customization Test",
        "version" : "1.0",
        "category" : "Generic Modules/Inventory Control",
        'depends' : ['product',],
        "update_xml" : ["product.xml",],
        "installable": True,
        "active": True
    }
    

    product.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <openerp>
      <data>
        <record model="ir.ui.view" id="view_product_form_custom">
          <field name="name">product.form.inherit2</field>
          <field name="model">product.product</field>
          <field name="inherit_id" ref="product.product_normal_form_view" />
          <field name="arch" type="xml">
            <field name="ean13" position="replace" />
          </field>
        </record>
      </data>
    </openerp>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Aside from the GL Support, is there a way to override locale settings with
Is there a way to override color derived from a CSS class in tag.
Is there a way to override Jena's default method for generating anonymous node IDs?
Is there a way to override the default 400 redirect (set in web.config) on
Is there any way to override z-index inheritance from parent elements when using absolute
BizTalk produced namespace default prefix as NS0. Is there a way to override it
Is there a way to override npm's version checking against a packages.json file from
Is there a way to override the sinatra default NotFound error page (Sinatra doesnt
Is there a way to override default MVC3 WebGrid sorting behavior to call my
Proceeding from this post on histogramming, is there a way to override the histogram

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.