[Erp5-report] r12432 - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 29 15:16:26 CET 2007


Author: jerome
Date: Mon Jan 29 15:16:25 2007
New Revision: 12432

URL: http://svn.erp5.org?rev=12432&view=rev
Log:
update translation table when installing a business template


Modified:
    erp5/trunk/products/ERP5/Document/BusinessTemplate.py

Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=12432&r1=12431&r2=12432&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Mon Jan 29 15:16:25 2007
@@ -4127,6 +4127,10 @@
 
       if update_catalog:
         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
       # adds many new things into the portal.




More information about the Erp5-report mailing list