Adds new action TransferOwnership
This commit is contained in:
parent
2175cd5efa
commit
862706e2c1
|
@ -1423,6 +1423,9 @@ class DisposeProduct(Trade):
|
||||||
# performing :class:`.ToDispose` + :class:`.Receive` to a
|
# performing :class:`.ToDispose` + :class:`.Receive` to a
|
||||||
# ``RecyclingCenter``.
|
# ``RecyclingCenter``.
|
||||||
|
|
||||||
|
class TransferOwnershipBlockchain(Trade):
|
||||||
|
""" The act of change owenership of devices between two users (ethereum address)"""
|
||||||
|
|
||||||
|
|
||||||
class MakeAvailable(ActionWithMultipleDevices):
|
class MakeAvailable(ActionWithMultipleDevices):
|
||||||
"""The act of setting willingness for trading."""
|
"""The act of setting willingness for trading."""
|
||||||
|
|
|
@ -525,6 +525,10 @@ class DisposeProduct(Trade):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class TransferOwnershipBlockchain(Trade):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Receive(ActionWithMultipleDevices):
|
class Receive(ActionWithMultipleDevices):
|
||||||
role = ... # type:Column
|
role = ... # type:Column
|
||||||
|
|
||||||
|
|
|
@ -433,6 +433,10 @@ class DisposeProduct(Trade):
|
||||||
__doc__ = m.DisposeProduct.__doc__
|
__doc__ = m.DisposeProduct.__doc__
|
||||||
|
|
||||||
|
|
||||||
|
class TransferOwnershipBlockchain(Trade):
|
||||||
|
__doc__ = m.TransferOwnershipBlockchain.__doc__
|
||||||
|
|
||||||
|
|
||||||
class Receive(ActionWithMultipleDevices):
|
class Receive(ActionWithMultipleDevices):
|
||||||
__doc__ = m.Receive.__doc__
|
__doc__ = m.Receive.__doc__
|
||||||
role = EnumField(ReceiverRole)
|
role = EnumField(ReceiverRole)
|
||||||
|
|
Reference in New Issue