[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] Inheriting inherited views?

From: Sebastián Marró
Subject: Re: [Health-dev] Inheriting inherited views?
Date: Fri, 15 Feb 2013 16:11:04 -0300

Hi Chrislene

2013/2/15 Chrislene Legaspina <address@hidden>

I can't uninstall the socioeconomics module. It says that it depends on a currently installed module which is health. Is there a way where I can hide the socioeconomics tab by not uninstalling it?

If you are not using the socioeconomics module, better to start a new database without that module. But if you can't, and you want to hide the socioeconomics tab, you can put something like this in a xml file of a custom module:

        <record model="ir.ui.view" id="gnuhealth_patient_form_mycustomview">
            <field name="model">gnuhealth.patient</field>
            <field name="inherit" ref="health.gnuhealth_patient_view_form"/>
            <field name="arch" type="xml">
<page string="Socioeconomics" id="page_socioeconomics"
states="{'invisible': True}"/>


Sebastián Marró
Converging Ideas for Emerging Realities

reply via email to

[Prev in Thread] Current Thread [Next in Thread]