Commit 3d3302cc authored by Jérome Perrin's avatar Jérome Perrin

update translation table when installing a business template



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12432 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c71f86a
...@@ -4127,6 +4127,10 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -4127,6 +4127,10 @@ Business Template is a set of definitions, such as skins, portal types and categ
if update_catalog: if update_catalog:
site.ERP5Site_reindexAll() site.ERP5Site_reindexAll()
# Update translation table, in case we added new portal types or
# workflow states.
site.ERP5Site_updateTranslationTable()
# It is better to clear cache because the installation of a template # It is better to clear cache because the installation of a template
# adds many new things into the portal. # adds many new things into the portal.
......
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