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):