[MIG] account_usability to v16 + rename to account_usability_akretion

This commit is contained in:
Alexis de Lattre
2022-12-13 23:02:02 +01:00
parent a63c35fcbf
commit a0c1d5f55f
54 changed files with 130 additions and 364 deletions

View File

@@ -0,0 +1,9 @@
# Copyright 2022 Akretion (https://www.akretion.com).
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import SUPERUSER_ID, api
def post_init_hook(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
env["account.move.line"].update_matching_number()