Commit Graph

719 Commits

Author SHA1 Message Date
Anand Kansagra
30e785c487 [MIG] web_tree_many2one_clickable: Migration to 12.0. 2024-03-22 12:35:37 +01:00
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
Daryl Chen
7538a6ee45 [IMP] web_favicon: pre-commit auto fixes 2024-03-14 13:34:57 -04:00
Weblate
c0cd006a3d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/
2024-03-14 13:34:12 -04:00
OCA-git-bot
3e4a7c5ea5 [UPD] README.rst 2024-03-14 13:34:12 -04:00
André Volksdorf
ec65ba7dc9 Translated using Weblate (German)
Currently translated at 88.8% (8 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/de/
2024-03-14 13:34:12 -04:00
Ahmet Altinisik
dd45ba8b18 Translated using Weblate (Turkish)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/tr/
2024-03-14 13:34:12 -04:00
Ahmet Altinisik
026ca13d5a Added translation using Weblate (Turkish) 2024-03-14 13:34:12 -04:00
claudiagn
9345fc3971 Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/es/
2024-03-14 13:34:12 -04:00
OCA-git-bot
e3dbae176c [UPD] README.rst 2024-03-14 13:34:12 -04:00
OCA-git-bot
0b431bdd84 [UPD] README.rst 2024-03-14 13:34:12 -04:00
Pedro M. Baeza
b3dfde201b [IMP] web_favicon: Use relative import 2024-03-14 13:34:12 -04:00
Carles Antoli
6e7e8502d3 Translated using Weblate (Catalan)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/ca/
2024-03-14 13:34:12 -04:00
Carles Antoli
54a4aad533 Added translation using Weblate (Catalan) 2024-03-14 13:34:12 -04:00
Carles Antoli
e19b361a8c Added translation using Weblate (Catalan) 2024-03-14 13:34:12 -04:00
Rodrigo Macedo
4ebbdf7cba Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/pt_BR/
2024-03-14 13:34:12 -04:00
黎伟杰
0db419b6b8 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/zh_CN/
2024-03-14 13:34:12 -04:00
黎伟杰
64b9ba7e20 Added translation using Weblate (Chinese (Simplified)) 2024-03-14 13:34:12 -04:00
Pedro Castro Silva
28abc0582d Translated using Weblate (Portuguese)
Currently translated at 22.2% (2 of 9 strings)

Translation: web-12.0/web-12.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_favicon/pt/
2024-03-14 13:34:12 -04:00
Pedro Castro Silva
d96ea98c32 Added translation using Weblate (Portuguese) 2024-03-14 13:34:12 -04:00
OCA-git-bot
b8e598cab8 [UPD] README.rst 2024-03-14 13:34:12 -04:00
OCA Transbot
8b6814ef4a Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2024-03-14 13:34:12 -04:00
oca-travis
945f8d6c5e [UPD] Update web_favicon.pot 2024-03-14 13:34:12 -04:00
tarteo
9eedb77988 [MIG] web_favicon: Migration to 12.0 2024-03-14 13:34:12 -04:00
Hans Henrik Gabelgaard
cf46a39bc3 Added translation using Weblate (Danish) 2024-03-14 13:34:12 -04:00
Rodrigo Macedo
b8501c7e6c Translated using Weblate (Portuguese (Brazil))
Currently translated at 100,0% (9 of 9 strings)

Translation: web-11.0/web-11.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_favicon/pt_BR/
2024-03-14 13:34:12 -04:00
oca-travis
652c9e8e15 [UPD] Update web_favicon.pot 2024-03-14 13:34:12 -04:00
Marçal Isern
6fc328074b [11.0][MIG] Standard Migration 2024-03-14 13:34:12 -04:00
OCA Transbot
bc4febfcde OCA Transbot updated translations from Transifex 2024-03-14 13:34:12 -04:00
tarteo
0a22a60673 [ADD] Group 'Edit Favicon' 2024-03-14 13:34:12 -04:00
OCA Transbot
a5077063a7 OCA Transbot updated translations from Transifex 2024-03-14 13:34:12 -04:00
Niki Waibel
f0fbe02c48 [MIG] web_favicon: Migrated to 10.0 (#459) 2024-03-14 13:34:12 -04:00
Pedro M. Baeza
78f2d47bed [MIG] web_favicon: Migration to 9.0 2024-03-14 13:34:12 -04:00
Pedro M. Baeza
19536a2432 [IMP] web_favicon: Nicer icon + README imp + support files 2024-03-14 13:34:12 -04:00
Holger Brunn
4f624b8944 [ADD] web_favicon
closes #199
2024-03-14 13:34:12 -04:00
jurgis
8f02ce6e4a [IMP] web_tree_dynamic_colored_field: pre-commit auto fixes (before v17) 2024-03-12 14:12:06 +02:00
OCA-git-bot
03f388bfde [BOT] post-merge updates 2024-03-12 14:11:38 +02:00
Alexandre D. Díaz
c826675caa [UPD] web_tree_dynamic_colored_field: readme usage section 2024-03-12 14:11:38 +02:00
oca-ci
51eb4f964c [UPD] Update web_tree_dynamic_colored_field.pot
[UPD] README.rst
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_tree_dynamic_colored_field
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_tree_dynamic_colored_field/

Added translation using Weblate (French)
2024-03-12 14:11:38 +02:00
Adam Heinz
1836beb7e6 [MIG] web_tree_dynamic_colored_field: Migration to 15.0 2024-03-12 14:11:37 +02:00
Adam Heinz
c254c20e32 [IMP] web_tree_dynamic_colored_field: black, isort, prettier 2024-03-12 14:11:37 +02:00
Sylvain LE GAL
110d8cd081 [IMP] web_tree_dynamic_colored_field : Add bg_color_field option 2024-03-12 14:11:37 +02:00
oca-travis
0afaa35fca [UPD] Update web_tree_dynamic_colored_field.pot
[UPD] README.rst
2024-03-12 14:11:37 +02:00
Tran Thanh Phuc
a9450c490a [MIG] web_tree_dynamic_colored_field: Migration to 14.0 2024-03-12 14:11:36 +02:00