Skip to content
Snippets Groups Projects
Commit ecd94d69 authored by alt-odoo's avatar alt-odoo
Browse files

[FIX] account: wrong sequence number reset for refund type moves

In case a yearly sequence is set for out_invoice/in_invoice types and if we set
a monthly sequence on the corresponding out_refund/in_refund type, we will not be
able to validate the refund the next month as it will be wrongly identified as a
yearly sequence. We should include the move type when retrieving the last
sequence name instead.

X-original-commit: 612f453a
parent bbc6ed03
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment