Commit fcf77e8f authored by Lucas Carvalho's avatar Lucas Carvalho

Fixed typo error, introduced by someone else.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44944 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0e83d7b5
......@@ -67,7 +67,7 @@ class PurchaseTradeConditionConfiguratorItem(ConfiguratorItemMixin, XMLObject):
currency_id = \
business_configuration.getGlobalConfigurationAttr('currency_id')
purchase_trade_condition = portal.purchase_trade_condition_module.netContent(
purchase_trade_condition = portal.purchase_trade_condition_module.newContent(
portal_type="Purchase Trade Condition",
referece=self.getReference(),
title=self.getTitle(),
......
......@@ -67,7 +67,7 @@ class SaleTradeConditionConfiguratorItem(ConfiguratorItemMixin, XMLObject):
currency_id = \
business_configuration.getGlobalConfigurationAttr('currency_id')
sale_trade_condition = portal.sale_trade_condition_module.netContent(
sale_trade_condition = portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
referece=self.getReference(),
title=self.getTitle(),
......
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