Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

range_year in stock , sales and purchase no longer works after installing account_move_name_sequence module #2026

Open
nesrinebkd opened this issue Feb 11, 2025 · 0 comments
Labels

Comments

@nesrinebkd
Copy link

Hello, I have installed this module account_move_name_sequence, It works well for sequencing in invoicing, but when I tried to use ranges in sequencing for sales, purchases, or deliveries, the range_year no longer works as it does in standard Odoo17 .

Module

account_move_name_sequence

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

17

#Steps to Reproduce the Issue:
1.Go to Sequencing under Technical Settings in the Sales module.
2.Activate Use Date Ranges and create a date interval.
3.Modify the suffix of the sale order sequence to /%(range_year)s.

#Expected Behavior:
The sequence should display the year based on the record’s date, not the current date. However, it always shows the current year instead of taking the year from the first date in the defined range.

Additional context
odoo 17

@nesrinebkd nesrinebkd added the bug label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant