forked from odoo-turkey/integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12.0][FIX] payment_garanti ported to Odoo 12.0 workflow
- Loading branch information
Showing
13 changed files
with
376 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# Copyright 2022 Yiğit Budak (https://github.com/yibudak) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import controllers | ||
from . import models | ||
|
||
# from odoo.addons.payment import setup_provider, reset_payment_provider | ||
from . import controllers | ||
from odoo.addons.payment.models.payment_acquirer import ( | ||
create_missing_journal_for_acquirers, | ||
) | ||
from odoo.addons.payment import reset_payment_provider | ||
from odoo.addons.payment.models.payment_acquirer import create_missing_journal_for_acquirers | ||
|
||
# | ||
# | ||
# def post_init_hook(cr, registry): | ||
# setup_provider(cr, registry, 'garanti') | ||
|
||
|
||
def uninstall_hook(cr, registry): | ||
reset_payment_provider(cr, registry, 'garanti') | ||
reset_payment_provider(cr, registry, "garanti") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.