Skip to content

[19.0] [MIG] hr_timesheet_name_customer : Migration to 19.0.#925

Open
uncannycs wants to merge 12 commits into
OCA:19.0from
uncannycs:19.0-mig-hr_timesheet_name_customer
Open

[19.0] [MIG] hr_timesheet_name_customer : Migration to 19.0.#925
uncannycs wants to merge 12 commits into
OCA:19.0from
uncannycs:19.0-mig-hr_timesheet_name_customer

Conversation

@uncannycs

Copy link
Copy Markdown

[19.0] [MIG] hr_timesheet_name_customer : Migration to 19.0.

OCA-git-bot and others added 11 commits May 20, 2026 17:57
This module added new field Customer Description in list view
In this module in report pdf instead of Description you can see Customer
Description. This field can see only Timesheets:Administrator
Currently translated at 100.0% (7 of 7 strings)

Translation: timesheet-16.0/timesheet-16.0-hr_timesheet_name_customer
Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-hr_timesheet_name_customer/es/
Currently translated at 100.0% (7 of 7 strings)

Translation: timesheet-16.0/timesheet-16.0-hr_timesheet_name_customer
Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-hr_timesheet_name_customer/pt_BR/
Currently translated at 100.0% (7 of 7 strings)

Translation: timesheet-16.0/timesheet-16.0-hr_timesheet_name_customer
Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-hr_timesheet_name_customer/fr/
Before this commit, the creation would fail when no 'name' value was provided.
Show "Description Customer" in portal instead of "Description".
This is done to maintain consistency and show the same information
in all views and reports.
Otherwise a client can be confused by seeing different descriptions in
reports and portal.

Add a post-init hook to populate "Description Customer" with "Description"
for existing records if it is not set.
This is done to ensure that the "Description Customer" field is not empty.
Standard migration from 16.0 to 18.0.
Hide 'Description' for correct UX.

Task: 5140
@OCA-git-bot OCA-git-bot added series:19.0 mod:hr_timesheet_name_customer Module hr_timesheet_name_customer labels May 20, 2026

@cgarcia-solvos cgarcia-solvos 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.

Code and functional review. LGTM!
Only minor comment:

Comment thread hr_timesheet_name_customer/models/hr_timesheet_name_customer.py Outdated
@uncannycs uncannycs force-pushed the 19.0-mig-hr_timesheet_name_customer branch from 3a1ec55 to 3dfc227 Compare June 4, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:hr_timesheet_name_customer Module hr_timesheet_name_customer series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants