Commit 08841038 authored by iv's avatar iv

ERP5Workflow: change erp5_workflow bt5's default_expr to default_expression

parent 20ee9b58
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<string>Available for Catalog</string> <string>Available for Catalog</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_expr</string> <string>default_expression</string>
<string>Expression</string> <string>Expression</string>
</tuple> </tuple>
</list> </list>
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<string>Available for Catalog</string> <string>Available for Catalog</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_expr</string> <string>default_expression</string>
<string>Expression</string> <string>Expression</string>
</tuple> </tuple>
</list> </list>
......
...@@ -60,29 +60,29 @@ context.setSourceValue(state)\n ...@@ -60,29 +60,29 @@ context.setSourceValue(state)\n
for v, property_dict in (\n for v, property_dict in (\n
(\'action\', {\n (\'action\', {\n
\'description\': \'Transition id\',\n \'description\': \'Transition id\',\n
\'default_expr\': \'transition/getReference|nothing\',\n \'default_expression\': \'transition/getReference|nothing\',\n
\'for_status\': 1,\n \'for_status\': 1,\n
\'automatic_update\': 1,\n \'automatic_update\': 1,\n
}),\n }),\n
(\'actor\', {\n (\'actor\', {\n
\'description\': \'Name of the user who performed transition\',\n \'description\': \'Name of the user who performed transition\',\n
\'default_expr\': \'user/getUserName\',\n \'default_expression\': \'user/getUserName\',\n
\'for_status\': 1,\n \'for_status\': 1,\n
\'automatic_update\': 1,\n \'automatic_update\': 1,\n
}),\n }),\n
(\'comment\', {\n (\'comment\', {\n
\'description\': \'Comment about transition\',\n \'description\': \'Comment about transition\',\n
\'default_expr\': "python:state_change.kwargs.get(\'comment\', \'\')",\n \'default_expression\': "python:state_change.kwargs.get(\'comment\', \'\')",\n
\'for_status\': 1,\n \'for_status\': 1,\n
\'automatic_update\': 1,\n \'automatic_update\': 1,\n
}),\n }),\n
(\'history\', {\n (\'history\', {\n
\'description\': \'Provides access to workflow history\',\n \'description\': \'Provides access to workflow history\',\n
\'default_expr\': \'state_change/getHistory\',\n \'default_expression\': \'state_change/getHistory\',\n
}),\n }),\n
(\'time\', {\n (\'time\', {\n
\'description\': \'Transition timestamp\',\n \'description\': \'Transition timestamp\',\n
\'default_expr\': \'state_change/getDateTime\',\n \'default_expression\': \'state_change/getDateTime\',\n
\'for_status\': 1,\n \'for_status\': 1,\n
\'automatic_update\': 1,\n \'automatic_update\': 1,\n
}),\n }),\n
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<string>Available for Catalog</string> <string>Available for Catalog</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_expr</string> <string>default_expression</string>
<string>Expression</string> <string>Expression</string>
</tuple> </tuple>
</list> </list>
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_expr</string> <string>default_expression</string>
<string>Expression</string> <string>Expression</string>
</tuple> </tuple>
<tuple> <tuple>
......
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