Closed ddejong-therp closed 1 year ago
I'm closing this PR, because I think it is better to just have a record rule that limits the visibility/accessibility of xaf.auditfile.export
to the company it is created for. Thanks @NL66278 for the idea.
Here is the new PR: https://github.com/OCA/l10n-netherlands/pull/391
…ccounts when another company is active.
So, when you generate an auditfile on a multi-company instance, and your active company is a different one than on the
xaf.auditfile.export
record that you are trying to export, it gets exported without any accounts (generalLedger
tag is empty). This fixes that.