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

[16.0][FIX] *+xaf_auditfile_export: use correct company in name #401

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

NL66278
Copy link
Contributor

@NL66278 NL66278 commented Oct 11, 2023

Currently the export record is created with the current company in the environment (self.env.company), but the default company for the user (self.env.user.company_id) is applied to the name generated. This can and will lead to mismatches.

This fix will consistently use self.env.company.

The same change was already merged in 14.0.

Currently the export record is created with the current company in the
environment (self.env.company), but the default company for the user
(self.env.user.company_id) is applied to the name generated. This can
and will lead to mismatches.

This fix will consistently use self.env.company.
@thomaspaulb
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-401-by-thomaspaulb-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit aa5d7d6 into OCA:16.0 Oct 12, 2023
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at c380adf. Thanks a lot for contributing to OCA. ❤️

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

Successfully merging this pull request may close these issues.

4 participants