19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:21 +01:00
parent 7dc55599c6
commit 7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions

View file

@ -0,0 +1 @@
from . import portal

View file

@ -0,0 +1,13 @@
from odoo.addons.account.controllers.portal import PortalAccount
from odoo import http
from odoo.http import request
class Portal(PortalAccount):
@http.route()
def portal_my_invoice_detail(self, *args, **kw):
""" Override
force QR code generation from QRIS to come only from portal"""
request.update_context(is_online_qr=True)
return super().portal_my_invoice_detail(*args, **kw)