mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 18:32:07 +02:00
18.0 vanilla
This commit is contained in:
parent
d72e748793
commit
0a7ae8db93
337 changed files with 399651 additions and 232598 deletions
|
|
@ -287,7 +287,7 @@ class Cloc(object):
|
|||
self.count_customization(env)
|
||||
|
||||
def count_database(self, database):
|
||||
registry = odoo.registry(config['db_name'])
|
||||
registry = odoo.modules.registry.Registry(config['db_name'])
|
||||
with registry.cursor() as cr:
|
||||
uid = odoo.SUPERUSER_ID
|
||||
env = odoo.api.Environment(cr, uid, {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue