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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 3 10:19:32 CET 2008


Author: seb
Date: Mon Nov  3 10:19:19 2008
New Revision: 24450

URL: http://svn.erp5.org?rev=24450&view=rev
Log:
- Thanks to Kazuhiko, make sure to take into account the description
  of portal types actions when installing Business Templates

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=24450&r1=24449&r2=24450&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] Mon Nov  3 10:19:19 2008
@@ -828,6 +828,7 @@
                             , visible = action.visible
                             , icon = getattr(action, 'icon', None) and action.icon.text or ''
                             , priority = action.priority
+                            , description = action.description
                             )
             # set workflow chain
             wf_chain = subobjects_dict['workflow_chain']
@@ -2219,6 +2220,7 @@
                       , icon = getattr(action, 'icon', None)\
                                 and action.icon.text or ''
                       , priority = action.priority
+                      , description = action.description
                     )
           # sort action based on the priority define on it
           # XXX suppose that priority are properly on actions




More information about the Erp5-report mailing list