Comments (6)
His @OSguard, could you post more of the traceback?
I would like to know what code calls search()
in this instance.
It sounds like search was called with an int in place of the domain
parameter.
from server-tools.
More info at https://bugs.launchpad.net/server-env-tools/+bug/1207671
from server-tools.
thanks is the same bug. i should check with google next time first.
from server-tools.
if domain[0] == 'model_id' and domain[2]\
and type(domain[2]) != list:
model_domain += [(
'model_id', 'in', map(int, domain[2][1:-1].split(',')))]
else:
model_domain.append(domain)
type(domain[2]) != list
followed by domain[2][1:-1]
I guess it makes an assumption that domain[2]
is a str
, but in some cases, it's an int
.
Is it possible that domain[:3] == ('model_id', '=', some_int)
?
EDIT: just read the example and yes it is.
A saner way of checking would be to replace and type(domain[2]) != list
by and type(domain[2]) is str
from server-tools.
Damnit, sorry. I commited directly instead of a PR because I have write access...
from server-tools.
There. Two PRs which should solve the issue, though I didn't test.
from server-tools.
Related Issues (20)
- Database Auto-Backup fails on pg_dump error HOT 6
- [16] base_sequence_default - Improve readme HOT 1
- problème d'installation module auditlog HOT 1
- How to Install auditlog module. HOT 1
- [17.0] module views_migration_17 - [Errno 30] Read-only file system: '/opt/odoo/custom/src/odoo/odoo/addons/base/views/ir_actions_views.xml'
- Auditlog does not log changes to Reordering Rules if user does not hit "enter" or click "Save". HOT 1
- [15.0] base_fontawesome: broken icons when updgrade HOT 1
- [16.0] database_cleanup - Purge columns purges totp_secret, resulting in server crash HOT 1
- Separate tools into different repos HOT 2
- Create a neutralized database backup HOT 6
- 14.0: Errors on uninstalling `tracking_manager` HOT 1
- [16.0] Tests failing: cron_daylight_saving_time_resistant HOT 1
- [17.0] auto_backup - fail or disk space alert
- Some icons of fontawesome are not shown
- [16.0] Unable to install sentry-sdk dependency: urllib3 conflict HOT 3
- Incompatible chardet dependency between this repo and Odoo HOT 1
- App fetchmail
- [16.0] autovacuum_message_attachment incompatible with account_accountant
- [V17] - tracking_manager Is not showing many2many field changes properly
- [16.0] tracking_manager: Deadlock when confirm sale.order (change state to 'sale')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server-tools.