mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-25 11:22:04 +02:00
19.0 vanilla
This commit is contained in:
parent
7dc55599c6
commit
7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions
|
|
@ -0,0 +1 @@
|
|||
from . import portal
|
||||
13
odoo-bringout-oca-ocb-l10n_id/l10n_id/controllers/portal.py
Normal file
13
odoo-bringout-oca-ocb-l10n_id/l10n_id/controllers/portal.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue