redefine tradenoteDef

This commit is contained in:
Cayo Puigdefabregas 2021-04-21 14:37:32 +02:00
parent f57b65107e
commit 17b409c9ee

View file

@ -4,7 +4,7 @@ from teal.resource import Converters, Resource
from ereuse_devicehub.resources.action import schemas
from ereuse_devicehub.resources.action.views import (ActionView, AllocateView, DeallocateView,
LiveView, TradeView)
LiveView)
from ereuse_devicehub.resources.device.sync import Sync
@ -260,9 +260,9 @@ class CancelTradeDef(ActionDef):
SCHEMA = schemas.CancelTrade
class TradeDef(ActionDef):
VIEW = TradeView
SCHEMA = schemas.Trade
class TradeNoteDef(ActionDef):
VIEW = None
SCHEMA = schemas.TradeNote
class ToDisposeProductDef(ActionDef):