Hi.
I'm testing something in the user configuration form.
I go to Administration>Users>Users
I select the company in "Main Company" and "Current Company".
Into the same form I want to set "Current Employee", but when I want
to search some employee, it show me the window for selecting the employee
but this window doesn't display any of them (I have created some employees
for the company but it doesn't show me). As the form doesn't show me any
employee, I click on the button "New" for create it.
In the new window "Employee" I have 2 fields: "Party" and "Company". I
select
the party with no problem, but when I try to select the company I get the
next error:
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 169, in dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/model/modelsql.py", line 940, in search
cursor.execute(*select)
File "/trytond/backend/postgresql/database.py", line 309, in execute
return self.cursor.execute(sql, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...p" FROM "company_company" AS "a" WHERE (("a"."id" = false) A...
^
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts.