Hello Thibault,

Thanks for reporting !

The typo and along with it the win_search was popped up twice  both has been 
fixed.
It has been fixed at trunk client with revision-info:1967 
[email protected]


Thanks,

** Changed in: openobject-client
       Status: Confirmed => In Progress

** Changed in: openobject-client
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/868979

Title:
  win_search invalid keyword argument

Status in OpenERP GTK Client:
  Fix Released

Bug description:
  There is a bug in the latest trunk GTK client (revno=1966) :

  In the file "bin/widget/view/form_gtk/many2one.py" line 219 [1], you
  call win_search constructor with a undefined keyword "window". If you
  check the __init__ method of win_search
  "bin/modules/gui/window/win_search.py" line 110 [2] you will see a
  "parent" keywork, not "window". I think it has been renamed.

  To trigger the bug, create a new country named "france" (with a MINUS
  'f'), with a random code. Now, opens a partner form view (with
  base_contact installed !) and enter "france" in the country field.

  The autocompletion widget should open, clicks on France, and look at
  your client console :

  Traceback (most recent call last):
    File "/home/thibaut/OpenERP 
6/Trunk/client/bin/widget/view/form_gtk/many2one.py", line 221, in 
on_completion_match
      domain=domain, window=self._window)
  TypeError: __init__() got an unexpected keyword argument 'window'

  [1]  
http://bazaar.launchpad.net/~openerp/openobject-client/trunk/view/head:/bin/widget/view/form_gtk/many2one.py#L219
  [2] 
http://bazaar.launchpad.net/~openerp/openobject-client/trunk/view/head:/bin/modules/gui/window/win_search.py#L110

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/868979/+subscriptions

_______________________________________________
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