summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorGuewen Baconnier <guewen.baconnier@camptocamp.com>2017-03-20 10:28:29 +0100
committerMartin Trigaux <mart-e@users.noreply.github.com>2017-03-20 10:28:29 +0100
commit55e676474782d6217dc95d7f14abd2166ab251f6 (patch)
treeaa1e86dbc4557a33178b8afecffa584de026c454 /addons/web/static/src/js/views/basic/basic_controller.js
parentf7eb74f7ea354c52ee61b656baa38f4d5e549e39 (diff)
[IMP] account: extract check of duplicate supplier reference
Having more than one supplier invoice with the same reference is sometimes possible. For instance, in Switzerland, the use of BVR/ESR numbers as a type of reference permits this. Generally, this number is unique and used only for one invoice. However, some suppliers do use the same BVR reference for several invoices (e.g. recurring invoices). This commit allows to disable this check if required, which is only possible if it is extracted from 'invoice_validate'. Closes #15891
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions