From 9270ec616df69aaa07796750f321aa7f8422e57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 20 Jun 2018 17:56:52 +0200 Subject: [PATCH] Add missing account category to carrier product in scenario --- tests/scenario_shipping_ups.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/scenario_shipping_ups.rst b/tests/scenario_shipping_ups.rst index 9007f2ee79..6968434c84 100644 --- a/tests/scenario_shipping_ups.rst +++ b/tests/scenario_shipping_ups.rst @@ -166,8 +166,7 @@ Create a UPS Carrier and the related credential:: >>> carrier_product_template.type = 'service' >>> carrier_product_template.salable = True >>> carrier_product_template.list_price = Decimal(20) - >>> carrier_product_template.account_expense = expense - >>> carrier_product_template.account_revenue = revenue + >>> carrier_product_template.account_category = account_category >>> carrier_product_template.save() >>> carrier_product, = carrier_product_template.products