summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorKatherine Zaoral <kz@adhoc.com.ar>2020-06-09 19:06:01 +0000
committerKatherine Zaoral <kz@adhoc.com.ar>2020-06-12 10:43:58 +0000
commitb7421e5860822652a3dbe0d3307b11534c076ad1 (patch)
treeb765fb72a93fb544facb3175e7425ff3794c3bfb /addons/mail/static/src/models/thread_cache/thread_cache.js
parentd2bd958765734108065e7f5a46021ba34cadfdc6 (diff)
[FIX] l10n_ar: support multiple records inside constraint method
Before this change the constraint that check afip configurations has an ensure_one() that was throwing an error when we try to change journals in batch. Now the constraint support mutilple records at once and return the ValidationError message show information of the journal's which constraint aplies. Also, we remove the print of the list of the invoices in the ValidationError message because this ones could be a really long list and it is not necessary, only knowing the journal is enough. closes odoo/odoo#52914 X-original-commit: 710bb9f161da4718024c4454ce14a7dbc2d24c93 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions