mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-21 17:42:04 +02:00
10 lines
283 B
Python
10 lines
283 B
Python
# Copyright 2018 Brainbean Apps
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import SUPERUSER_ID, api
|
|
|
|
|
|
def post_init_hook(cr, registry):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
|
|
env["account.analytic.account"]._parent_store_compute()
|