change code for transaction
This commit is contained in:
parent
23abf3e08d
commit
4a217634c7
|
@ -313,8 +313,8 @@ class Remove(ActionWithOneDevice):
|
||||||
class Allocate(JoinedTableMixin, ActionWithMultipleDevices):
|
class Allocate(JoinedTableMixin, ActionWithMultipleDevices):
|
||||||
"""The act of allocate one list of devices to one person
|
"""The act of allocate one list of devices to one person
|
||||||
"""
|
"""
|
||||||
code = Column(CIText(), default='', nullable=True)
|
transaction = 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.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)
|
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
|
"""The act of deallocate one list of devices to one person of the system or not
|
||||||
"""
|
"""
|
||||||
transaction= Column(CIText(), default='', nullable=True)
|
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):
|
class EraseBasic(JoinedWithOneDeviceMixin, ActionWithOneDevice):
|
||||||
|
|
Reference in New Issue