Somesh Khare has proposed merging
lp:~openerp-dev/openobject-client/6.0-opw-381504-skh into
lp:openobject-client/6.0.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-opw-381504-skh/+merge/88993
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-client/6.0-opw-381504-skh/+merge/88993
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client/6.0-opw-381504-skh.
=== modified file 'bin/widget/view/form_gtk/selection.py'
--- bin/widget/view/form_gtk/selection.py 2011-07-26 09:21:14 +0000
+++ bin/widget/view/form_gtk/selection.py 2012-01-18 09:07:24 +0000
@@ -70,7 +70,7 @@
def value_get(self):
res = self.child.get_text()
result = [y for x,y in self._selection if x==res]
- return result and result[0] or False
+ return result and result[0]
def sig_key_press(self, widget, event):
# allow showing available entries by hitting "ctrl+space"
_______________________________________________
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