conv_bal
watcha.h 2014-11-26 18:35:44 +07:00
parent e2c8e36c56
commit 304d54ccc6
5 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ from netforce.access import get_active_company
class Cycle(Model):
_name="clinic.cycle"
_string="Cycle"
_key=["name"]
_fields={
"name": fields.Char("Name",required=True,search=True),

View File

@ -14,6 +14,7 @@ class Patient(Model):
_string="Patient"
_audit_log=True
_multi_company=True
_key=["name"]
def _get_age(self,ids,context):
res={}

View File

@ -8,6 +8,7 @@ class Staff(Model):
_string="Staff"
_audit_log=True
_multi_company=True
_key=["name"]
def _get_age(self,ids,context={}):
res={}

View File

@ -4,6 +4,7 @@ from netforce.access import get_active_company
class StaffCategory(Model):
_name="clinic.staff.categ"
_string="Staff Category"
_key=["name"]
_fields={
"name": fields.Char("Name",required=True,search=True),

View File

@ -4,6 +4,7 @@ from netforce.access import get_active_company
class StaffLevel(Model):
_name="clinic.staff.level"
_string="Staff Level"
_key=["name"]
_fields={
"name": fields.Char("Name",required=True,search=True),