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] project_role: Migration to 17.0 #1204

Merged
merged 25 commits into from
Feb 9, 2025

Conversation

ramiadavid
Copy link
Contributor

No description provided.

@ramiadavid ramiadavid mentioned this pull request Dec 12, 2023
29 tasks
@ramiadavid ramiadavid force-pushed the 17.0-mig-project_role branch 2 times, most recently from af3ec08 to 2824707 Compare December 12, 2023 06:33
@ramiadavid ramiadavid marked this pull request as ready for review December 12, 2023 06:35
@ramiadavid ramiadavid force-pushed the 17.0-mig-project_role branch 2 times, most recently from 0e86c5c to 62cccb0 Compare March 17, 2024 20:08
@ramiadavid
Copy link
Contributor Author

@xavierboes updated

@xavierboes
Copy link

Further testing: the project is not visible when opening the Assignment list (view: project_role.project_assignment_tree).
Would leave out the invisible condition (invisible="context.get('default_project_id', False)").

Also, why not add the assignments as a tab/page on the project?

            <notebook position="inside">
                <page name="assignments" string="Assignments">
                    <field name="assignment_ids">
                        <tree>
                            <field name="role_id"/>
                            <field name="user_id"/>
                        </tree>
                    </field>
                </page>
            </notebook>

@ramiadavid
Copy link
Contributor Author

@xavierboes

the project is not visible when opening the Assignment list (view: project_role.project_assignment_tree).

I'm sorry, but I don't see where the project is not visible, I can see it, can you show me a screenshot?

Also, why not add the assignments as a tab/page on the project?

I think we should do this as an improvement, to be able to forward to other versions, instead of doing it in the migration, what do you think?

@xboes
Copy link

xboes commented Mar 23, 2024

@ramiadavid Project is now visible, seems fixed ✅

@xavierboes
Copy link

@ramiadavid : project visibility is still incorrect.

Problem is here:

<field name="project_id" domain="[('active', '=', True)]" invisible="context.get('default_project_id', False)"/>

Resulting in empty list view:
image

--> Would leave out the "invisible" statement.

Also, would really appreciate the tab/page addition as it improves workability from functional standpoint

@ramiadavid ramiadavid force-pushed the 17.0-mig-project_role branch 2 times, most recently from 7cd28e6 to f6483aa Compare April 7, 2024 12:34
@ramiadavid
Copy link
Contributor Author

@xavierboes Updated

@xboes
Copy link

xboes commented Apr 7, 2024

Great, LGTM !

@gbtechnology
Copy link

Hello, who should merge this?

@pedrobaeza
Copy link
Member

/ocabot migration project_role

2 reviews should be done:

https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#review

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone May 2, 2024
@ramiadavid ramiadavid force-pushed the 17.0-mig-project_role branch from f6483aa to 55b48f9 Compare July 5, 2024 05:38
@@ -24,6 +24,16 @@
<field name="limit_role_to_assignments" />
</group>
</page>
<notebook position="inside">
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this a new feature?

Copy link

@CasVissers-360ERP CasVissers-360ERP 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

@coleste
Copy link

coleste commented Nov 6, 2024

👍
what is happening with the new feature?

@dreispt
Copy link
Member

dreispt commented Feb 9, 2025

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-1204-by-dreispt-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 591ee2e into OCA:17.0 Feb 9, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at f4519bb. 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.