Skip to content

Conversation

@MVillaescusaM
Copy link

No description provided.

simahawk and others added 19 commits November 27, 2025 13:47
sale_timesheet_rounded: fix do not use default
This way, we avoid a lot of code and get the same features.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: timesheet-17.0/timesheet-17.0-sale_timesheet_rounded
Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-sale_timesheet_rounded/
Currently translated at 100.0% (21 of 21 strings)

Translation: timesheet-17.0/timesheet-17.0-sale_timesheet_rounded
Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-sale_timesheet_rounded/it/
Currently translated at 100.0% (21 of 21 strings)

Translation: timesheet-17.0/timesheet-17.0-sale_timesheet_rounded
Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-sale_timesheet_rounded/it/
@MVillaescusaM MVillaescusaM changed the title [18.0] [MIG] sale_timesheetrounded [18.0][MIG] sale_timesheet_rounded Nov 27, 2025
@MVillaescusaM
Copy link
Author

@flachica

@MVillaescusaM
Copy link
Author

@dgarcia-tf @Mcastillol14

@ivs-cetmix
Copy link
Member

Hi @MVillaescusaM, thank you for your contribution! Could you please check and fix the tests?

@flachica
Copy link

@MVillaescusaM ¿Resolvemos esto ASAP?

@ivs-cetmix
Copy link
Member

Hi @MVillaescusaM , thank you very much! Could you please check he codecove report and add some minor test(s) so we could have codecove green as well?

@MVillaescusaM
Copy link
Author

Hi @ivs-cetmix , done! All in green!

@ivs-cetmix
Copy link
Member

Great job, thank you @MVillaescusaM !

@ivs-cetmix
Copy link
Member

@flachica would appreciate your review!

@flachica
Copy link

@MVillaescusaM If you configure a rounding method to adjust the units to 15 minutes, for example, I get the following error:

File "/opt/odoo/src/addons/oca/timesheet/sale_timesheet_rounded/models/account_analytic_line.py", line 51, in _calc_rounded_amount
unit_amount_rounded = float_round(
File "/opt/odoo/src/odoo/odoo/tools/float_utils.py", line 122, in float_round
raise ValueError(msg)
ValueError: unknown rounding method: HALF_UP

Also, make sure your commit history follows OCA guidelines. I currently see many commits in your branch after the message "[MIG] sale_timesheet_rounded: Migration to 18.0"

@ivs-cetmix
Copy link
Member

Hi @MVillaescusaM thank thank you for the update, please ping @flachica as soon as the commit history is fixed.

@MVillaescusaM MVillaescusaM force-pushed the 18.0-mig-sale_timesheet_rounded branch from 142bae8 to 0821b04 Compare February 4, 2026 09:36
@MVillaescusaM
Copy link
Author

@flachica ready to review

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.