Commit fdc9339a authored by Yusuke Muraoka's avatar Yusuke Muraoka

fix disappearing 'h'

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28610 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccbf3deb
......@@ -75,12 +75,12 @@ if model is None:\n
\n
for category in category_list:\n
if force or not paysheet.getPropertyList(category):\n
v = model.getModelIneritanceEffectiveProperty(paysheet, category)\n
v = model.getModelInheritanceEffectiveProperty(paysheet, category)\n
if v:\n
new_category_dict[category] = v\n
\n
# copy the price_currency into the ressource :\n
price_currency = model.getModelIneritanceEffectiveProperty(paysheet, \'price_currency\')\n
price_currency = model.getModelInheritanceEffectiveProperty(paysheet, \'price_currency\')\n
if price_currency:\n
new_category_dict[\'resource\'] = price_currency\n
new_category_dict[\'price_currency\'] = price_currency\n
......
......@@ -411,8 +411,8 @@ class TradeCondition(Path, Transformation, XMLMatrix):
security.declareProtected(Permissions.AccessContentsInformation,
'getModelIneritanceEffectiveProperty')
def getModelIneritanceEffectiveProperty(self, paysheet, property_name):
'getModelInheritanceEffectiveProperty')
def getModelInheritanceEffectiveProperty(self, paysheet, property_name):
"""Get a property from an effective model
"""
v = self.getProperty(property_name)
......
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