Somesh Khare(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-381504-skh into 
lp:openobject-addons/6.0.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)
Related bugs:
  Bug #914812 in OpenERP Addons: "[6.0] base_action_rule form - state selection 
cannot be emptied"
  https://bugs.launchpad.net/openobject-addons/+bug/914812

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-381504-skh/+merge/89849

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.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-381504-skh/+merge/89849
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-381504-skh.
=== modified file 'base_action_rule/base_action_rule.py'
--- base_action_rule/base_action_rule.py	2012-01-17 10:43:58 +0000
+++ base_action_rule/base_action_rule.py	2012-01-24 10:21:29 +0000
@@ -54,7 +54,7 @@
             @param cr: the current row, from the database cursor,
             @param uid: the current user’s ID for security checks,
             @param context: A standard dictionary for contextual values """
-        return [('', '')]
+        return [(False, '')]
   
     def priority_get(self, cr, uid, context=None):
         """ Get Priority

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to