Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
841 มุมมอง

I'm looking to modify the oca web_advanced_search module in Odoo so that the code editor feature is always visible, rather than being restricted to debug mode. My aim is to provide all users with access to this feature for improved search functionality. I attempted a certain approach, but unfortunately, it did not yield the desired results:

odoo.define('custom_web_advanced_search.CustomAdvancedFilterItem', function (require) {
'use strict';

const AdvancedFilterItem = require('web_advanced_search.AdvancedFilterItem');

AdvancedFilterItem.include({
advanced_search_open() {
this._super.apply(this, arguments);
this.debugMode = true;
},
});
});
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
2405
2
ก.ค. 25
7892
2
ก.ค. 25
4301
2
ก.ค. 25
4037
2
มิ.ย. 25
2655