summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorKatherine Zaoral <kz@adhoc.com.ar>2020-02-06 16:41:52 +0000
committerJosse Colpaert <jco@odoo.com>2020-02-18 14:09:25 +0000
commit62516ae5ffd80563a48749e5c591d66c61692c1b (patch)
tree40c3bc4534799638240c8ed23104e5b93996170c /addons/web/static/src/js/views/basic/basic_controller.js
parent7dd70438e1ec5799a91623bbf7f4798453882b67 (diff)
[FW][FIX] l10n_latam_invoice_document: proper validate vendor bills
Formerly the vendor bills, customer invoices and regular journal items were evaluated by the _check_unique_sequence_number method, but this is wrong and also was overwritten Odoo original constraint error message. Now the _check_unique_sequence_number evaluate the account.moves that are not vendor bills that use documents because this kind of bills uniqueness depends on the vendor: we can have same name of vendor bill from different partners. This is evaluated in the already existing _check_unique_vendor_number method closes odoo/odoo#44813 closes odoo/odoo#45643 Original-signed-off-by: Josse Colpaert <jco@openerp.com> X-original-commit: beaa3bbacd4bd35ed11962a7466f111e5e85f0d8 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions