summaryrefslogtreecommitdiff
path: root/addons/base_vat/tests/test_validate_ruc.py
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2021-03-25 11:28:42 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2021-04-02 09:25:33 +0000
commit72c29b105bdb4da5b306cd3b48a1683c1bf3e620 (patch)
tree6fd740aa1f50f1baf85b70b20c75e7d08d0fc693 /addons/base_vat/tests/test_validate_ruc.py
parent3de6216b5bb0fd423faf5c40a3e9811a1ffc9d42 (diff)
[FIX]account: error when rest bill to draft
- On accounting settings, activate 'Cash Basis'; - Select a 'Base Tax Received Account'; - Modify a purchase taxes, and set the 'Tax Due' to 'Based on Payment'; - Set a 'Cash Basis Transition Account'; - Be sure that the previously selected account allows reconciliation; - Create a Vendors Bills, using the modified purchase tax; - Register a payment; - Reset to draft the vendors bill. Before this commit, an error was raised : 'Record does not exist or has been deleted.' This occurs because when trying to unlink the partial reconcile, it will first reverse and unlink the tax cash basis partial reconcile moves. After when trying to access the partial reconcile to unlink the error is raised because one is already unlink. Now, the vendors bill is correctly reset to draft. opw-2477526 closes odoo/odoo#68333 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com> Co-authored-by: Laurent Smet <las@odoo.com>
Diffstat (limited to 'addons/base_vat/tests/test_validate_ruc.py')
0 files changed, 0 insertions, 0 deletions