OCA / cooperative

GNU Affero General Public License v3.0
11 stars 22 forks source link

[16.0][ADD] cooperator_documentation #125

Closed carmenbianca closed 1 month ago

carmenbianca commented 7 months ago

Add a link to the Cooperators menu bar.

Capture d’écran du 2024-04-05 12-18-15

Problem: The link points to a French-language page, which isn't ideal.

Internal task: https://gestion.coopiteasy.be/web#id=12257&action=479&model=project.task&view_type=form&menu_id=536

carmenbianca commented 7 months ago

I have found a potential solution to the French-language link. We can create a custom subclass/submodel of ir.actions.act_url which sets the url field to translatable. Because the value of type remains identical, the functionality of the new model will remain intact. See action_service.js in the web module.

But should the creation of such a custom submodel be in a different OCA module? I do not know.

The real correct solution is probably to make the target website language-aware, though. But that obviously isn't always possible.

victor-champonnois commented 7 months ago

Thank you Carmen for the work! Maybe we should wait for the documentation to be updated for v16 before deploying.

github-actions[bot] commented 3 months ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

huguesdk commented 1 month ago

/ocabot merge nobump

OCA-git-bot commented 1 month ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-125-by-huguesdk-bump-nobump, awaiting test results.

OCA-git-bot commented 1 month ago

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