stock.production.lot对象修改为stock.lot,http新增验证返回

This commit is contained in:
jinling.yang
2022-12-12 10:04:16 +08:00
parent a18d55850a
commit 331f230974
4 changed files with 10 additions and 8 deletions

View File

@@ -4,13 +4,17 @@ import datetime
import time
import hashlib
from odoo import fields, models, api
from odoo.http import request, AuthenticationError
from odoo.http import request
__author__ = 'jinling.yang'
_logger = logging.getLogger(__name__)
class AuthenticationError(Exception):
pass
class Http(models.AbstractModel):
_inherit = 'ir.http'