摘要:
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import base64 from collections import OrderedDict f 阅读全文
摘要:
一:Controller 一般通过继承的形式来创建controller类,继承自odoo.http.Controller。 以route装饰器来装饰定义的方法,提供url路由访问路径: class MyController(odoo.http.Controller)://继承controller定义 阅读全文