0 编辑 关闭 删除 标记 Show div based on Boolean condition 编辑 关闭 删除 标记 odoo 17 十月 2025 退订 订阅 reportingodooV8xpathodoo16featuresbooleant-if 评论 分享 贴子评论 丢弃 1 答案 0 odoo 17 十月 2025 最佳答案 Hi,Try the following code.<t t-if="record.is_incharge_sign"> <div class="mb-4"> <t> <h4>Dispatch In-Charge</h4> <a class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal_dispatch">Sign</a> </t> </div></t>Hope it helps 备注 分享 贴子评论 丢弃