[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
Loading
Please register or sign in to comment