redefine tradenoteDef
This commit is contained in:
parent
f57b65107e
commit
17b409c9ee
|
@ -4,7 +4,7 @@ from teal.resource import Converters, Resource
|
||||||
|
|
||||||
from ereuse_devicehub.resources.action import schemas
|
from ereuse_devicehub.resources.action import schemas
|
||||||
from ereuse_devicehub.resources.action.views import (ActionView, AllocateView, DeallocateView,
|
from ereuse_devicehub.resources.action.views import (ActionView, AllocateView, DeallocateView,
|
||||||
LiveView, TradeView)
|
LiveView)
|
||||||
from ereuse_devicehub.resources.device.sync import Sync
|
from ereuse_devicehub.resources.device.sync import Sync
|
||||||
|
|
||||||
|
|
||||||
|
@ -260,9 +260,9 @@ class CancelTradeDef(ActionDef):
|
||||||
SCHEMA = schemas.CancelTrade
|
SCHEMA = schemas.CancelTrade
|
||||||
|
|
||||||
|
|
||||||
class TradeDef(ActionDef):
|
class TradeNoteDef(ActionDef):
|
||||||
VIEW = TradeView
|
VIEW = None
|
||||||
SCHEMA = schemas.Trade
|
SCHEMA = schemas.TradeNote
|
||||||
|
|
||||||
|
|
||||||
class ToDisposeProductDef(ActionDef):
|
class ToDisposeProductDef(ActionDef):
|
||||||
|
|
Reference in New Issue