[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #62788] Code should not be translate in health_dentist
From: |
Feng Shu |
Subject: |
[Health-dev] [bug #62788] Code should not be translate in health_dentistry |
Date: |
Wed, 20 Jul 2022 05:25:10 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62788>
Summary: Code should not be translate in health_dentistry
Project: GNU Health
Submitter: tumashu
Submitted: Wed 20 Jul 2022 09:25:09 AM UTC
Category: localization
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health_dentistry
Component: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 20 Jul 2022 09:25:09 AM UTC By: Feng Shu <tumashu>
class DentistryProcedure(ModelSQL, ModelView):
'Dentistry Procedure'
__name__ = 'gnuhealth.dentistry.procedure'
name = fields.Char('Procedure', required=True, translate=True)
code = fields.Char(
'Code', required=True, translate=True,
^^^^^^^^^^^^^^^^^^^^^ I think translate should
False
help='Please use CAPITAL LETTERS and no spaces')
@classmethod
def __setup__(cls):
t = cls.__table__()
cls._sql_constraints = [
('name_uniq', Unique(t, t.name),
'The Procedure must be unique !'),
('code_uniq', Unique(t, t.code),
'The CODE must be unique !'),
]
super(DentistryProcedure, cls).__setup__()
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62788>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Health-dev] [bug #62788] Code should not be translate in health_dentistry,
Feng Shu <=