Commit 275598f3 authored by Fabien Morin's avatar Fabien Morin

add context parameter to findEffectiveSpecialiseValueList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27615 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c3fb0c31
......@@ -87,6 +87,7 @@ if price_currency:\n
def copyPaymentCondition(paysheet, model):\n
filter_dict = {\'portal_type\': \'Payment Condition\'}\n
effective_model_list = model.findEffectiveSpecialiseValueList(\\\n
context=model,\n
start_date=paysheet.getStartDate(), stop_date=paysheet.getStopDate())\n
for effective_model in effective_model_list:\n
to_copy = effective_model.contentIds(filter=filter_dict)\n
......
470
\ No newline at end of file
471
\ No newline at end of file
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