跳至内容
菜单
此问题已终结
1 回复
1454 查看

I add many field into sale order line. Most of the field is required. But because the tree view is too cramped, I hide some of the field even the required one. I want to tell the user that there are fields that required but hidden by showing the guide with picture. How can I put image in error pop up? which error that allow me to put image in it? or is there any better alternative?

形象
丢弃
最佳答案

Odoo does not natively support the inclusion of images in error pop-ups. However, you can achieve this by customizing Odoo’s behavior. Here are a couple of alternatives you might consider:

  1. Custom Pop-up or Wizard: You can create a custom pop-up or wizard that includes the image and the necessary instructions. This would require some development expertise in Odoo’s framework.
  2. Custom Field: Another option could be to add a custom field on the form view that displays the image and instructions. This field could be made visible only when certain conditions are met.
  3. Website Page: You could create a website page with the guide and instructions, and then provide a link to this page in the error message. This way, users can refer to the guide whenever they encounter the error.


形象
丢弃
编写者

This is actually a very good idea. Thank you

相关帖文 回复 查看 活动
1
9月 23
1931
2
2月 23
4158
1
12月 23
1791
2
7月 25
6501
1
5月 25
2324