Skip to content

[18.0][MIG] hr_shift: Migration to 18.0#17

Closed
Abranes wants to merge 20 commits intoOCA:18.0from
Abranes:18.0-mig-hr_shift
Closed

[18.0][MIG] hr_shift: Migration to 18.0#17
Abranes wants to merge 20 commits intoOCA:18.0from
Abranes:18.0-mig-hr_shift

Conversation

@Abranes
Copy link
Member

@Abranes Abranes commented Sep 7, 2025

Migration to 18.0

Please review the kanban views carefully as they have undergone several changes to follow the 18.0 guidelines.

chienandalu and others added 12 commits August 31, 2025 19:12
TT50623

Co-authored-by: chienandalu

[UPD] Update hr_shift.pot

[BOT] post-merge updates
Changes done:
- Add rules related to shift lines
- Add My shifts filter + group by fields
- Add template + employee fields to calendar view
- Set widget="many2one_avatar_employee" to employee_id field (tree view)
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: shift-planning-15.0/shift-planning-15.0-hr_shift
Translate-URL: https://translation.odoo-community.org/projects/shift-planning-15-0/shift-planning-15-0-hr_shift/
Co-authored-by: neitherkx <dpalancamartinez@gmail.com>
@pedrobaeza
Copy link
Member

/ocabot migration hr_shift

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Sep 8, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 8, 2025
2 tasks
@david-banon-tecnativa
Copy link
Contributor

Hi, thanks for working on this PR, some comments:

TT57629

@Abranes Abranes force-pushed the 18.0-mig-hr_shift branch from bbf94cc to e97f679 Compare October 5, 2025 20:46
@Abranes
Copy link
Member Author

Abranes commented Oct 5, 2025

I migrated the latest commits from 17.0

  • When i click on a shift in the planning kanban view, a form for the hr.shift.planning.shift opens, is this intended behavior? it is different from how it is on 17.0.

Could you explain in more detail when this happens to you? I haven't been able to reproduce it.

Thanks!

@david-banon-tecnativa
Copy link
Contributor

On v17: clicking on the highlighted spot, does nothing.
image
While on v18, clicking on the same spot on the kanban card leads to the form view fro hr.shift.planning.shift
image
image

@pedrobaeza
Copy link
Member

@Abranes can you attend the comments?

@mathben
Copy link

mathben commented Jan 25, 2026

While on v18, clicking on the same spot on the kanban card leads to the form view fro hr.shift.planning.shift
I like this new feature, I don't understand what to do?

I test it and it works. But when I need to add a new employee, we need to recreate the shift planning or got this error
Compute method failed to assign hr.shift.planning.shift(12,).lines_data

@pedrobaeza
Copy link
Member

Superseded by #25

@pedrobaeza pedrobaeza closed this Feb 3, 2026
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.

10 participants