From 98710a09815647ead8933b9585de625094f10e66 Mon Sep 17 00:00:00 2001 From: Xiaowu Zhang <xiaowu.zhang@nexedi.com> Date: Thu, 3 Oct 2019 11:03:58 +0200 Subject: [PATCH] testPackingList: filter content payment condition is added by https://lab.nexedi.com/nexedi/erp5/commit/647142e56174db8a8e64d7d47421f10585a5ee7c --- product/ERP5/tests/testPackingList.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/tests/testPackingList.py b/product/ERP5/tests/testPackingList.py index dbb5b09d7a..0ceffdde8f 100644 --- a/product/ERP5/tests/testPackingList.py +++ b/product/ERP5/tests/testPackingList.py @@ -1012,7 +1012,8 @@ class TestPackingListMixin(TestOrderMixin): cloned_packing_list = packing_list1.Base_createCloneDocument(batch_mode=True) cloned_packing_list.setStartDate(cloned_packing_list.getStartDate() + 1) cloned_packing_list.setStopDate(cloned_packing_list.getStopDate() + 1) - cloned_line, = cloned_packing_list.objectValues() + cloned_line, = cloned_packing_list.objectValues( + portal_type= self.packing_list_line_portal_type) cloned_line.setQuantity(self.default_quantity+1) self.portal.portal_workflow.doActionFor(cloned_packing_list, "confirm_action") self.tic() -- 2.30.9