Files
odoo_source/odoo
wan 9dfe7d9f2f [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#69551

X-original-commit: 36ebbb6f312d488b33bae098546ff71baf578a08
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Signed-off-by: William André (wan) <wan@odoo.com>
2021-04-20 13:36:19 +00:00
..
2021-02-19 13:20:48 +00:00
…
2021-02-19 13:20:48 +00:00
2021-03-31 13:57:17 +02:00
2021-02-19 13:20:48 +00:00