Commit Graph

668 Commits (619494e2980ed96c52bf673c7eab33c99d28922c)

Author SHA1 Message Date
Simone 28cc7bbaff [MIG] web_tree_many2one_clickable: Migration to 13.0 2023-03-01 14:24:01 +01:00
Simone af54263b29 [IMP] web_tree_many2one_clickable: black, isort 2023-03-01 14:24:01 +01:00
黎伟杰 70ad7b2169 Added translation using Weblate (Chinese (Simplified)) 2023-03-01 14:24:01 +01:00
Alexandre Díaz 061cf62b39 [IMP] web_tree_many2one_clickable: Readme - USAGE 2023-03-01 14:24:01 +01:00
Alexandre Díaz 20fedea52c [MIG] web_tree_many2one_clickable: Migration to 12.0 2023-03-01 14:24:01 +01:00
Anand Kansagra ba4d6194c5 [MIG] web_tree_many2one_clickable: Migration to 12.0. 2023-03-01 14:24:01 +01:00
Guewen Baconnier 8c7ca351e8 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.
2023-03-01 14:24:01 +01:00
Artem Kostyuk d0dd5546c0 [MIG] web_tree_many2one_clickable: Migration to 11.0 2023-03-01 14:24:01 +01:00
Atchuthan, Sodexis c36cb88f21 [MIG] web_tree_many2one_clickable: Migrated to 10.0 2023-03-01 14:24:01 +01:00
Antonio Espinosa a5c5406488 [MIG] web_tree_many2one_clickable: Migration to 9.0 2023-03-01 14:24:01 +01:00
Holger Brunn 54a92f745e support reference fields in many2one_clickable widget 2023-03-01 14:24:01 +01:00
Antonio Espinosa 45b5cfb7d7 [FIX] Allow set web_tree_many2one_clickable.default as True 2023-03-01 14:24:01 +01:00
Pedro M. Baeza 9e4115de77 [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.
2023-03-01 14:24:01 +01:00
tarteo d6068076d7 [ADD] web_help
[FIX] web_help: Run pre-commit

[FIX] web_help: Run pre-commit

[FIX] web_help: Run pre-commit

[FIX] web_help: Run pre-commit

[IMP] Easy changeable template and buttons texts, more demo, fixed readme.

[IMP] Easy changeable template and buttons texts, more demo, fixed readme.

[IMP] Easy changeable template and buttons texts, more demo, fixed readme.

[FIX] Grammar
2023-02-28 13:31:54 +01:00
Ivàn Todorovich 2d8e8d2001
[MIG] web_chatter_position: Migration to 16.0 2023-02-28 08:48:14 -03:00
JuMiSanAr 6e15f0a95c
web_chatter_position: create module 2023-02-28 08:48:14 -03:00
OCA-git-bot 8a3772efda [ADD] setup.py 2023-02-23 14:00:42 +00:00
OCA-git-bot b3daa47bf0 [ADD] icon.png 2023-02-23 14:00:42 +00:00
OCA-git-bot 8c3e3fe230 [UPD] README.rst 2023-02-23 14:00:42 +00:00
OCA-git-bot bdb6d8784f [UPD] addons table in README.md 2023-02-23 14:00:40 +00:00
oca-ci 9e850a7b12 [UPD] Update web_select_all_companies.pot 2023-02-23 13:58:19 +00:00
OCA-git-bot b900171ab8 Merge PR #2408 into 16.0
Signed-off-by tarteo
2023-02-23 13:55:54 +00:00
Pedro M. Baeza ddffaa46b8
Merge pull request #2418 from yankinmax/16.0-copier
[FIX] Update copier template
2023-02-23 14:03:18 +01:00
Maksym Yankin 1adc4ae7f7 [FIX] Update copier template
To avoid the isort problem (PyCQA/isort#2077)
2023-02-23 14:58:53 +02:00
Weblate 72c420f5ed Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-16.0/web-16.0-web_sheet_full_width
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_sheet_full_width/
2023-02-21 12:08:46 +00:00
OCA-git-bot 1db111e5ca [ADD] setup.py 2023-02-21 09:56:27 +00:00
OCA-git-bot da00c2d3dc [UPD] README.rst 2023-02-21 09:56:26 +00:00
OCA-git-bot 1ab33718e8 [UPD] addons table in README.md 2023-02-21 09:56:25 +00:00
oca-ci e5f2bad62f [UPD] Update web_sheet_full_width.pot 2023-02-21 09:54:05 +00:00
OCA-git-bot 470f1f43ba Merge PR #2327 into 16.0
Signed-off-by tarteo
2023-02-21 09:51:37 +00:00
Bole cd41289f53 Translated using Weblate (Croatian)
Currently translated at 100.0% (4 of 4 strings)

Translation: web-16.0/web-16.0-web_dark_mode
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dark_mode/hr/
2023-02-16 14:23:27 +00:00
Bole 55b81ddfe7 Added translation using Weblate (Croatian) 2023-02-16 11:59:58 +00:00
CRogos 1ddab4db69 [15.0][FIX] Remove tests from init 2023-02-15 15:13:53 +07:00
OCA Transbot e28cd9910f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_m2x_options
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_m2x_options/
2023-02-15 15:13:53 +07:00
OCA-git-bot 1cbd74402a web_m2x_options 15.0.1.1.0 2023-02-15 15:13:53 +07:00
OCA-git-bot dbefb2fce8 [UPD] README.rst 2023-02-15 15:13:53 +07:00
oca-ci 286c49bb34 [UPD] Update web_m2x_options.pot 2023-02-15 15:13:53 +07:00
nguyenhk fd9c781e46 [FIX] web_m2x_options: fix test_ir_config_parameter 2023-02-15 15:13:53 +07:00
Carlos Roca 393101e2fe [IMP] web_m2x_options: Added limit for o2m field entries
Added the system parameter "web_m2x_options.field_limit_entries" to set the limit of entries that can be displayed.
2023-02-15 15:13:53 +07:00
Carlos Roca 18719aa07d [IMP] web_m2x_options: Efficiency
Improved the efficiency of code: With this improvement we achieve to just do an rpc call when the js file is called instead of do the call for each field.
2023-02-15 15:13:53 +07:00
Quentin Groulard 7f31a58519 [ADD] Option open for One2Many fields
With 'open' option, clicking on a row of a o2m field will open the view for the record in fullscreen rather than in a popup
2023-02-15 15:13:53 +07:00
Holger Brunn 935afe9b04 [FIX] when all is undefined, fall back to core's default 2023-02-15 15:13:53 +07:00
SilvioC2C 65c2e822fa [FIX] web_m2x_options: fix search_more behaviour
In README.rst it is said that ``search_more`` key is "[u]sed to force disable/enable search more button".
However, it only applies on fields where the records returned by the name_search are more than the node's limit.

This commit fixes this behaviour, forcing the "Search More..." option to be *always* disabled/enabled if ``search_more`` key is set either locally (in the node's options) or globally (via the ir.config_parameter record).
Moreover, it establishes a clear line of priority for checking whether "Search More..." should be displayed/hidden (local node has the highest priority, global config mid priority, limit check as fallback).
2023-02-15 15:13:53 +07:00
Christopher Ormaza a7bb978be7 [15.0][MIG] web_widget_bokeh_chart 2023-02-15 15:13:53 +07:00
OCA-git-bot 63a55d8a64 [UPD] README.rst 2023-02-15 15:13:53 +07:00
oca-ci f68d35727c [UPD] Update web_m2x_options.pot 2023-02-15 15:13:53 +07:00
Germana 2a1facd671 [MIG] web_m2x_options: Migration to 15.0
[FIX] web_m2x_options:  External ID not found in the system web.assets_backend
2023-02-15 15:13:53 +07:00
Corneliuus 53b31857af Translated using Weblate (German)
Currently translated at 100.0% (13 of 13 strings)

Translation: web-14.0/web-14.0-web_m2x_options
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options/de/
2023-02-15 15:13:53 +07:00
Bosd 111842d4f6 Translated using Weblate (Dutch)
Currently translated at 93.7% (15 of 16 strings)

Translation: web-14.0/web-14.0-web_m2x_options
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options/nl/
2023-02-15 15:13:53 +07:00
Bosd 578d6056ce Added translation using Weblate (Dutch) 2023-02-15 15:13:53 +07:00