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

[15.0][FIX][l10n_br_fiscal] selection_add 'product' #2973

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

rvalyi
Copy link
Member

@rvalyi rvalyi commented Mar 24, 2024

Some modules of the repo depend on stock and have
demo products of type 'product' (this type is added to product.template in the stock module).
For some reason when running the tests, some inverse method fields then fail when reading 'product' value for the product type. It seems it is because l10n_br_fiscal doesn't depend on stock. But we don't want such a dependency.
So to avoid the bug we add the 'product' value to the selection which seems like an acceptable workaround.

example of such bugs:

Has somebody a better idea?

Some modules of the repo depend on stock and have
demo products of type 'product' (this type is added to
product.template in the stock module).
For some reason when running the tests, some inverse method fields
then fail when reading 'product' value for the product type.
It seems it is because l10n_br_fiscal doesn't depend on stock.
But we don't want such a dependency.
So to avoid the bug we add the 'product' value to the selection
which seems like an acceptable workaround.
@rvalyi
Copy link
Member Author

rvalyi commented Mar 25, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-2973-by-rvalyi-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Mar 25, 2024
Signed-off-by rvalyi
@OCA-git-bot
Copy link
Contributor

It looks like something changed on 15.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 15.0-ocabot-merge-pr-2973-by-rvalyi-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Mar 25, 2024
Signed-off-by rvalyi
@rvalyi
Copy link
Member Author

rvalyi commented Mar 25, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 2385328 into OCA:15.0 Mar 25, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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