vertical-medical icon indicating copy to clipboard operation
vertical-medical copied to clipboard

[8.0 on runbot] Application error when changing the state of an appointment

Open jcdrubay opened this issue 8 years ago • 4 comments

File "/root/odoo-8.0/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/.repo_requirements/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/root/build/OCA/vertical-medical/medical/models/medical_appointment.py", line 245, in write lang_id)[0] File "/.repo_requirements/odoo/openerp/models.py", line 5660, in getitem return self._browse(self.env, (self._ids[key],)) IndexError: tuple index out of range

jcdrubay avatar Dec 15 '16 02:12 jcdrubay

Workaround: set the language of the current user in preference.

jcdrubay avatar Dec 15 '16 02:12 jcdrubay

@jcdrubay - Has this issue been touched in your recent work in appointment?

lasley avatar Jan 06 '17 08:01 lasley

I did not check this in v10

jcdrubay avatar Jan 06 '17 08:01 jcdrubay

I can still reproduce the issue in runbot (after removing the language) http://3274999-8-0-c69c07.runbot2.odoo-community.org/web?#id=7&view_type=form&model=medical.appointment&action=146

jcdrubay avatar Jan 06 '17 08:01 jcdrubay

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Nov 06 '22 12:11 github-actions[bot]