Skip to content

Commit

Permalink
fixup 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zaoral committed Dec 19, 2024
1 parent a50b481 commit 5161102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions l10n_ar_account_withholding_fix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# directory
##############################################################################
import logging
from odoo import api
from odoo import api, SUPERUSER_ID

_logger = logging.getLogger(__name__)


def post_init_hook(cr):
env = api.Environment(cr)
def post_init_hook(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
records = env['ir.model.data'].search([
('module', '=', 'l10n_ar_account_withholding_fix'),
('model', '=', 'account.tax'),
Expand Down

0 comments on commit 5161102

Please sign in to comment.