OCA / l10n-netherlands

Odoo Dutch Localization
GNU Affero General Public License v3.0
21 stars 55 forks source link

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

Closed NL66278 closed 11 months ago

NL66278 commented 11 months ago

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.

thomaspaulb commented 11 months ago

/ocabot merge patch

OCA-git-bot commented 11 months ago

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 commented 11 months ago

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