Hello,
I am testing Odoo 17 and setup a database with sequences (ir.sequence) for both 2023 and 2024.
When I try to issue a document using a date from 2023, Odoo cannot find the "subsequence for date range" and always considering 2024 as the sequence.
In later versions, the sequence number is based in "use date range option".
Please check the following image with sequences setup:
Thank you all in advance