From 4a217634c7d71b6cc49c4aead4ab15d65f9a85bc Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 30 Nov 2020 18:47:17 +0100 Subject: [PATCH] change code for transaction --- ereuse_devicehub/resources/action/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index 31be2b40..ad05efca 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -313,8 +313,8 @@ class Remove(ActionWithOneDevice): class Allocate(JoinedTableMixin, ActionWithMultipleDevices): """The act of allocate one list of devices to one person """ - code = Column(CIText(), default='', nullable=True) - code.comment = """ This is a internal code for mainteing the secrets of the personal datas of the new holder """ + transaction = Column(CIText(), default='', nullable=True) + transaction.comment = "The code used from the owner for relation with external tool." end_users = Column(Numeric(precision=4), check_range('end_users', 0), nullable=True) @@ -322,7 +322,7 @@ class Deallocate(JoinedTableMixin, ActionWithMultipleDevices): """The act of deallocate one list of devices to one person of the system or not """ transaction= Column(CIText(), default='', nullable=True) - transaction.comment = """ This is a internal code for mainteing the secrets of the personal datas of the new holder """ + transaction.comment = "The code used from the owner for relation with external tool." class EraseBasic(JoinedWithOneDeviceMixin, ActionWithOneDevice):