Skip to content

[14.0][FIX] resolve Error:Expected singleton: date.range.generator (issue 1048) #1091

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

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

mktsrl
Copy link

@mktsrl mktsrl commented Jun 3, 2025

Resolve issue 1048

@OCA-git-bot
Copy link
Contributor

Hi @lmignon,
some modules you are maintaining are being modified, check this out!

@mktsrl mktsrl changed the title resolve Error:Expected singleton: date.range.generator (issue 1048) [14.0][FIX] resolve Error:Expected singleton: date.range.generator (issue 1048) Jun 3, 2025
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it's not the right fix. It could be a workaround but the problem is that the compute methods are not written to be called on a recordset with more than one record in it. If all the compute methods were properly written by making a loop on self, this problem would never occur.

Copy link

@danall59 danall59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants