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

[14.0][FIX] l10n_br_stock_account: Método para obter Operação Fiscal padrão deve usar a empresa do ENV não do usuário #2867

Merged

Conversation

mbcosta
Copy link
Contributor

@mbcosta mbcosta commented Jan 16, 2024

To get the current Company the mehtod should made self.env.company instead of self.env.user.company_id .

PR simples para corrigir no método para obter Operação Fiscal padrão deve usar a empresa do ENV e não do usuário, como está sendo feito em outros módulos, o commit estava no PR #2849 mas para facilitar a revisão extrai e criei esse PR

cc @renatonlima @rvalyi @marcelsavegnago @mileo

…ould made self.env.company instead of self.env.user.company_id .
Copy link
Member

@rvalyi rvalyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boa @mbcosta !

@rvalyi
Copy link
Member

rvalyi commented Jan 17, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-2867-by-rvalyi-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit f1f2cb1 into OCA:14.0 Jan 17, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at b996906. 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.

5 participants