js文件: odoo.define('名称.BasicView', function (require) { "use strict"; var BasicView = require('web.BasicView'); BasicView.include({ init: function(){ this._super.apply(this, arguments); # od.instruction.tree.qt tree name if(['od.instruction.tree.qt'].indexOf(this.fieldsView.name) >= 0) { this.controllerParams.archiveEnabled = false } } }) }); xml:引用 js
Odoo中指定tree归档,取消归档
最新推荐文章于 2024-05-17 16:22:00 发布