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

[FIX] fill_analytic_distribution get analytic account column #360

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

remi-filament
Copy link
Contributor

When trying to use fill_analytic_distribution for migrating purchase module (OCA/OpenUpgrade#4303), I got the following error :
column line.analytic_account_id does not exist

The problem here is that the column is named account_analytic_id...
I then added a named parameter to fill_analytic_distribution() function to be able to set the column name holding analytic account id as done for the other columns related to analytic distribution

@pedrobaeza pedrobaeza merged commit 6cc596c into OCA:master Feb 14, 2024
3 checks passed
@remi-filament
Copy link
Contributor Author

Thanks @pedrobaeza

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.

2 participants