redefine tradenoteDef

This commit is contained in:
Cayo Puigdefabregas 2021-04-21 14:37:32 +02:00
parent f57b65107e
commit 17b409c9ee
1 changed files with 4 additions and 4 deletions

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):