From 17b409c9ee47ce4b43c2caf3696d9abc12d1d33e Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 21 Apr 2021 14:37:32 +0200 Subject: [PATCH] redefine tradenoteDef --- ereuse_devicehub/resources/action/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ereuse_devicehub/resources/action/__init__.py b/ereuse_devicehub/resources/action/__init__.py index a7aec7d1..5fed92f2 100644 --- a/ereuse_devicehub/resources/action/__init__.py +++ b/ereuse_devicehub/resources/action/__init__.py @@ -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):