Commit Graph

2071 Commits

Author SHA1 Message Date
Jairo Llopis
d0cdaee33a [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2023-03-01 14:24:01 +01:00
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
8292aec9b0 [IMP] web_widget_x2many_2d_matrix: pre-commit stuff 2023-02-28 13:55:28 +01:00
OCA-git-bot
2a6213e388 web_widget_x2many_2d_matrix 15.0.1.0.2 2023-02-28 13:53:55 +01:00
Sylvain LE GAL
e0b9a2e39a [FIX] web_widget_x2many_2d_matrix: make the possibility to have alternative values for headers of rows and columns working 2023-02-28 13:53:55 +01:00
OCA-git-bot
e7f3c8646f web_widget_x2many_2d_matrix 15.0.1.0.1 2023-02-28 13:53:55 +01:00
OCA-git-bot
45e8d25bb7 [UPD] README.rst 2023-02-28 13:53:55 +01:00
Lois Rilo
a89b9ed142 [UPD] web_widget_x2many_2d_matrix dev status to Production/stable 2023-02-28 13:53:55 +01:00
OCA-git-bot
6b5e0e4319 [UPD] README.rst 2023-02-28 13:53:55 +01:00
oca-ci
a0803574bb [UPD] Update web_widget_x2many_2d_matrix.pot 2023-02-28 13:53:55 +01:00
Christopher Ormaza
e6640767a4 [15.0][MIG] web_widget_x2many_2d_matrix 2023-02-28 13:53:55 +01:00
Christopher Ormaza
dbb1537e62 [IMP] web_widget_x2many_2d_matrix: black, isort, prettier 2023-02-28 13:53:55 +01:00
OCA-git-bot
5c8c48d604 web_widget_x2many_2d_matrix 14.0.1.0.1 2023-02-28 13:53:55 +01:00
Sylvain LE GAL
8ee8d00560 [FIX] web_widget_x2many_2d_matrix: remove console.log 2023-02-28 13:53:55 +01:00
Bosd
210836fb2c Translated using Weblate (Dutch)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-14.0/web-14.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_x2many_2d_matrix/nl/
2023-02-28 13:53:55 +01:00
Bosd
f01d259fb3 Translated using Weblate (Dutch)
Currently translated at 33.3% (1 of 3 strings)

Translation: web-14.0/web-14.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_x2many_2d_matrix/nl_NL/
2023-02-28 13:53:55 +01:00
Bosd
1bcefdb29b Added translation using Weblate (Dutch) 2023-02-28 13:53:55 +01:00
OCA-git-bot
3a88397b21 [UPD] README.rst 2023-02-28 13:53:55 +01:00
oca-travis
c1ace6b00c [UPD] Update web_widget_x2many_2d_matrix.pot 2023-02-28 13:53:55 +01:00
Saran440
42d56c3fba [14.0][MIG] web_widget_x2many_2d_matrix 2023-02-28 13:53:55 +01:00
Saran440
cfc8a5a1a8 [IMP] web_widget_x2many_2d_matrix: black, isort, prettier 2023-02-28 13:53:55 +01:00
Alexey Pelykh
53d7727414 [UPD] Brainbean Apps => CorporateHub 2023-02-28 13:53:55 +01:00
c2cdidier
64182b5e86 Translated using Weblate (German)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-13.0/web-13.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_x2many_2d_matrix/de/
2023-02-28 13:53:55 +01:00
Alexandre Díaz
f0f073d784 [IMP] web_widget_x2many_2d_matrix: Debug mode 2023-02-28 13:53:55 +01:00
OCA Transbot
bd807a7bfb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_x2many_2d_matrix/
2023-02-28 13:53:55 +01:00
Adrià Gil Sorribes
d74ce81504 [13.0][MIG] web_widget_x2many_2d_matrix 2023-02-28 13:53:55 +01:00
Adrià Gil Sorribes
128365badd [IMP] web_widget_x2many_2d_matrix: black, isort 2023-02-28 13:53:55 +01:00
Pablo Fuentes
335246e972 [FIX] web_widget_x2many_2d_matrix: Ensure lines order
As objects are unordered collections of properties, we ensure incoming lines order by using lists
2023-02-28 13:53:55 +01:00
Alexandre Díaz
49a2d159dd [IMP] web_widget_x2many_matrix: Sticky header, footer rows and main, totals columns 2023-02-28 13:53:55 +01:00
Pablo Fuentes
8f60abca98 [FIX] web_widget_x2many_2d_matrix: Wrong widget
In previous versions _setSubViewLimit was defined at AbstractView widget but in v12 is defined at FormView widget
2023-02-28 13:53:55 +01:00
Bole
ff8bdb3a3e Translated using Weblate (Croatian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/hr/
2023-02-28 13:53:55 +01:00
Alexandre Díaz
ba6387dce7 [FIX] web_widget_x2many_2d_matrix: Force render in list mode on mobile 2023-02-28 13:53:55 +01:00
Pedro M. Baeza
195a8155ad Revert "[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens"
This reverts commit 10971ad68e.
2023-02-28 13:53:55 +01:00
Alexandre Díaz
6ccfccd05a [FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens 2023-02-28 13:53:55 +01:00
Holger Brunn
f1e30a0090 [ADD] detect if used field type can be aggregated
fixes #1365
2023-02-28 13:53:55 +01:00
Rodrigo Macedo
0a7d6e52a9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/pt_BR/
2023-02-28 13:53:55 +01:00
黎伟杰
65fa467fc8 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/zh_CN/
2023-02-28 13:53:55 +01:00
黎伟杰
55fb15732a Added translation using Weblate (Chinese (Simplified)) 2023-02-28 13:53:55 +01:00