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] sale_timesheet_invoice_description: Fix tests according to qty_delivered compute change since #1458

Conversation

victoralmau
Copy link
Member

Fix tests according to qty_delivered compute change since odoo/odoo@12355a8

Before, qty_delivered was calculated by summing up the analytical lines and converting with uom_id
Now, qty_delivered is computed by iterating each analytical lines and converting with uom_id each line.

This change of behavior, causes in some use cases that the rounding makes it differ by 0.01 (or more in some cases).

Please @pedrobaeza can you review it?

@Tecnativa

@pedrobaeza pedrobaeza added this to the 15.0 milestone May 12, 2023
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Fast-tracking for solving CI error:

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit d618acb into OCA:15.0 May 12, 2023
@OCA-git-bot
Copy link
Contributor

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

3 participants