16 lines
323 B
Python
16 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
|