Commit 723232d0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

set payment condition instead of using business process directly as a specialise.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33065 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2857ee7
...@@ -915,12 +915,7 @@ class TestOrderMixin: ...@@ -915,12 +915,7 @@ class TestOrderMixin:
destination_payment_value = organisation2['bank'], destination_payment_value = organisation2['bank'],
source_project_value = project1, source_project_value = project1,
destination_project_value = project2 ) destination_project_value = project2 )
# XXX Specialise should be Trade Condition, not Business Process order.setPaymentConditionEfficiency(1.0)
# itself here.
business_process = getattr(self.portal.business_process_module,
'test_business_process', None)
if business_process is not None:
order.edit(specialise_value=business_process)
self.failUnless('Site Error' not in order.view()) self.failUnless('Site Error' not in order.view())
def stepCheckDeliveryBuilding(self, sequence=None, sequence_list=None, **kw): def stepCheckDeliveryBuilding(self, sequence=None, sequence_list=None, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment