Commit 90a664df authored by Sebastien Robin's avatar Sebastien Robin

some countries have different names, so started to add some aliases


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2550 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a578cf19
......@@ -155,6 +155,8 @@ class ERP5ShopOrderConduit(ERP5Conduit):
"""
This recursive function try to find the region category from the name of a country
"""
if country.lower()=='suisse':
country='switzerland'
if category_path == None:
portal_categories = getToolByName(site_root, 'portal_categories')
categories_path = portal_categories.absolute_url(relative=1)
......
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