Monday, February 9, 2026
1 change · saas-18.2
Enhancements to existing features
Users can now switch a posted invoice to a credit note, or the reverse, when its numbering sequence has already been manually cleared. This avoids unnecessary export, deletion, and re-import steps when correcting the document type in accounting.
Original PR description
Previously, switching an Invoice to a Credit Note (or vice versa) on a posted in_()/out_() move raised a blocking error. This forced users to export, delete, and re-import the document with the correct move type. This **PR** relaxes the restriction for posted moves whose sequence has been manually cleared, allowing the `Switch Invoice/Credit Note` action to proceed in that specific case. **task**-5905206 Forward-Port-Of: odoo/odoo#247349