[Erp5-report] r22324 - in /erp5/trunk/bt5/erp5_mrp: SkinTemplateItem/portal_skins/erp5_mrp/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jul 7 17:58:24 CEST 2008
Author: luke
Date: Mon Jul 7 17:58:23 2008
New Revision: 22324
URL: http://svn.erp5.org?rev=22324&view=rev
Log:
- do not hardcode workflow id
- use translation for comment in workflow
Modified:
erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionDelivery_confirm.xml
erp5/trunk/bt5/erp5_mrp/bt/revision
Modified: erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionDelivery_confirm.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionDelivery_confirm.xml?rev=22324&r1=22323&r2=22324&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionDelivery_confirm.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionDelivery_confirm.xml Mon Jul 7 17:58:23 2008
@@ -65,15 +65,15 @@
</item>
<item>
<key> <string>_body</string> </key>
- <value> <string>packing_list = context\n
+ <value> <string>from Products.ERP5Type.Message import Message\n
+packing_list = context\n
\n
packing_list_state = packing_list.getSimulationState()\n
if packing_list_state == "draft":\n
packing_list.portal_workflow.doActionFor(\n
packing_list,\n
\'confirm_action\',\n
- wf_id=\'production_packing_list_workflow\',\n
- comment="Initialized by Delivery Builder")\n
+ comment=Message(\'erp5_ui\', \'Initialized by Delivery Builder\'))\n
</string> </value>
</item>
<item>
@@ -116,6 +116,8 @@
<key> <string>co_varnames</string> </key>
<value>
<tuple>
+ <string>Products.ERP5Type.Message</string>
+ <string>Message</string>
<string>context</string>
<string>packing_list</string>
<string>_getattr_</string>
Modified: erp5/trunk/bt5/erp5_mrp/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/bt/revision?rev=22324&r1=22323&r2=22324&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/bt/revision (original)
+++ erp5/trunk/bt5/erp5_mrp/bt/revision Mon Jul 7 17:58:23 2008
@@ -1,1 +1,1 @@
-327
+330
More information about the Erp5-report
mailing list