11 2019 档案
摘要:#计算数task_count = fields.Integer(compute='_compute_task_count', string="Task Count")def _compute_task_count(self): """ 计算任务条数 """ task_data = self.env[
阅读全文
摘要:以odoo12为例: 1. 定义定时任务属性 <record id="ir_cron_submit_auto_action" model="ir.cron"> <field name="name">自动动作</field> <field name="model_id" ref="model_sale
阅读全文
摘要:主要功能: 1. 使用类似于服务器端API的API访问所有数据模型方法(甚至是浏览); 2. 使用模型方法命名参数; 3. 自动发送用户上下文,为国际化提供支持 4. 浏览记录; 5. 执行工作流; 6. 管理数据库; 7. 下载报表; 8. JSON-RPC协议(支持SSL) 要使用OdooRPC
阅读全文