Skip to content

Commit

Permalink
[FIX] project_task_subtask: используем настоящий UserError
Browse files Browse the repository at this point in the history
Из-за использования устаревшего Warning, сообщения об ошибках нормально не выводилось клиенту
  • Loading branch information
em230418 committed Dec 27, 2024
1 parent 1f013cd commit 28a6652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_task_subtask/models/project_task_subtask.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from odoo import api, fields, models
from odoo.exceptions import Warning as UserError
from odoo.exceptions import UserError
from odoo.tools import html_escape
from odoo.tools.translate import _

Expand Down

0 comments on commit 28a6652

Please sign in to comment.