summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data_export.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-01-27 16:28:49 +0100
committerDenis Ledoux <dle@odoo.com>2016-01-27 16:36:26 +0100
commite2d16ea04a2ae98800086619ff5dc94dfa6eb5d3 (patch)
tree1687e74b34fe048ec19e206a8f3f6dfbb7d8fa71 /addons/web/static/src/js/data_export.js
parent634c62610efc784b47206a700a796fdbb343ec30 (diff)
[FIX] account_voucher: unreconcile with deleted journal items
This is possible to unreconcile and then remove journal items associated to `account.voucher.line`. When it's done, the voucher is within a corrupted state, with debits and credits lines without journal item, which is required. Because the journal item of this line is empty, while required, this is no longer possible to use the "Unreconcile" button, because the form is invalid. In order to allow to unreconcile a posted customer/supplier payments with missing journal items, we set the journal items as required only when the payment is within the `draft` stage. opw-667232
Diffstat (limited to 'addons/web/static/src/js/data_export.js')
0 files changed, 0 insertions, 0 deletions