Files
odoo_source/addons/account_edi
Josse Colpaert 76efa26896 [FIX] account_edi: also lock account_move for sending
Fix in cc67b5ac95 was done in v14
originally and would lock both the edi document and the
account move instead of just the edi document
(and the move while cancelling)

However in the fw-port in 5319b71b66,
some kind of mix happened.

We have some tickets in v15 however where the
invoice is sent to the government, but it was not changed in Odoo because
of the concurrent access on the account_move, so we need to lock the
account_move as well.

opw-2714559, opw-2663502

closes odoo/odoo#82254

X-original-commit: 8d896b19007a788d88f2ffb45385f0d10cb476b5
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Josse Colpaert <jco@odoo.com>
2022-01-05 11:36:06 +00:00
..