Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account: Remove is_move_sent change on reset to draft
Current Behavior: is_move_sent is not updated if there is an existing invoice_pdf_report_id. Purpose of this PR: Remove the `is_move_sent`: False on when resetting the account move to draft. This guarantees, that once the move has been sent via action_send_and_print, it will be marked as sent. Steps to Reproduce on Runbot: Create and Send and Print invoice. (is_move_sent is set to True) Reset invoice to draft. (is_move_sent is set to False) Confirm and resend invoice using Send and Print wizard. (is_move_sent remains False, expected to be changed to True) Notes: This PR #116698 added a _compute in Odoo 16, however it was removed in saas-16.3 with this PR #125392. is_move_sent is not updated on the second Send and Print because of the existing invoice_pdf_report_id (generated and linked during the first Send and Print). opw-3849109
- Loading branch information