Adds new action TransferOwnership
This commit is contained in:
parent
259285c59c
commit
b649bf7ac4
|
@ -1419,6 +1419,9 @@ class DisposeProduct(Trade):
|
|||
# performing :class:`.ToDispose` + :class:`.Receive` to a
|
||||
# ``RecyclingCenter``.
|
||||
|
||||
class TransferOwnershipBlockchain(Trade):
|
||||
""" The act of change owenership of devices between two users (ethereum address)"""
|
||||
|
||||
|
||||
class MakeAvailable(ActionWithMultipleDevices):
|
||||
"""The act of setting willingness for trading."""
|
||||
|
|
|
@ -521,6 +521,10 @@ class DisposeProduct(Trade):
|
|||
pass
|
||||
|
||||
|
||||
class TransferOwnershipBlockchain(Trade):
|
||||
pass
|
||||
|
||||
|
||||
class Receive(ActionWithMultipleDevices):
|
||||
role = ... # type:Column
|
||||
|
||||
|
|
|
@ -425,6 +425,10 @@ class DisposeProduct(Trade):
|
|||
__doc__ = m.DisposeProduct.__doc__
|
||||
|
||||
|
||||
class TransferOwnershipBlockchain(Trade):
|
||||
__doc__ = m.TransferOwnershipBlockchain.__doc__
|
||||
|
||||
|
||||
class Receive(ActionWithMultipleDevices):
|
||||
__doc__ = m.Receive.__doc__
|
||||
role = EnumField(ReceiverRole)
|
||||
|
|
Reference in a new issue