Skip to content

[19.0][MIG] hr_timesheet_calendar: Migration to 19.0#898

Open
CRogos wants to merge 15 commits into
OCA:19.0from
c4a8-odoo:copilot/migrate-hr-timesheet-calendar-18-to-19
Open

[19.0][MIG] hr_timesheet_calendar: Migration to 19.0#898
CRogos wants to merge 15 commits into
OCA:19.0from
c4a8-odoo:copilot/migrate-hr-timesheet-calendar-18-to-19

Conversation

@CRogos

@CRogos CRogos commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

supersede: #842

This PR depends on #896 to work.

Tests fixed by #899

But it looks like it cannot be done via temporary reference

odoo-addon-hr_timesheet_time_control @ git+https://github.com/OCA/timesheet.git@19.0#subdirectory=hr_timesheet_time_control

@CRogos

CRogos commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author

@bizzappdev , @alexey-pelykh could you review, also the dependent PRs.

@CRogos CRogos marked this pull request as ready for review April 16, 2026 19:02

@MohamedOsman7 MohamedOsman7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I encountered the following error when clicking on the calendar view:
ValueError: Cannot convert account.analytic.line.date_time_end to SQL because it is not stored.

@CRogos

CRogos commented Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

I encountered the following error when clicking on the calendar view: ValueError: Cannot convert account.analytic.line.date_time_end to SQL because it is not stored.

This is because of this missing PR #896 as mentioned above.

@CRogos CRogos force-pushed the copilot/migrate-hr-timesheet-calendar-18-to-19 branch 4 times, most recently from 2fa0d61 to e597b24 Compare April 30, 2026 16:41
@CRogos CRogos force-pushed the copilot/migrate-hr-timesheet-calendar-18-to-19 branch 6 times, most recently from 0909a90 to d2b4886 Compare May 20, 2026 13:48
@CRogos CRogos force-pushed the copilot/migrate-hr-timesheet-calendar-18-to-19 branch 2 times, most recently from 71fb166 to 9521013 Compare May 20, 2026 14:47
@CRogos

CRogos commented May 20, 2026

Copy link
Copy Markdown
Contributor Author

@MohamedOsman7 can be retested when #927 merged or hr_timesheet_time_control_begin_end is uninstalled.

mymage and others added 9 commits May 21, 2026 12:31
Currently translated at 100.0% (4 of 4 strings)

Translation: timesheet-17.0/timesheet-17.0-hr_timesheet_calendar
Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-hr_timesheet_calendar/it/
…ate configurable to be now or directly after the previous entry if available otherwise use employee working hour start
… dict

Running tests, sometimes an error was raised when demo project
has analytic account set. When was unset the problem was hidden.
@CRogos CRogos force-pushed the copilot/migrate-hr-timesheet-calendar-18-to-19 branch from 9521013 to 92d750c Compare May 21, 2026 12:31
@CRogos

CRogos commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

Should work now, but for testing hr_timesheet_begin_end should be uninstalled, because there are some issues with the start/end time calculation. (installing hr_timesheet_time_control_begin_end and hr_timesheet_begin_end at the same time does not make sense anyway)

@CRogos

CRogos commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

@lbarry-apsl could you review?

@CRogos CRogos force-pushed the copilot/migrate-hr-timesheet-calendar-18-to-19 branch from 92d750c to 887bdbf Compare May 22, 2026 20:38

@MohamedOsman7 MohamedOsman7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested! Functional & Code LGTM

@CRogos CRogos mentioned this pull request May 28, 2026
23 tasks
@MohamedOsman7

Copy link
Copy Markdown
Contributor

@leemannd could you review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:hr_timesheet_calendar Module hr_timesheet_calendar series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants