Mercurial > hgweb > health
changeset 3404:4268338ba1a3
HMIS: Remove check_recursion method
| author | Luis Falcon <falcon@gnuhealth.org> |
|---|---|
| date | Sun, 20 Oct 2019 19:48:10 +0100 |
| parents | 1c575479b47b |
| children | 3e34428f2d54 |
| files | tryton/health/health.py tryton/health_webdav3_server/webdav.py |
| diffstat | 2 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/tryton/health/health.py +++ b/tryton/health/health.py @@ -1965,11 +1965,6 @@ super(MedicamentCategory, cls).__setup__() cls._order.insert(0, ('name', 'ASC')) - @classmethod - def validate(cls, categories): - super(MedicamentCategory, cls).validate(categories) - cls.check_recursion(categories, rec_name='name') - def get_rec_name(self, name): if self.parent: return self.parent.get_rec_name(name) + ' / ' + self.name @@ -2246,7 +2241,6 @@ @classmethod def validate(cls, categories): super(PathologyCategory, cls).validate(categories) - cls.check_recursion(categories, rec_name='name') def get_rec_name(self, name): if self.parent:
