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

Analytic Distribution Models : User #683

Open
jguenat opened this issue Aug 21, 2024 · 0 comments
Open

Analytic Distribution Models : User #683

jguenat opened this issue Aug 21, 2024 · 0 comments
Milestone

Comments

@jguenat
Copy link
Member

jguenat commented Aug 21, 2024

Hello,

In version 15.0 it was possible to set up an Analytic default rule based on User.

analytic_default_rule

In version 16 and later the User field is not present anymore in the Analytic Distribution Models.

analytic_distribution_model

I am interested in restoring this feature within OCA but I'm not sure the best way to do it.

My guess is we need a base module inheriting account that adds the fiel user_id on account.analytic.distribution.model and super _compute_analytic_distribution on account.move.line.

Then we need additional modules to super _compute_analytic_distribution method in Purchase or Sale models.

In case of purchase I think it could cause issue with project_purchase depending on what module is executed first ?

Community feedback would be great before starting working on this.

Thank you !

@rafaelbn rafaelbn added this to the 16.0 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants