Commit ff5d2fb5 authored by Jérome Perrin's avatar Jérome Perrin

Ignore supply line that does not define a price, as suggested by Yoshinori

(this fixes test_CreateCELWithNoBasePrice)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38333 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 07fbe8c3
......@@ -88,7 +88,7 @@ else:\n
# with the reference currency\n
for predicate in predicate_list:\n
operand_dict = predicate.Resource_getPriceCalculationOperandDict(movement=predicate, **kw)\n
if operand_dict is not None:\n
if operand_dict is not None and operand_dict.get(\'price\'):\n
return operand_dict\n
......
835
\ No newline at end of file
836
\ 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