ERROR trytond.protocols.dispatcher <class
'trytond.modules.health_calendar.wizard.wizard_health_calendar.CreateAppointment'>.execute(*(153,
{}, 'start', {'client': 'dce259e2-795d-40ec-a90b-07b6ac4fc429',
'company_filter': 'one', 'company': 1, 'company.rec_name': 'xxx', 'language':
'zh_CN', 'language_direction': 'ltr', 'groups': [12, 13, 14, 3, 11, 6, 4, 1, 2,
9, 10, 22, 5, 7, 8, 21, 29, 20, 25, 15, 28, 26, 24], 'locale': {'date':
'%Y-%m-%d', 'grouping': [3, 0], 'decimal_point': '.', 'thousands_sep': ','},
'active_id': 265, 'active_ids': None, 'active_model': 'ir.ui.menu',
'action_id': 349}), **{}) from [email protected]/gnuhealth1/
Traceback (most recent call last):
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/protocols/dispatcher.py",
line 180, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/wizard/wizard.py",
line 314, in execute
return wizard._execute(state_name)
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/wizard/wizard.py",
line 325, in _execute
defaults = state.get_defaults(self, state_name,
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/wizard/wizard.py",
line 92, in get_defaults
defaults = Model_.default_get(fields)
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/model/model.py",
line 149, in default_get
value[field_name] = cls._defaults[field_name]()
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/health_calendar/wizard/wizard_health_calendar.py",
line 68, in default_institution
return HealthInst.get_institution()
AttributeError: type object 'gnuhealth.institution' has no attribute
'get_institution'