[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 17:03:05 +0000 |
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.
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.
Best
Luis