From d08f13cc3968d2b0ea506e74c6853ed088beac21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 2 Jul 2026 11:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_ai_agent/static/src/js/ai_rule_test.js | 127 +++++++++++------- 1 file changed, 77 insertions(+), 50 deletions(-) diff --git a/yuthon_ai_agent/static/src/js/ai_rule_test.js b/yuthon_ai_agent/static/src/js/ai_rule_test.js index 8559454da..8ed5701b1 100644 --- a/yuthon_ai_agent/static/src/js/ai_rule_test.js +++ b/yuthon_ai_agent/static/src/js/ai_rule_test.js @@ -1,65 +1,92 @@ -/** @odoo-module **/ - -import { patch } from "@web/core/utils/patch"; -import { FormController } from "@web/views/form/form_controller"; -import { _t } from "@web/core/l10n/translation"; -import { useService } from "@web/core/utils/hooks"; - -const { onWillStart } = owl; - /** - * 主动感知测试按钮 patch - * 拦截 action_test_guide 按钮点击,调用 RPC 后打开浮动聊天框 + * 主动感知测试按钮 + * 用法: