[TRUNK][REGRESSION] KeyError: 'valid'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP sa GTK client R&D |
Bug Description
=> open a lead, convert into opportunity and the action return by the method is not executed :
Traceback (most recent call last):
File "/home/
model.
File "/home/
obj.
File "/home/
limit=
File "/home/
auto_
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
widget.
File "/home/
self.
File "/home/
if not self.model_
KeyError: 'valid'
Related branches
- OpenERP sa GTK client R&D: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedbin/widget/view/form_gtk/one2many_list.py (+1/-1)
Changed in openobject-client: | |
status: | Confirmed → Fix Released |
Then go to the converted opportunity (if you created a new partner) try to open the new partner :
same error
Traceback (most recent call last): openerp/ source/ client/ trunk/bin/ widget/ view/form_ gtk/many2one. py", line 280, in sig_edit self.attrs[ 'relation' ], self._view. modelfield. get(self. _view.model) , attrs=self.attrs, window= self._window, domain=domain, context=context) openerp/ source/ client/ trunk/bin/ widget/ view/form_ gtk/many2one. py", line 81, in __init__ screen. load([id] ) openerp/ source/ client/ trunk/bin/ widget/ screen/ screen. py", line 793, in load display( ids[0]) openerp/ source/ client/ trunk/bin/ widget/ screen/ screen. py", line 802, in display current_ view.display( ) openerp/ source/ client/ trunk/bin/ widget/ view/form. py", line 401, in display display( model, state) openerp/ source/ client/ trunk/bin/ widget/ view/form. py", line 53, in display widget. display( model, modelfield) openerp/ source/ client/ trunk/bin/ widget/ view/form_ gtk/one2many_ list.py" , line 425, in display field.get_ state_attrs( model)[ 'valid' ]:
File "/home/
dia = dialog(
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
widget.
File "/home/
self.
File "/home/
if not self.model_
KeyError: 'valid'