-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[13.0][MIG] web_tree_many2one_clickable #1438
Merged
OCA-git-bot
merged 15 commits into
OCA:13.0
from
Daemo00:13.0-mig-web_tree_many2one_clickable
Nov 26, 2019
Merged
[13.0][MIG] web_tree_many2one_clickable #1438
OCA-git-bot
merged 15 commits into
OCA:13.0
from
Daemo00:13.0-mig-web_tree_many2one_clickable
Nov 26, 2019
Commits on Nov 17, 2019
-
[ADD] web_tree_many2one_clickable
Clickable many2one fields for tree views ======================================== This addon provides a separate widget to allow many2one fields in a tree view open the linked resource when clicking on their name. You can also define a system parameter to have this behaviour for all the existing many2one fields in tree views. Installation ============ Install it the regular way. Configuration ============= If you want to have all many2one fields clickable by default, you have to define in *Configuration > Technical > Parameters > System parameters*, a new parameter with name `web_tree_many2one_clickable.default` and with value `true`. Usage ===== For the widget option, you need to add `widget="many2one_clickable"` attribute in the XML field definition in the tree view. For example: `<field name="partner_id" widget="many2one_clickable" />` will open the linked partner in a form view. Known issues / Roadmap ====================== * You cannot deactivate clickable behaviour for an specific many2one field if you configure the system parameter. * The value of the system parameter is retrieved for each many2one field present in the view instead of only once.
Configuration menu - View commit details
-
Copy full SHA for 5e4b6bd - Browse repository at this point
Copy the full SHA 5e4b6bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a960ad - Browse repository at this point
Copy the full SHA 4a960adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07d93f1 - Browse repository at this point
Copy the full SHA 07d93f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07906d5 - Browse repository at this point
Copy the full SHA 07906d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb03e3 - Browse repository at this point
Copy the full SHA bfb03e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b5bacf - Browse repository at this point
Copy the full SHA 7b5bacfView commit details -
web_tree_many2one_clickable: Check if the node is a field
If a list contains a node which is not a field (e.g. a button), it will not be found in the fields so we'll have an error trying to get 'type' from undefined.
Configuration menu - View commit details
-
Copy full SHA for 64b739b - Browse repository at this point
Copy the full SHA 64b739bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30078b2 - Browse repository at this point
Copy the full SHA 30078b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d259c90 - Browse repository at this point
Copy the full SHA d259c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6f57a - Browse repository at this point
Copy the full SHA 4e6f57aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd0df8 - Browse repository at this point
Copy the full SHA 6dd0df8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a294152 - Browse repository at this point
Copy the full SHA a294152View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1d51a - Browse repository at this point
Copy the full SHA bd1d51aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae25d3 - Browse repository at this point
Copy the full SHA 2ae25d3View commit details
Commits on Nov 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ca1690f - Browse repository at this point
Copy the full SHA ca1690fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.