Skip to content

Commit 9b06ca2

Browse files
committed
[FIX] shopinvader_api_payment_provider_sips: fixed model name to access router helper + updated its name as odoo was not happy with then length of the model name
1 parent b758bfd commit 9b06ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shopinvader_api_payment_provider_sips/routers/payment_sips.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def sips_webhook(
100100
)
101101
)
102102
odoo_env[
103-
"shopinvader_api_payment_provider_sips.payment_sips_router.helper"
103+
"shopinvader_api_payment_provider_sips.router.helper"
104104
]._verify_sips_signature(tx_sudo, data)
105105
tx_sudo._handle_notification_data("sips", data)
106106
except Exception:
@@ -109,7 +109,7 @@ async def sips_webhook(
109109

110110

111111
class ShopinvaderApiPaymentProviderSipsRouterHelper(models.AbstractModel):
112-
_name = "shopinvader_provider_sips.payment_sips_router.helper"
112+
_name = "shopinvader_api_payment_provider_sips.router.helper"
113113
_description = "ShopInvader API Payment Provider Sips Router Helper"
114114

115115
def _verify_sips_signature(self, tx_sudo, data):

0 commit comments

Comments
 (0)