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

[17.0][MIG] sale_timesheet_rounded: Migration to 17.0 #659

Open
wants to merge 15 commits into
base: 17.0
Choose a base branch
from

Conversation

sonhd91
Copy link

@sonhd91 sonhd91 commented Mar 27, 2024

Since the idea of this module is to replace the regular unit_amount with unit_amount_rounded by adding it as a field in the read_group method, and then replacing unit_amount with unit_amount_rounded.

In v17, the fields readed and the groupby are hard-coded when dealing with sales order lines, and the static loop element makes implementing the rounded flow prone to bugs. Therefore, I suggest overriding the method _get_delivered_quantity_by_analytic with hooks.

@sonhd91 sonhd91 changed the title [17.0][MIG] sale_timesheet_rounded: Migrate to 17.0 [17.0][MIG] sale_timesheet_rounded: Migration to 17.0 Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants