When I did this at v13:
raise Warning("You can't do that!")it looked like this:
Now at v14, it looks like this:
How can I get a "user-friendly" message like at v13?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
When I did this at v13:
raise Warning("You can't do that!")it looked like this:
Now at v14, it looks like this:
How can I get a "user-friendly" message like at v13?
Change your code to:
raise UserError("You can't do that!") This will give you:
odoo.exceptions.Warning: An error occurred Please use the copy button to report the error to your support service
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
1
3월 21
|
3541 | |||
|
5
5월 25
|
8680 | |||
|
1
10월 24
|
23343 | |||
|
1
8월 21
|
3785 | |||
|
0
6월 21
|
7152 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.