-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ADD] A new module that is dependency map view its a new view type to… #3442
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
base: 18.0
Are you sure you want to change the base?
Conversation
… check the dependency map of records
|
Hi @faizanlodhi. Thanks for sharing this module. could you elaborate in the USAGE.md file, and add some screenshot ? thanks ! (also, could you squash your commits ?) |
legalsylvain
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. I Guess you used AI to generate the code ? As a result, there is a lot of totally useless comments. Could you clean that ?
thanks in advance.
dependency_map_view/.gitignore
Outdated
| @@ -0,0 +1,5 @@ | |||
| *.pyc | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless file to remove.
dependency_map_view/hooks.py
Outdated
|
|
||
| def post_init_hook(env): | ||
| """ | ||
| Add dependency_map view mode to all existing window actions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it more as an optional action. I don't think all people want to use this new view in all models.
| Modules: | ||
| - ir_ui_view: Extends ir.ui.view to add 'dependency_map' as a new view type | ||
| - ir_actions: Extends ir.actions.act_window to automatically add dependency | ||
| map view to actions for models with relational fields | ||
|
|
||
|
|
||
| """ | ||
|
|
||
| # Import view model extension |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all comments can be removeds.

Summary
This PR adds a new module
dependency_map_view, which introduces a new view type allowing users to visualize dependencies between records in a graph or map layout.Features
Usage
Once installed, users can open the Dependency Map view from the corresponding model views to explore related data.
Task/Issue
N/A (New feature proposal)