summaryrefslogtreecommitdiff
path: root/addons/note/security/note_security.xml
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2021-04-20 08:48:05 +0000
committerwan <wan@odoo.com>2021-04-20 12:07:29 +0000
commit804934cec9380a12e1d10c7f4110102c86233fdf (patch)
tree4f5dc16845cf77fdd26f1b5f5fe7464788e2f5e9 /addons/note/security/note_security.xml
parent8f8d55ee4e773884ab35e11bfd0573d7997f3ad3 (diff)
[FIX] base: ensure_one in ir.sequence._get_prefix_suffix
The try/except is there to check that the string can be interpolated, so it is catching a ValueError. But if there is a singleton error (when the length of `self` is bigger than 1), it will raise a ValueError too. The UserError raised in the except is then weird/wrong. closes odoo/odoo#69538 X-original-commit: 36ebbb6f312d488b33bae098546ff71baf578a08 Signed-off-by: Raphael Collet (rco) <rco@openerp.com> Signed-off-by: William André (wan) <wan@odoo.com>
Diffstat (limited to 'addons/note/security/note_security.xml')
0 files changed, 0 insertions, 0 deletions