Naresh(OpenERP) (nch-openerp) has assigned this bug to you for OpenERP GTK 
Client:

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

** Affects: openobject-client
     Importance: Medium
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
         Status: Confirmed

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

_______________________________________________
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