[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] Permanently delete Lab Tests shipped with source
From: |
Luis Falcon |
Subject: |
Re: [Health] Permanently delete Lab Tests shipped with source |
Date: |
Sun, 5 Mar 2017 18:14:33 +0000 |
On Sun, 5 Mar 2017 23:05:59 +0500
Khurram Shahzad <address@hidden> wrote:
> Dear Luis,
>
> Thanks for the response.
>
> On Sun, Mar 5, 2017 at 10:03 PM, Luis Falcon <address@hidden> wrote:
>
> > Dear Khurram
> > On Sun, 5 Mar 2017 12:57:05 +0500
> > Khurram Shahzad <address@hidden> wrote:
> >
> > > Dear All,
> > >
> > > When the health_lab module is installed, it creates some lab tests
> > > (and their corresponding products). We have deleted those tests
> > > as we don't need them. But, when we update health_lab module
> > > after some customization, those tests appear again.
> > >
> > > Is there anyway that we can remove these tests permanently; i.e.
> > > when we upgrade 'health_lab' module, these tests are not inserted
> > > to database again.
> > >
> > Thanks for reporting !
> >
> > Try changing the noupdate flag to 1 on the xml file and update the
> > DB, and update the module. You can also check it on Administration
> > -> Models -> Data
> >
> > Let us know if it worked.
> >
>
> I have set this flag to 1 but it did not work. I even deleted all
> records from the xml file but it did not work.
Hmm. It should after you remove them from the instance (via Admin ->
Models -> Data ) and update the module.
Of course, try it first in a non-production server.
>
> >
> > PS: On next release we can add the "active" boolean attribute to the
> > model, so you can just de-activate them, and they will not show up.
> > It's a safer approach
>
>
> That would be really nice.
Great ! Thanks
Bests
Luis