刘涛 odoo-how-to-add-custom-button-on-tree-view http://vitraining.com/odoo-how-to-add-custom-button-on-tree-view/ [1] 虽然已经有了 acttion_button ,见 笔记 :在layui_theme主题下添加按钮到顶部区域 这个仅供学习 <?xml version="1.0" encoding="UTF-8"?> <templates id="sync_templa... odoo汇总 Dec 22, 2021
刘涛 layui_theme下form的自定义布局 示例代码: <record model="ir.ui.view" id="sequence_test_user_form"> <field name="name">用户管理</field> <field name="model">sequence_test.users</field> <field name="arch" type="xml"> <form> <div class="contai... odoo汇总 Dec 22, 2021
刘涛 docker run -idt --name ngrok-server docker run -idt --name ngrok-server -v /data/ngrok:/myfiles -e DOMAIN='ngrok.codercrax.com' hteen/ngrok /bin/sh /server.sh xxxxxxxxxx 1 docker run -idt --name ngrok-server -v /data/n... odoo汇总 Dec 22, 2021
刘涛 do_action 里面domain筛选 this . do_action ({ type : 'ir.actions.act_window' , res_model : "model" , view_mode : 'tree' , view_type : 'tree,form' , views... odoo汇总 Dec 22, 2021
刘涛 git 设置 https://www.jianshu.com/p/f29ca723db4f [1] git 中有 git reflog 命令,能查看所有的操作日志 关于 rebase 和 merge 的设置 为了代码 log 易读,请使用 rebase git config -- global pull.rebase true git config -- global branch.autoSetupReb... odoo汇总 Dec 22, 2021
刘涛 ding ssh funenc@vaiwan.com -p46842 xxxxxxxxxx 1 ssh funenc @ vaiwan . com - p46842 已复制... odoo汇总 Dec 22, 2021
刘涛 odoo12 client html文件注意 < div > < div id= "app" > < el-row type= "flex" align= "middle" :gutter= "20" style= " margin-bottom : 20 px " > < el-table border size= "mini" :data= "tableData" style= " width : 100 % " > < el... odoo汇总 Dec 22, 2021
刘涛 前端session中添加自定义数据 有时候在前端我们需要提取一些和用户身份有关的数据,但是系统默认的又没有,这时候就需要扩展 from odoo.http import request from odoo import models class Http(models.AbstractModel): _inherit = 'ir.http' def session_info(self): user = request.env.us... odoo汇总 Dec 22, 2021