Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@Jp-alitec
Copy link

@Jp-alitec Jp-alitec commented May 24, 2024

Migrated to V17

@Jp-alitec Jp-alitec mentioned this pull request May 24, 2024
32 tasks
Copy link
Contributor

@CRogos CRogos left a comment

Choose a reason for hiding this comment

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

One thing I am not sure. I think, when you click the very first time, it is not working. If I see it correctly, you can also recognize this in the description gif recording.

Could you cleanup the git history according to the migration guide?
image

@CRogos
Copy link
Contributor

CRogos commented May 24, 2024

here is also another PR: #2798

@Jp-alitec Jp-alitec force-pushed the 17.0-mig-web_select_all_companies branch from 5c64c7c to 7b82b9e Compare May 24, 2024 11:01
@Jp-alitec
Copy link
Author

@CRogos Merge/squash done .

Also in this PR i have tested "when you click the very first time, it is not working" this issue is not there.
Also it has some additional style changes that differ from V16 (the font size , hover styles ).

also i think in the existing PR #2798 branches might not be get selected from this functionality whereas in this PR that issue is also fixed.

image

@Jp-alitec Jp-alitec requested a review from CRogos May 24, 2024 11:36
Copy link
Contributor

@CRogos CRogos left a comment

Choose a reason for hiding this comment

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

Could you fix the commit message and the version number.
Rest LGTM.

Could not reproduce the first click issue eigther.

image

"name": "Web Select All Companies",
"summary": "Allows you to select all companies in one click.",
"version": "16.0.1.0.1",
"version": "17.0.1.0.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

version should be 17.0.1.0.0

Copy link
Author

Choose a reason for hiding this comment

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

@CRogos Version updated and fixed the commit.

@Jp-alitec Jp-alitec force-pushed the 17.0-mig-web_select_all_companies branch 2 times, most recently from 1dfdc69 to fc1d06d Compare May 24, 2024 12:16
@Jp-alitec Jp-alitec requested a review from CRogos May 24, 2024 12:17
@Jp-alitec Jp-alitec force-pushed the 17.0-mig-web_select_all_companies branch from fc1d06d to aa229e2 Compare May 24, 2024 12:19
@Jp-alitec
Copy link
Author

@legalsylvain Please review.

@yannoliv
Copy link

yannoliv commented Jun 3, 2024

Hey! I am the guy from the other PR #2798. I have tested both our implementations on runboat and they are practically the same. Our solution looks very similar.

@Jp-alitec
Copy link
Author

Hey! I am the guy from the other PR #2798. I have tested both our implementations on runboat and they are practically the same. Our solution looks very similar.

@yannoliv try to create branches and then select all companies, there the difference will be visible.

@Jp-alitec
Copy link
Author

@legalsylvain @CRogos What is the next step to get this PR merged ?

@StefanRijnhart
Copy link
Member

@Jp-alitec I'll test it if you rebase to get runboat to build.

<div
role="button"
tabindex="0"
class="d-flex flex-grow-1 align-items-center py-0 log_into ps-2"

Choose a reason for hiding this comment

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

Suggested change
class="d-flex flex-grow-1 align-items-center py-0 log_into ps-2"
class="d-flex flex-grow-1 align-items-center py-0 ps-2"

IMHO log_intohas to be removed here, since it is (was?) linked to JS event to "log into a company" and it is irrelevant for "All companies".

Copy link
Member

Choose a reason for hiding this comment

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

@Jp-alitec what do you think?

@StefanRijnhart

This comment was marked as outdated.

@StefanRijnhart
Copy link
Member

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 17.0.

@OCA-git-bot OCA-git-bot force-pushed the 17.0-mig-web_select_all_companies branch from aa229e2 to 0393a49 Compare January 31, 2025 11:44
Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

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

Tested on runboat: after activating All Companies, deactivating the All Companies option does not work. All companies remain activated. I would expect the main company to be the only selected company after unchecking the option.

image

@StefanRijnhart
Copy link
Member

StefanRijnhart commented May 6, 2025

Please add a future upgrade note in the readme saying Odoo supports this functionality natively in version 18, but only if the user has access to more than nine companies (odoo/odoo@5b597766cd17605).

@DorianMAG
Copy link

@Jp-alitec
Hi, can you rebase please.
Runboat is not available.
Regards

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.