Commit 10c74e26 authored by Ángel Ramírez Isea's avatar Ángel Ramírez Isea
Browse files

refactor: Merge a mano de commed_inpatient con últimos aportes de Kuaimare.

parent 7c4f36c9
This diff is collapsed.
# Copyright (C) 2008-2019 Luis Falcon <falcon@gnuhealth.org>
# Copyright (C) 2011-2019 GNU Solidario <health@gnusolidario.org>
# Copyright 2011-2020 GNU Solidario <health@gnusolidario.org>
# Copyright Copyright 2020 NeoHan Solutions Cuba
# Copyright 2020 LabViv.
# License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
......
......@@ -40,7 +40,7 @@ class CommedBedTransferCreate(models.TransientModel):
# Don't allow mass changes. Work on a single record
if len(registrations) > 1:
raise UserError(
'You have chosen more than 1 records. Please choose only one!'
'You have chosen more than 1 record. Please choose only one!'
)
registration = registrations[0]
current_bed = registration.bed
......
......@@ -8,7 +8,6 @@ from odoo.exceptions import UserError
class CreateInpatientEvaluation(models.TransientModel):
"""Create Inpatient Evaluation."""
_name = 'commed.inpatient_evaluation.create'
_description = 'Create Inpatient Evaluation'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment