Commit 28063166 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

variable section is used as an object later.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32495 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 729168f5
...@@ -225,8 +225,8 @@ class InvoiceTransactionRule(Rule, PredicateMatrix): ...@@ -225,8 +225,8 @@ class InvoiceTransactionRule(Rule, PredicateMatrix):
precision = None precision = None
section = prevision_line.get(arrow, None) section = prevision_line.get(arrow, None)
if section is not None: if section is not None:
currency_url = self.restrictedTraverse(section).getProperty( section = self.restrictedTraverse(section)
'price_currency', None) currency_url = section.getProperty('price_currency', None)
else: else:
currency_url = None currency_url = None
if currency_url is not None and prevision_currency != currency_url: if currency_url is not None and prevision_currency != currency_url:
......
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