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

[12.0][FIX] Test l10n_br_sale_stock, field price_unit can be change after Confimed stock.picking. #1523

Conversation

mbcosta
Copy link
Contributor

@mbcosta mbcosta commented Jul 15, 2021

Test l10n_br_sale_stock, field price_unit can be change after Confimed stock.picking depending of Product Stock Valuation defined.

O campo price_unit na stock.move pode ser alterado ao Confirmar/Validar um stock.picking, isso parece acontecer devido a configuração da forma de Valorização de Estoque do Produto, o erro nos testes passou a ocorrer na refatoração do modulo l10n_br_delivery #1301 acredito que devido alteração dessa configuração nos dados de demonstração, talvez seja importante a confirmação do que levou ao erro, porém como esse comportamento é algo esperado que ocorre no core essa diferença também já é esperada ( aqui é possível ver no método a alteração https://github.com/odoo/odoo/blob/12.0/addons/stock_account/models/stock.py#L255 )

cc @renatonlima @rvalyi

…ing depending of Product Stock Valuation defined.
@rvalyi
Copy link
Member

rvalyi commented Jul 21, 2021

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 12.0-ocabot-merge-pr-1523-by-rvalyi-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@OCA-git-bot OCA-git-bot merged commit d529cdc into OCA:12.0 Jul 21, 2021
@OCA-git-bot
Copy link
Contributor

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