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

[16.0][mig] web_widget_open_tab: Migration to 16.0 #2453

Merged
merged 29 commits into from
Jul 25, 2023

Conversation

dsolanki-initos
Copy link
Contributor

No description provided.

etobella and others added 28 commits March 15, 2023 14:24
Currently translated at 100.0% (2 of 2 strings)

Translation: web-12.0/web-12.0-web_widget_open_tab
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_open_tab/es/
Currently translated at 100.0% (2 of 2 strings)

Translation: web-12.0/web-12.0-web_widget_open_tab
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_open_tab/ca/
Currently translated at 100.0% (2 of 2 strings)

Translation: web-14.0/web-14.0-web_widget_open_tab
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_open_tab/de/
@tarteo
Copy link
Member

tarteo commented Mar 24, 2023

/ocabot migration web_widget_open_tab

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Mar 24, 2023
Copy link
Contributor

@AungKoKoLin1997 AungKoKoLin1997 left a comment

Choose a reason for hiding this comment

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

Functional Review: LGTM

Copy link

@len-foss len-foss left a comment

Choose a reason for hiding this comment

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

Works great. LGTM!

@minhthie
Copy link

On functional review, I think that it's good but should we consider using this widget for relation fields (m2o)?
For example, in Contract tree view, I add this widget=open_tab for field country_id. It should open a country form view in a new tab.
But for now, there is an error as shown below
image

@CRogos
Copy link
Contributor

CRogos commented Jul 7, 2023

On functional review, I think that it's good but should we consider using this widget for relation fields (m2o)? For example, in Contract tree view, I add this widget=open_tab for field country_id. It should open a country form view in a new tab. But for now, there is an error as shown below image

I've tested it with the helpdesk dashboard.
I get the same error message when setting the widget on a non-id field like these:


But in v15 these widget did not open the ticket_type_id form, but also the ticket form.

The widget is working fine when using the id field:

I agree that m2o would be a nice improvement but not necessary for the migration.

@pedrobaeza if you agree could you please merge the PR?

@pedrobaeza
Copy link
Member

Please add about m2o thing in the ROADMAP.

@CRogos
Copy link
Contributor

CRogos commented Jul 13, 2023

@dsolanki-initos could you add a ROADMAP.rst file in the readme folder with the note to add m2o support and add this to your last commit?

@CRogos
Copy link
Contributor

CRogos commented Jul 25, 2023

@pedrobaeza can we continue without the roadmap?

@pedrobaeza
Copy link
Member

OK, we'll add it later:

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-2453-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5b440d5 into OCA:16.0 Jul 25, 2023
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza
Copy link
Member

Roadmap added at f1e9348

moitabenfdz pushed a commit to DynAppsNV/web that referenced this pull request Nov 16, 2023
CRogos pushed a commit to c4a8-odoo/module-oca-web that referenced this pull request May 14, 2024
CRogos pushed a commit to c4a8-odoo/module-oca-web that referenced this pull request May 14, 2024
CRogos pushed a commit to c4a8-odoo/module-oca-web that referenced this pull request May 14, 2024
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.