summaryrefslogtreecommitdiff
path: root/odoo/sql_db.py
diff options
context:
space:
mode:
authorStéphane Bidoul <stephane.bidoul@acsone.eu>2021-03-14 15:40:57 +0000
committerStéphane Bidoul <stephane.bidoul@acsone.eu>2021-03-19 11:52:26 +0000
commit0ee38f3bb0bc74271246f4653ec85c85b437980f (patch)
tree5403b0ef64fdb33019bc91cc1dd441867aadadaa /odoo/sql_db.py
parenteb41f0de553906e09d199190544c878a9d1a7e85 (diff)
[FIX] base: allow using another postgres schema than public
Before 1721ec1363 and fdc4ef97c9d09, Odoo did work fine when the user had another default schema than 'public'. This commit restores this behaviour by searching for existing objects in the user's current schema, which is the first in the schema search path and the one used when no schema is specified when creating objects. closes odoo/odoo#68141 X-original-commit: 223781b34afacd1c0c5674d395cece6d472b048c Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions