查看塔班odoo13中所需的字段
我的表单视图中需要一些字段。但是在看板的观点中,在各州之间移动记录时,这些必需的领域尚未得到评估。有谁知道当我在看板视图中并将其从状态转移到专栏时,是否知道如何使它们需要?
I have some fields that are required in my form view. but in the kanban view, when moving the records between states, these required fields are not being evaluated. Does anyone know how to make them required when I am in the kanban view and move them from state to column?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您将看板卡从一个阶段拖到另一个阶段,则可以在要分组的看板卡的字段上添加 onChange 方法,在该on Change方法中,您可以验证您的字段,以及某些验证条件失败,使用odoo vilenationerror
if you are dragging your kanban card from one stage to another, you can add onchange method on the field on which you are grouping your kanban cards, in that onchange method you can validate your fields and if some validation condition failed, use odoo ValidationError