diff --git a/bin/addons/base/ir/ir.xml b/bin/addons/base/ir/ir.xml index 75dd05c3c87..5c79df63beb 100644 --- a/bin/addons/base/ir/ir.xml +++ b/bin/addons/base/ir/ir.xml @@ -10,34 +10,71 @@ 20
- - - - - - - - - - - - - - - + + + + + + + + + + + + + ir.values.tree.action + ir.values + tree + + + + + + + + + + + + ir.values.search.action + ir.values + search + + + + + + + + + - Connect Actions To Client Events + Client Actions ir.actions.act_window ir.values form - form,tree - + tree,form + [('key','=','action')] {'read':'default','default_object':1} + + + + tree + + + + + + + form + + + @@ -89,8 +126,6 @@ {'read':'default'} - - @@ -239,8 +274,8 @@ form
- - + + @@ -256,6 +291,17 @@
+ + ir.actions.actions.search + ir.actions.actions + search + + + + + + + Actions @@ -263,6 +309,7 @@ ir.actions.actions form + @@ -276,8 +323,8 @@
- - + + @@ -298,14 +345,34 @@ tree - - + + + + + + + ir.filters.search + ir.filters + search + + + + + + + + + + + + + @@ -315,6 +382,7 @@ ir.filters form + @@ -329,8 +397,8 @@ form - - + + @@ -347,6 +415,23 @@ + + ir.actions.report.custom.search + ir.actions.report.custom + search + + + + + + + + + + + + + Report Custom @@ -354,6 +439,7 @@ ir.actions.report.custom form + @@ -418,6 +504,26 @@ + + ir.actions.report.xml.search + ir.actions.report.xml + search + + + + + + + + + + + + + + + + Report Xml @@ -425,6 +531,7 @@ ir.actions.report.xml form + @@ -503,11 +610,31 @@ + + ir.actions.windows.search + ir.actions.act_window + search + + + + + + + + + + + + + + + Window Actions ir.actions.act_window ir.actions.act_window form + @@ -542,20 +669,38 @@ form
- - - + + + - + + + + +
- + + + ir.actions.wizard.search + ir.actions.wizard + search + + + + + + + + + Wizards ir.actions.act_window ir.actions.wizard form + @@ -821,6 +966,24 @@
+ + ir.attachment.search + ir.attachment + search + + + + + + + + + + + + + + Attachments @@ -828,6 +991,7 @@ ir.attachment form + @@ -1556,10 +1720,10 @@
- - - - + + + + @@ -1570,12 +1734,12 @@ - - + + - + @@ -1594,9 +1758,9 @@ - + - + @@ -1641,6 +1805,25 @@ + + + ir.actions.server.search + ir.actions.server + search + + + + + + + + + + + + + + Server Actions @@ -1649,6 +1832,7 @@ form tree,form + {'key':'server_action'} diff --git a/bin/addons/base/ir/workflow/workflow.py b/bin/addons/base/ir/workflow/workflow.py index dae77781503..8074d784e3c 100644 --- a/bin/addons/base/ir/workflow/workflow.py +++ b/bin/addons/base/ir/workflow/workflow.py @@ -146,11 +146,17 @@ class wkf_transition(osv.osv): _columns = { 'trigger_model': fields.char('Trigger Object', size=128), 'trigger_expr_id': fields.char('Trigger Expression', size=128), - 'signal': fields.char('Signal (button Name)', size=64), - 'role_id': fields.many2one('res.roles', 'Role Required'), - 'condition': fields.char('Condition', required=True, size=128), - 'act_from': fields.many2one('workflow.activity', 'Source Activity', required=True, select=True, ondelete='cascade'), - 'act_to': fields.many2one('workflow.activity', 'Destination Activity', required=True, select=True, ondelete='cascade'), + 'signal': fields.char('Signal (button Name)', size=64, + help="When the operation of transition comes from a button pressed in the client form, "\ + "signal tests the name of the pressed button. If signal is NULL, no button is necessary to validate this transition."), + 'role_id': fields.many2one('res.roles', 'Role Required', + help="The role that a user must have to validate this transition."), + 'condition': fields.char('Condition', required=True, size=128, + help="Expression to be satisfied if we want the transition done."), + 'act_from': fields.many2one('workflow.activity', 'Source Activity', required=True, select=True, ondelete='cascade', + help="Source activity. When this activity is over, the condition is tested to determine if we can start the ACT_TO activity."), + 'act_to': fields.many2one('workflow.activity', 'Destination Activity', required=True, select=True, ondelete='cascade', + help="The destination activity."), 'wkf_id': fields.related('act_from','wkf_id', type='many2one', relation='workflow', string='Workflow', select=True), } _defaults = { diff --git a/bin/addons/base/ir/workflow/workflow_view.xml b/bin/addons/base/ir/workflow/workflow_view.xml index 8431cdd43d7..4f70d77f119 100644 --- a/bin/addons/base/ir/workflow/workflow_view.xml +++ b/bin/addons/base/ir/workflow/workflow_view.xml @@ -92,40 +92,52 @@ form - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -138,19 +150,33 @@ - - + + + workflow.activity.search + workflow.activity + search + + + + + + + + + + Activities workflow.activity form + @@ -167,8 +193,8 @@ form
- - + + @@ -186,22 +212,32 @@ - - - + + workflow.transition.search + workflow.transition + search + + + + + + + + - - Transitions - workflow.transition - form - - - + + Transitions + workflow.transition + form + + + +