Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] hr_holidays_settings: Migration to 17.0 #154

Open
wants to merge 45 commits into
base: 17.0
Choose a base branch
from

Conversation

peluko00
Copy link
Contributor

@peluko00 peluko00 commented Dec 9, 2024

MiquelRForgeFlow and others added 30 commits December 9, 2024 17:20
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
Currently translated at 100.0% (4 of 4 strings)

Translation: hr-11.0/hr-11.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_holidays_settings/fa/
Currently translated at 100,0% (4 of 4 strings)

Translation: hr-11.0/hr-11.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_holidays_settings/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: hr-12.0/hr-12.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_settings/
Currently translated at 100.0% (4 of 4 strings)

Translation: hr-12.0/hr-12.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_settings/es/
Currently translated at 75.0% (3 of 4 strings)

Translation: hr-12.0/hr-12.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_settings/fr/
Currently translated at 100.0% (4 of 4 strings)

Translation: hr-12.0/hr-12.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_settings/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: hr-12.0/hr-12.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_settings/
Currently translated at 100.0% (3 of 3 strings)

Translation: hr-holidays-13.0/hr-holidays-13.0-hr_holidays_settings
Translate-URL: https://translation.odoo-community.org/projects/hr-holidays-13-0/hr-holidays-13-0-hr_holidays_settings/ca/
@peluko00 peluko00 mentioned this pull request Dec 9, 2024
4 tasks
Copy link

@BernatObrador BernatObrador left a comment

Choose a reason for hiding this comment

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

There are a few things happening in this migration:

  1. Missing Image in v17
    v16:
    image
    v17:
    image

There is no image in de v17.

  1. Missing Title in v17
    v16
    image

The title displayed in v16 does not appear in v17, leaving the page blank.

  1. Error When Navigating Between Settings Pages

An error occurs if you try to navigate to Leaves Management from another settings page (e.g., General Settings). The following error is raised:
OwlError: Invalid props for component 'SettingsBlock': 'slots' is missing (should be a object) Error: Invalid props for component 'SettingsBlock': 'slots' is missing (should be a object) at Object.validateProps (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1143:67) at SettingsFormRenderer.slot92 (eval at compile (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1511:421), <anonymous>:1291:13) at callSlot (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1110:25) at SettingsApp.template (eval at compile (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1511:421), <anonymous>:23:12) at Fiber._render (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:940:96) at Fiber.render (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:939:6) at ComponentNode.updateAndRender (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1029:29)

@peluko00 peluko00 force-pushed the 17.0-mig-hr_holidays_settings branch from dc44004 to 8cfd782 Compare December 10, 2024 09:21
@peluko00
Copy link
Contributor Author

There are a few things happening in this migration:

  1. Missing Image in v17
    v16:
    image
    v17:
    image

There is no image in de v17.

  1. Missing Title in v17
    v16
    image

The title displayed in v16 does not appear in v17, leaving the page blank.

  1. Error When Navigating Between Settings Pages

An error occurs if you try to navigate to Leaves Management from another settings page (e.g., General Settings). The following error is raised: OwlError: Invalid props for component 'SettingsBlock': 'slots' is missing (should be a object) Error: Invalid props for component 'SettingsBlock': 'slots' is missing (should be a object) at Object.validateProps (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1143:67) at SettingsFormRenderer.slot92 (eval at compile (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1511:421), <anonymous>:1291:13) at callSlot (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1110:25) at SettingsApp.template (eval at compile (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1511:421), <anonymous>:23:12) at Fiber._render (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:940:96) at Fiber.render (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:939:6) at ComponentNode.updateAndRender (http://oca-hr-holidays-17-0-pr154-dc44004b8f00.runboat.odoo-community.org/web/assets/8a10801/web.assets_web.min.js:1029:29)

Fixed. Thanks for the comments!

Copy link

@BernatObrador BernatObrador left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@DucTruongKomit DucTruongKomit left a comment

Choose a reason for hiding this comment

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

Review done. LGTM

Copy link

@mpascuall mpascuall left a comment

Choose a reason for hiding this comment

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

LGTM, tested in runboat

Copy link

@ppyczko ppyczko left a comment

Choose a reason for hiding this comment

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

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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

Successfully merging this pull request may close these issues.