Commit d8f84cc0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

configure minimal predicate for target solvers.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36609 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 113eb79b
...@@ -614,6 +614,9 @@ class TestAutomaticSolvingPackingList(TestERP5SimulationMixin, TestPackingListMi ...@@ -614,6 +614,9 @@ class TestAutomaticSolvingPackingList(TestERP5SimulationMixin, TestPackingListMi
type_factory_method_id='add%s' % solver_class, type_factory_method_id='add%s' % solver_class,
type_group_list=('target_solver',), type_group_list=('target_solver',),
) )
solver.setCriterion(property='portal_type',
identity=['Simulation Movement',])
solver.setCriterionProperty('portal_type')
solver_process_type_info = self.portal.portal_types['Solver Process'] solver_process_type_info = self.portal.portal_types['Solver Process']
solver_process_type_info.setTypeAllowedContentTypeList( solver_process_type_info.setTypeAllowedContentTypeList(
solver_process_type_info.getTypeAllowedContentTypeList() + \ solver_process_type_info.getTypeAllowedContentTypeList() + \
......
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