Commit Graph

1234 Commits (23e144f25f879e0e3d86a0736a05990ef28b8010)

Author SHA1 Message Date
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
Nicolas JEUDY 91e7a874fc Translated using Weblate (French)
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/fr/
2023-02-28 13:53:55 +01:00
gslabit 1c5e69a6cd Translated using Weblate (Italian)
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/it/
2023-02-28 13:53:55 +01:00
tarteo 30bc06bdd7 [FIX] web_widget_x2many_2d_matrix: Padding in aggregate row
[FIX] Padding in aggregate row
2023-02-28 13:53:55 +01:00
tarteo c000d824de [FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates 2023-02-28 13:53:55 +01:00
Alexey Pelykh 835b15a5fa [IMP] web_widget_x2many_2d_matrix: center header cell 2023-02-28 13:53:55 +01:00
Alexey Pelykh 2feb46426d [FIX] web_widget_x2many_2d_matrix: total cell calculation 2023-02-28 13:53:55 +01:00
Alexey Pelykh afd8477551 [FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells 2023-02-28 13:53:55 +01:00
Alexey Pelykh d59d9fb630 [12.0][FIX] web_widget_x2many_2d_matrix: README 2023-02-28 13:53:55 +01:00
Alexey Pelykh 801b05aa14 [MIG] web_widget_x2many_2d_matrix: Migration to 12.0 2023-02-28 13:53:55 +01:00
Pedro M. Baeza 6f88b71632 [FIX] web_widget_x2many_2d_matrix: Closing parenthesis 2023-02-28 13:53:55 +01:00
Jordi Ballester Alomar ba78bff95d web_widget_x2many_matrix: fix issue with limit of records 2023-02-28 13:53:55 +01:00
oca-travis 4838bcde2b [UPD] Update web_widget_x2many_2d_matrix.pot 2023-02-28 13:53:55 +01:00