gpt4 book ai didi

jquery - 如何在 odoo 9 中使用 jQuery 显示警告消息

转载 作者:行者123 更新时间:2023-12-01 08:41:55 25 4
gpt4 key购买 nike

我想使用 jQuery 在 odoo 中显示警告消息。因为我正在 jQuery 代码中进行验证。

最佳答案

您可以使用do_warn方法odoo-9:FormView.load_record

this.do_warn(_t("Form"), _t("The record could not be found in the database."), true);

关于jquery - 如何在 odoo 9 中使用 jQuery 显示警告消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46088203/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com