summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorPaul Morelle <pmo@odoo.com>2020-03-13 09:36:36 +0000
committerPaul Morelle <pmo@odoo.com>2020-04-04 17:47:16 +0000
commitd2a1d72be8c7029e38c809e969efa42ce8b9a1f9 (patch)
treef9b9942257cba40d6988c9e16af72e18e3fbc0a4 /addons/web/static/src/js/views/basic/basic_model.js
parent761be431ed566bc72b991fb90ba43a3579ca59c1 (diff)
[FIX] account: ensure followers are internal users
On invoices, we had cases where the supplier was added as a follower to the invoice, and an email was sent to them. This commit adds tests that reproduce the same follower assignment that happened in saas-12.3, and fixes the issue for 13.0. We also treat the case when custom_values is None (the default value), and call the super method instead of just returning False. Since saas-13.2, account.move.name is computed, so there is no default value, and no need to specify it at the invoice creation. closes odoo/odoo#49004 X-original-commit: 4a32716c0c57fe904e1aeea63926fb5b65e3516b Signed-off-by: Laurent Smet <smetl@users.noreply.github.com> Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions