[6.1] AttributeError : no attribute startswith
Bug #1075905 reported by
Pollet Alexandre
This bug report is a duplicate of:
Bug #957039: AttributeError: 'bool' object has no attribute 'startswith'.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
There is a bug on GTK client in the context keys.
Sometimes (and i don't know why), there is a key in the context dict which is an integer.
The integer is an id of the wizard which is used to open a form view (with a act_window return)...
I have a crash with the message:
"AttributeError: 'int' object has no attribute 'startswith' "
So I make a patch to check the type of the key in some functions causing the exception.
Thank's to apply the patch (or a better one) to the branch.
To post a comment you must log in.