diff options
| author | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2021-01-21 14:35:24 +0000 |
|---|---|---|
| committer | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2021-01-22 12:54:08 +0000 |
| commit | 8d0c25f359f92533eb25f2990d6e2aceef33b77a (patch) | |
| tree | b6858c043c8f8923f0396319ccb604cec83da8e0 /addons/web/static/tests | |
| parent | e452d30f739db39a088248a3109c8c49cff9d49f (diff) | |
[FIX] account_edi: better locking of documents and other models when processing EDI
- On account_edi_document, lock the documents successively instead of all at once.
- Lock account_move that should be cancelled. Before, cancelling the invoice after cancelling it on the web-service could fail.
- Lock ir_attachment that might be unlinked. Before, attachments that weren't attached to any model could become unreachable but still present in the database when an invoice was cancelled or a new attachment was produced.
closes odoo/odoo#64870
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/web/static/tests')
0 files changed, 0 insertions, 0 deletions
