Skip to content

Conversation

@hazemayman1
Copy link

  • Removed default group by from Learning > Certifications to be more generic
  • Removed certifications from Reporting > Skills to reduce redundancy

task-5385053

@robodoo
Copy link

robodoo commented Dec 3, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-hr-onboarding-haabo, it needs to be retargeted before it can be merged.

Copy link

@YassinWalid YassinWalid left a comment

Choose a reason for hiding this comment

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

Thanks for your work 🤩
I have one small suggestion though

Comment on lines 47 to 63

<record id="hr_employee_certification_report_action" model="ir.actions.act_window">
<field name="name">Certification</field>
<field name="res_model">hr.employee.certification.report</field>
<field name="search_view_id" ref="hr_employee_certification_report_view_search"/>
<field name="view_mode">list,pivot</field>
<field name="context">{
'search_default_employee': 1,
}</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
</p><p>
This report will give you an overview of the certification per Employee.
Create them in configuration and add them on the Employee.
</p>
</field>
</record>

Choose a reason for hiding this comment

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

Since you removed the menu item that calls the action hr_employee_certification_report_action, and nobody else uses this action, the action should be deleted as well.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks! yes that makes sense. Updated.

@hazemayman1 hazemayman1 force-pushed the master-hr-onboarding-certifications_reporting-haabo branch from c477e10 to f03af86 Compare December 4, 2025 09:09
@YassinWalid
Copy link

Helloo 👋
One other comment. Since we're now removing menus and/or records, this needs an upgrade script to remove them from databases when upgrading as well. You can find a guide here. (also you can check the upgrade-util symlink in the Newbies Onboarding knowledge page if it helps)

Copy link

@YassinWalid YassinWalid left a comment

Choose a reason for hiding this comment

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

Thanks for the changes. I have one other comment though.


<record id="hr_employee_certification_report_action" model="ir.actions.act_window">
<field name="name">Certification</field>
<field name="res_model">hr.employee.certification.report</field>

Choose a reason for hiding this comment

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

Since this action was the only one calling the views of the model hr.employee.certification.report, I think we should also delete the model and its views.
(Also remember to extend the upgrade script to include those as well)

- Removed default group by from Learning > Certifications to be more generice
- Removed certifications from Reporting > Skills to reduce redundancy

task-5385053
@hazemayman1 hazemayman1 force-pushed the master-hr-onboarding-certifications_reporting-haabo branch from f03af86 to 6c35e12 Compare December 5, 2025 15:15
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.

4 participants