3
0
Fork 0
Commit Graph

545 Commits (cd5f3048df187f93fe8be87c76025ae4bf34c296)

Author SHA1 Message Date
tarteo b878a1a6d5 [MIG] web_tree_many2one_clickable: Migration to 16.0
[MIG] web_tree_many2one_clickable: Migration to 16.0

[MIG] web_tree_many2one_clickable: Migration to 16.0

[MIG] web_tree_many2one_clickable: Migration to 16.0
2024-03-28 14:06:28 +01:00
Carlos Roca 564aa5179c [IMP] web_tree_many2one_clickable: Fix pre-commit + improve readme 2024-03-28 14:06:28 +01:00
Xander De Matteis 76206b6fb5 [MIG] web_tree_many2one_clickable: Migration to 15.0 2024-03-22 12:35:37 +01:00
Eduardo De Miguel e663a865b9 [14.0] [FIX] Clicking on a field with context
Clicking on a field with context like this `{'default_product_id': product_id}` doesn't throws an error.
2024-03-22 12:35:37 +01:00
Raf Ven 8f16b9d648 [MOD] Pass context defined on tree view field
When for instance a form_view_ref context is defined on a field in a specific tree view, the context should also be passed when opening the form.
2024-03-22 12:35:37 +01:00
Kévin Roche e80711181f [MIG] web_tree_many2one_clickable: Migration to 14.0 2024-03-22 12:35:37 +01:00
Stéphane Bidoul 431dfe4e77 pre-commit update: prettier xml indent 2024-03-22 12:35:37 +01:00
Jairo Llopis a39454ddd1 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2024-03-22 12:35:37 +01:00
Simone de55827a3f [MIG] web_tree_many2one_clickable: Migration to 13.0 2024-03-22 12:35:37 +01:00
Simone e50e471af1 [IMP] web_tree_many2one_clickable: black, isort 2024-03-22 12:35:37 +01:00
黎伟杰 58074d3d59 Added translation using Weblate (Chinese (Simplified)) 2024-03-22 12:35:37 +01:00
Alexandre Díaz 2f2393404f [IMP] web_tree_many2one_clickable: Readme - USAGE 2024-03-22 12:35:37 +01:00
Alexandre Díaz f67904f20c [MIG] web_tree_many2one_clickable: Migration to 12.0 2024-03-22 12:35:37 +01:00
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