[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health-dev] Inheriting inherited views?
From: |
Luis Falcon |
Subject: |
Re: [Health-dev] Inheriting inherited views? |
Date: |
Fri, 15 Feb 2013 22:09:37 -0300 |
Hello
On Fri, Feb 15, 2013 at 9:36 AM, Chrislene Legaspina
<address@hidden> wrote:
> Hi
>
> 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?
>
Yes. As a general rule, __never__ uninstall a previously installed
module. It could break your current DB instance.
> Also, I was referring to the socioeconomics xml view when I told you about
> the socioeconomics as a "custom" module because its xml view is inherited
> from the xml view of health module. Sorry if I used the the wrong term and
> if I confused you.
To "erase" the tab (a tab is a notebook "page" in Tryton ), you can
replace the socioeconomics page
Do something like this in your module view.
<xpath
expr="/form/notebook/address@hidden'page_socioeconomics']"
position="replace"/>
Let us know if it you got it working.
Just out of curiosity, and probably for another thread.... why would
you want to get rid of the patient's socioeconomic information ? I
find socioeconmics a key element as a determinant of health.
Best,
>
> Regards,
> Chrislene
>
>
> On Tue, Feb 12, 2013 at 10:37 AM, Luis Falcon <address@hidden>
> wrote:
>>
>> Hi Chrislene
>>
>> On Sun, Feb 10, 2013 at 10:46 AM, Chrislene Legaspina
>> <address@hidden> wrote:
>> > Hello,
>> >
>> > How can I hide the Socioeconomics tab in the Patient History? I am able
>> > to
>> > hide different views from the default module but since Socioeconomics is
>> > a
>> > "custom" module I'm at lost on how to hide its tab.
>> > Sorry for the very simple question. Thank you very much!
>> >
>> Socioeconomics is a module, so by not installing the socioeconomics
>> module, you should be OK.
>>
>> What do you mean by a "custom" module ?
>>
>> Best,
>> > Regards,
>> > Chrislene
>>
>>
>>
>> --
>> Luis Falcon
>> GNU Health
>> http://health.gnu.org
>>
>
--
Luis Falcon
GNU Health
http://health.gnu.org