Commit Graph

354 Commits (dbdd7fccbb154d47073ac1cf64416719b475319c)

Author SHA1 Message Date
Guewen Baconnier dbdd7fccbb 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.
2024-03-22 12:35:37 +01:00
Artem Kostyuk 5c7856d9cb [MIG] web_tree_many2one_clickable: Migration to 11.0 2024-03-22 12:35:37 +01:00
Atchuthan, Sodexis fa7e92057d [MIG] web_tree_many2one_clickable: Migrated to 10.0 2024-03-22 12:35:37 +01:00
Antonio Espinosa b05e933c2b [MIG] web_tree_many2one_clickable: Migration to 9.0 2024-03-22 12:35:37 +01:00
Holger Brunn b1b5667b51 support reference fields in many2one_clickable widget 2024-03-22 12:35:37 +01:00
Antonio Espinosa 6eac769c47 [FIX] Allow set web_tree_many2one_clickable.default as True 2024-03-22 12:35:37 +01:00
Pedro M. Baeza 969a2fa5c1 [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.
2024-03-22 12:35:37 +01:00
mymage 481ce4ec97 Translated using Weblate (Italian)
Currently translated at 100.0% (29 of 29 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/it/
2024-02-12 11:39:29 +00:00
Ivorra78 6d2d7649dd Translated using Weblate (Spanish)
Currently translated at 100.0% (29 of 29 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/es/
2024-02-06 19:37:02 +00:00
Ivorra78 c0751a7d35 Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/es/
2024-02-06 19:37:02 +00:00
mymage fe0cd5f5cd Translated using Weblate (Italian)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/it/
2024-02-04 16:34:09 +00:00
mymage 0e94dd11aa Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-17.0/web-17.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_environment_ribbon/it/
2024-02-04 16:34:09 +00:00
mymage bc9610a269 Added translation using Weblate (Italian) 2024-02-04 13:31:40 +00:00
mymage 811f455df6 Added translation using Weblate (Italian) 2024-02-04 13:31:35 +00:00
mymage aa8ee48d50 Added translation using Weblate (Italian) 2024-02-04 12:43:26 +00:00
Weblate 85a4cb5b25 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_no_bubble
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_no_bubble/
2024-02-03 20:06:50 +00:00
Weblate 62f8e0ae1d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/
2024-02-03 20:06:41 +00:00
Weblate eb096cd3e0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/
2024-02-03 19:38:55 +00:00
OCA-git-bot dc9d4574cc [BOT] post-merge updates 2024-01-19 15:16:12 +00:00
oca-ci 5f73fc19e3 [UPD] Update web_responsive.pot 2024-01-19 15:14:03 +00:00
OCA-git-bot 630901172c Merge PR #2684 into 17.0
Signed-off-by pedrobaeza
2024-01-19 15:12:04 +00:00
Taras Shabaranskyi 7d4e65dac6 [MIG] web_responsive: Migration to 17.0 2024-01-19 16:59:57 +02:00
OCA-git-bot 9ee7803771 [BOT] post-merge updates 2024-01-19 08:26:44 +00:00
oca-ci 644a301880 [UPD] Update web_no_bubble.pot 2024-01-19 08:25:02 +00:00
OCA-git-bot cab8f2e654 Merge PR #2708 into 17.0
Signed-off-by pedrobaeza
2024-01-19 08:23:37 +00:00
Andrea Stirpe 3704b3ee1a [IMP] web_no_bubble: migration to 17.0 2024-01-02 17:24:55 +01:00
Andrea Stirpe 4d5ed2b6b2 [IMP] web_no_bubble: pre-commit 2024-01-02 17:22:26 +01:00
mymage 88b5006287 Added translation using Weblate (Italian) 2024-01-02 17:12:57 +01:00
Rémi 1f9c8022ee Deleted translation using Weblate (French) 2024-01-02 17:12:57 +01:00
Rémi 1a94e6b508 Added translation using Weblate (French) 2024-01-02 17:12:57 +01:00
OCA-git-bot 833b52d142 [UPD] README.rst 2024-01-02 17:12:57 +01:00
OCA-git-bot 41bbf61f98 [UPD] README.rst 2024-01-02 17:12:57 +01:00
oca-ci 4aaaaf7584 [UPD] Update web_no_bubble.pot 2024-01-02 17:12:57 +01:00
Andrea Stirpe 44ab067547 [16.0][MIG] web_no_bubble 2024-01-02 17:12:57 +01:00
OCA Transbot 9a27fcdf6b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_no_bubble
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_no_bubble/
2024-01-02 17:12:57 +01:00
OCA-git-bot d5a0a8f91f [UPD] README.rst 2024-01-02 17:12:57 +01:00
oca-ci 5a253f60c8 [UPD] Update web_no_bubble.pot 2024-01-02 17:12:57 +01:00
Thanakrit Pintana c701740d46 [MIG] web_no_bubble: Migration to 15.0 2024-01-02 17:12:57 +01:00
OCA Transbot d1b4d67db0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-14.0/web-14.0-web_no_bubble
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_no_bubble/
2024-01-02 17:12:57 +01:00
OCA-git-bot 4c7842b8db [UPD] README.rst 2024-01-02 17:12:57 +01:00
oca-travis 610d29d575 [UPD] Update web_no_bubble.pot 2024-01-02 17:12:57 +01:00
ellbristow f546ac251a [MIG] web_no_bubble: Migration to 14.0 2024-01-02 17:12:57 +01:00
claudiagn d5c97be806 Added translation using Weblate (Spanish) 2024-01-02 17:12:57 +01:00
OCA-git-bot 7d933c7c2a [UPD] README.rst 2024-01-02 17:12:57 +01:00
OCA-git-bot 2715f344fa [UPD] README.rst 2024-01-02 17:12:57 +01:00
Jairo Llopis 7ed0789ae0 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2024-01-02 17:12:57 +01:00
OCA-git-bot 3d07468c04 [UPD] README.rst 2024-01-02 17:12:57 +01:00
oca-travis 9552daf592 [UPD] Update web_no_bubble.pot 2024-01-02 17:12:57 +01:00
BT-nstuder fc9a0fc77d [MIG] web_no_bubble: Migration to 13.0 2024-01-02 17:12:57 +01:00
BT-nstuder efe8f8d443 [IMP] web_no_bubble: black, isort 2024-01-02 17:12:57 +01:00