Skip to content
Snippets Groups Projects
Commit fbb6e5e5 authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] ir.values.get_defaults: typo in SQL query - spotted by Naresh, thanks!

bzr revid: odo@openerp.com-20110908113833-z2cgkj093940usys
parent ef5edae1
Branches
Tags
No related merge requests found
......@@ -284,8 +284,8 @@ class ir_values(osv.osv):
LEFT JOIN res_users u ON (v.user_id = u.id)
WHERE v.key = %%s AND v.model = %%s
AND (v.user_id = %%s OR v.user_id IS NULL)
AND (u.company_id IS NULL OR
u.company_id =
AND (v.company_id IS NULL OR
v.company_id =
(SELECT company_id from res_users where id = %%s)
)
%s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment