From caaef2ba7a36bbdf75dbd0acc130ca5c1f0f7789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 7 Sep 2019 23:38:20 +0200 Subject: [PATCH] Prevent assign unknown attributes on Model by adding __slots__ on proteus classes. issue6573 review254081002 --- tests/scenario_sale_subscription_asset.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/scenario_sale_subscription_asset.rst b/tests/scenario_sale_subscription_asset.rst index e5d997cb75..de669091a3 100644 --- a/tests/scenario_sale_subscription_asset.rst +++ b/tests/scenario_sale_subscription_asset.rst @@ -74,7 +74,6 @@ Create subscription service:: >>> template.default_uom = unit >>> template.type = 'service' >>> template.list_price = Decimal('10') - >>> template.account_revenue = revenue >>> template.save() >>> product, = template.products