Skip to content

[19.0][MIG] server action navigate - #472

Merged
OCA-git-bot merged 18 commits into
OCA:19.0from
steingabelgaard:19.0-mig-server_action_navigate
Jul 29, 2026
Merged

[19.0][MIG] server action navigate#472
OCA-git-bot merged 18 commits into
OCA:19.0from
steingabelgaard:19.0-mig-server_action_navigate

Conversation

@hhgabelgaard

Copy link
Copy Markdown
Contributor

Std. migration

legalsylvain and others added 17 commits July 28, 2026 15:12
running -u all cause an issue :
```
wip-test odoo.addons.base.models.ir_ui_view: delete_last_line n'est pas une action valide sur base.automation

View name: Automations
Error context:
 view: ir.ui.view(1145,)
 xmlid: view_base_automation_form
 view.model: base.automation
 view.parent: ir.ui.view(15,)
 file: /home/florent.thomas/DEV/Odoo_Server_And_Libs/Servers_14.0/OCB/addons/base_automation/views/base_automation_view.xml

2022-08-19 10:29:00,179 2679017 WARNING thesocialitefamily14-wip-test odoo.modules.loading: Transient module states were reset
2022-08-19 10:29:00,184 2679017 ERROR thesocialitefamily14-wip-test odoo.modules.registry: Failed to load registry
```
Currently translated at 100.0% (26 of 26 strings)

Translation: server-backend-14.0/server-backend-14.0-server_action_navigate
Translate-URL: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-server_action_navigate/fr/
Currently translated at 100.0% (25 of 25 strings)

Translation: server-backend-16.0/server-backend-16.0-server_action_navigate
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-server_action_navigate/it/
@OCA-git-bot OCA-git-bot added series:19.0 mod:server_action_navigate Module server_action_navigate labels Jul 28, 2026
@hhgabelgaard
hhgabelgaard force-pushed the 19.0-mig-server_action_navigate branch from ceea737 to 0f46dab Compare July 28, 2026 16:35
@hhgabelgaard hhgabelgaard changed the title 19.0 mig server action navigate [19.0][MIG] server action navigate Jul 28, 2026
@legalsylvain

Copy link
Copy Markdown
Contributor

Could you take a look on red CI ?

Thanks !

@hhgabelgaard
hhgabelgaard force-pushed the 19.0-mig-server_action_navigate branch from 0f46dab to d2ae6d3 Compare July 29, 2026 05:32
@hhgabelgaard

Copy link
Copy Markdown
Contributor Author

@legalsylvain Yes, creates test data in setupClass, not from demo data

"model_id": cls.env.ref("base.model_res_users").id,
"state": "navigate",
"navigate_line_ids": [
(

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.

Nitpicking You can use Command.create

Less verbose more comprehensive

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Use self.env._ for translations
change view anchor
Inline test data
@hhgabelgaard
hhgabelgaard force-pushed the 19.0-mig-server_action_navigate branch from d2ae6d3 to 0c2e36c Compare July 29, 2026 09:10

@legalsylvain legalsylvain 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.

Thanks !

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 19.0-ocabot-merge-pr-472-by-legalsylvain-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 96ca3c1 into OCA:19.0 Jul 29, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 9513a36. Thanks a lot for contributing to OCA. ❤️

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.

8 participants