summaryrefslogtreecommitdiff
path: root/addons/base_import/static/csv/database_import_test.sql
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2016-04-04 13:58:04 +0200
committerCedric Snauwaert <csn@openerp.com>2016-04-04 15:37:22 +0200
commit8ae6406a37dbe615bd1fcd3c0356e5a7951b96f3 (patch)
treefd8eddf9565bf6301862a4a2fd044de861034ebf /addons/base_import/static/csv/database_import_test.sql
parenta0e04afe620aaf13788da90f1bcf5f8b1ab859f5 (diff)
[FIX] account: allow forcing company when fetching fpos
The code to fetch the fiscal position of a partner uses ACLs and ir_rules to select the correct ones, but when calling the function as admin, multi-company rules flight out the window. By allowing to force a company in the context, we can get the fpos as the admin from the pov of any company.
Diffstat (limited to 'addons/base_import/static/csv/database_import_test.sql')
0 files changed, 0 insertions, 0 deletions