审批明细问题

This commit is contained in:
mgw
2024-12-30 17:27:00 +08:00
parent 30e496442f
commit 5e72e3d1dd
2 changed files with 20 additions and 0 deletions

View File

@@ -33,4 +33,10 @@
'demo': [ 'demo': [
'demo/demo.xml', 'demo/demo.xml',
], ],
'assets': {
'web.assets_backend': [
'jikimo_purchase_tier_validation/static/src/js/ir_model_extend.js',
],
},
} }

View File

@@ -0,0 +1,14 @@
/** @odoo-module **/
import {registerPatch} from "@mail/model/model_core";
registerPatch({
name: "ir.model.review",
fields: {
availableWebViews: {
compute() {
return ["list", "form"];
},
},
},
});