odoo/packs/odoo.v18/devs/kit_spy/models/ir_http.py

15 lines
323 B
Python

# -*- coding: utf-8 -*-
from odoo import models
from odoo.http import request
class Http(models.AbstractModel):
_inherit = 'ir.http'
@classmethod
def _pre_dispatch(cls, rule, args):
super()._pre_dispatch(rule, args)
url = request.httprequest.url
for key in args:
pass