3
0
Fork 0
Commit Graph

734 Commits (94e233c49d680adf832840f74aceeb17d664d65f)

Author SHA1 Message Date
Alexandre Díaz c7d5d26570 [MIG] web_tree_many2one_clickable: Migration to 12.0 2021-01-13 15:04:40 +01:00
Anand Kansagra c1868953c4 [MIG] web_tree_many2one_clickable: Migration to 12.0. 2021-01-13 15:04:40 +01:00
oca-travis 4e253261d6 [UPD] Update web_tree_many2one_clickable.pot 2021-01-13 15:04:40 +01:00
Guewen Baconnier 5df78e7d1f 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.
2021-01-13 15:04:40 +01:00
Artem Kostyuk b5ba15dabd [MIG] web_tree_many2one_clickable: Migration to 11.0 2021-01-13 15:04:40 +01:00
Atchuthan, Sodexis c502ea513f [MIG] web_tree_many2one_clickable: Migrated to 10.0 2021-01-13 15:04:40 +01:00
Antonio Espinosa 5045847cc1 [MIG] web_tree_many2one_clickable: Migration to 9.0 2021-01-13 15:04:40 +01:00
Holger Brunn 7d83caabd6 support reference fields in many2one_clickable widget 2021-01-13 15:04:40 +01:00
Antonio Espinosa daaae71936 [FIX] Allow set web_tree_many2one_clickable.default as True 2021-01-13 15:04:40 +01:00
Pedro M. Baeza 00b0d7b208 [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.
2021-01-13 15:04:40 +01:00
hparfr f60a00ba04 [MIG] web_domain_field: Migration to 14.0 2021-01-13 00:33:41 +01:00
hparfr 23d9c60542 [IMP] web_domain_field: black, isort, prettier 2021-01-13 00:33:41 +01:00
claudiagn 5e8feb04b7 Added translation using Weblate (Spanish) 2021-01-13 00:33:31 +01:00
Sudhir Arya 6c3708dd0b [FIX] Fixed the pyeval.js pah in assets_backend. 2021-01-13 00:33:31 +01:00
Jairo Llopis 887febf518 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2021-01-13 00:33:31 +01:00
laurent.corron eb95d6887d [MIG] web_domain_field: Migration to 13.0 2021-01-13 00:33:31 +01:00
laurent.corron 892cf127ff [REF] web_domain_field: Black python code 2021-01-13 00:33:31 +01:00
Pedro M. Baeza 8d014c74db [FIX] web_domain_field: Fix README syntax 2021-01-13 00:33:30 +01:00
Denis Roussel f88567797c [10.0][MIG] Migrates web_domain_field 2021-01-13 00:33:30 +01:00
Laurent Mignon (ACSONE) 140f0b5192 New web_domain_field addon 2021-01-13 00:33:30 +01:00
Robin Conjour efa1af67b1 [IMP] web_copy_confirm: black, isort, prettier 2021-01-04 17:18:34 +01:00
Stefan Rijnhart fca241c9d5 [ADD] Ask for confirmation when copying records
[UPD] Update web_copy_confirm.pot

[ADD] icon.png
2021-01-04 17:18:28 +01:00
oca-git-bot 8f0767dcc0
[IMP] update dotfiles [ci skip] 2020-12-11 20:27:23 +01:00
Saran440 37128640c4 [14.0][MIG] web_widget_x2many_2d_matrix 2020-11-13 10:59:18 +07:00
Saran440 b0f3bb944f [IMP] web_widget_x2many_2d_matrix: black, isort, prettier 2020-11-13 10:59:18 +07:00
Alexey Pelykh 0e8d745599 [UPD] Brainbean Apps => CorporateHub 2020-11-13 10:59:15 +07:00
c2cdidier 0c45791d33 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/
2020-11-13 10:59:15 +07:00
Alexandre Díaz cd077b85a4 [IMP] web_widget_x2many_2d_matrix: Debug mode 2020-11-13 10:59:09 +07:00
OCA Transbot ce4bec7d21 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/
2020-11-13 10:59:07 +07:00
Adrià Gil Sorribes cdc02e9caa [13.0][MIG] web_widget_x2many_2d_matrix 2020-11-13 10:59:01 +07:00
Adrià Gil Sorribes c93cfe088b [IMP] web_widget_x2many_2d_matrix: black, isort 2020-11-13 10:59:01 +07:00
Pablo Fuentes 4d1b8b9c01 [FIX] web_widget_x2many_2d_matrix: Ensure lines order
As objects are unordered collections of properties, we ensure incoming lines order by using lists
2020-11-13 10:59:01 +07:00
Alexandre Díaz 7068db632d [IMP] web_widget_x2many_matrix: Sticky header, footer rows and main, totals columns 2020-11-13 10:58:57 +07:00
Pablo Fuentes 42ab487a2f [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
2020-11-13 10:58:51 +07:00
Bole e963f4436c 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/
2020-11-13 10:58:51 +07:00
Alexandre Díaz b76315d6e3 [FIX] web_widget_x2many_2d_matrix: Force render in list mode on mobile 2020-11-13 10:58:51 +07:00
Pedro M. Baeza b1a6fb96aa Revert "[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens"
This reverts commit 10971ad68e.
2020-11-13 10:58:51 +07:00
Alexandre Díaz 4fafb4c6be [FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens 2020-11-13 10:58:48 +07:00
Holger Brunn 38a523ad78 [ADD] detect if used field type can be aggregated
fixes #1365
2020-11-13 10:58:45 +07:00
Rodrigo Macedo d9d4ea3569 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/
2020-11-13 10:58:45 +07:00
黎伟杰 e78966b376 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/
2020-11-13 10:58:45 +07:00
黎伟杰 427db061ea Added translation using Weblate (Chinese (Simplified)) 2020-11-13 10:58:45 +07:00
Nicolas JEUDY 5ea136774f 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/
2020-11-13 10:58:45 +07:00
gslabit e4aeca4b1f 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/
2020-11-13 10:58:22 +07:00
tarteo 16f07da066 [FIX] web_widget_x2many_2d_matrix: Padding in aggregate row
[FIX] Padding in aggregate row
2020-11-13 10:58:18 +07:00
tarteo d526653e7e [FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates 2020-11-13 10:58:18 +07:00
Alexey Pelykh ed6d6aebc3 [IMP] web_widget_x2many_2d_matrix: center header cell 2020-11-13 10:58:11 +07:00
Alexey Pelykh e6c8a42647 [FIX] web_widget_x2many_2d_matrix: total cell calculation 2020-11-13 10:58:11 +07:00
Alexey Pelykh 23a2265fac [FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells 2020-11-13 10:58:06 +07:00
Alexey Pelykh 07fb8c14a2 [12.0][FIX] web_widget_x2many_2d_matrix: README 2020-11-13 10:57:57 +07:00