Merge lp:~openerp-dev/openobject-addons/6.0-opw-381504-skh into lp:openobject-addons/6.0

Proposed by Somesh Khare
Status: Merged
Approved by: Naresh(OpenERP)
Approved revision: no longer in the source branch.
Merged at revision: 5027
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-381504-skh
Merge into: lp:openobject-addons/6.0
Diff against target: 12 lines (+1/-1)
1 file modified
base_action_rule/base_action_rule.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-381504-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+89849@code.launchpad.net

Description of the change

Hello,

When try to edit my action rule, if I define one of the State selection then I'm unable to change it back to void.

Steps to reproduce:
1. Create an Automated action and select the state (From Blank to Draft).
2. Save the Action and switch from the Form View to List View and again Form View.
3. Try to change the state for the selection field for the Action.

It Did not allow to change the state from current to Void.

[Fix]: This branch Fix this issue.

Thanks.

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'base_action_rule/base_action_rule.py'
2--- base_action_rule/base_action_rule.py 2012-01-17 10:43:58 +0000
3+++ base_action_rule/base_action_rule.py 2012-01-24 10:21:29 +0000
4@@ -54,7 +54,7 @@
5 @param cr: the current row, from the database cursor,
6 @param uid: the current user’s ID for security checks,
7 @param context: A standard dictionary for contextual values """
8- return [('', '')]
9+ return [(False, '')]
10
11 def priority_get(self, cr, uid, context=None):
12 """ Get Priority