Commit Graph

1982 Commits (4cdef71d55337f30b10a13c1d1e3caae45438d9c)

Author SHA1 Message Date
Holger Brunn 9dbf759e19 support 'open' on many2many_tags
[ADD] support 'no_open_edit' on many2one
[FIX] typos
2019-02-19 21:28:05 +07:00
Nicolas JEUDY 8b87230fb2 fix: obscur wrong path on last commit. recreate portage from scratch. 2019-02-19 21:28:05 +07:00
Holger Brunn c0efc818d4 move all addons to __unported__, set all addons as not installable 2019-02-19 21:28:05 +07:00
Nicolas JEUDY 48d4274947 - Rename web_m2o_enhanced to web_m2x_options
- Add static/description/index.html

fix: use include instead of extend in js function inheritance.

fix: not overwriting the existing object references with the result of the include

fix: update name according to new module name.

fix: error when displaying many2many field without options defined.
2019-02-19 21:28:05 +07:00
oca-travis 0996b77bdd [UPD] Update web_widget_x2many_2d_matrix.pot 2019-02-19 14:19:28 +00:00
Alexey Pelykh c3d5fdf82d [IMP] web_widget_x2many_2d_matrix: center header cell 2019-02-19 15:16:21 +01:00
Pedro M. Baeza f28cc849f4
Merge pull request #1187 from Tardo/pr_imp_sticky
[12.0][IMP] web_responsive: Sticky chatter topbar
2019-02-15 12:46:13 +01:00
oca-travis 3ad6d62b4d [UPD] Update web_edit_user_filter.pot 2019-02-15 10:32:44 +00:00
OCA-git-bot 0a20b4be49 [ADD] setup.py 2019-02-15 10:21:52 +00:00
OCA-git-bot 1329731436 [UPD] README.rst 2019-02-15 10:21:52 +00:00
tarteo ae45dd9edc [ADD] web_edit_user_filter
[FIX] Readme

[FIX] Lint

[ADD] Tests

[IMP] UI/UX

[IMP] Hide popover when other is opened

[IMP] Add item to roadmap
2019-02-15 11:21:45 +01:00
Alexandre Díaz 86e62473e6 [IMP] Sticky chatter topbar 2019-02-14 17:52:49 +01:00
oca-travis 2f31985f14 [UPD] Update web_responsive.pot 2019-02-05 15:29:46 +00:00
Pedro M. Baeza 4df402436b
Merge pull request #1171 from Tecnativa/12.0-web_responsive-fix_middle_button_click_and_shift_tab
[FIX] web_responsive: Skip re-search when not writing and make app icons and search results middle-button-clickable
2019-02-05 15:48:48 +01:00
Jairo Llopis 7692f52c77
[FIX] web_responsive: Make app icons and search results middle-button-clickable
In the case of app icons, those weren't getting the `href` attribute filled.

In the case of search results, those weren't even an `<a>` element.

Fixed in both cases to fix https://github.com/OCA/web/issues/1170.
2019-02-05 11:58:28 +00:00
Jairo Llopis e180390ae1
[FIX] web_responsive: Skip re-search when not writing
When the user uses TAB or SHIFT+TAB to navigate in search results, he can trigger a SHIFT-only keydown event without noticing, which would reset the selected result position to the first or last.

It is disturbing, so, to avoid that problem, the re-search is only triggered if the currently pressed key has length=1 or is Backspace, which will skip most keys that are not actually writing a character into the search input, like i.e. "Shift", "Alt", "F4", etc.

In addition to that, to detect if the search results is empty, the `:empty` selector is not trustable because it considers not empty nodes with whitespace-only content. That has been patched too.
2019-02-05 11:58:28 +00:00
Simone Orsi 9a7a9fd769
Merge pull request #1174 from brainbeanapps/12.0-fix-web_widget_x2many_2d_matrix-total_cell_calculation
[12.0][FIX] web_widget_x2many_2d_matrix: total cell calculation
2019-02-05 08:24:09 +01:00
oca-travis 366508a492 [UPD] Update web_widget_x2many_2d_matrix_example.pot 2019-02-05 07:11:22 +00:00
OCA-git-bot 91bc5ea5f4 [ADD] setup.py 2019-02-05 07:04:12 +00:00
OCA-git-bot e32cd393d4 [UPD] README.rst 2019-02-05 07:04:12 +00:00
Simone Orsi 79ece2c45d
Merge pull request #1146 from anandkansagra/12.0-mig-web_widget_x2many_2d_matrix_example
[12.0] [MIG] web_widget_x2many_2d_matrix_example
2019-02-05 08:04:06 +01:00
Alexey Pelykh 6ca36a4b36 [FIX] web_widget_x2many_2d_matrix: total cell calculation 2019-02-05 09:03:13 +02:00
OCA Transbot aca5b137b7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_timeline
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_timeline/
2019-01-27 11:12:12 +00:00
OCA Transbot 1d94170138 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/
2019-01-27 11:12:11 +00:00
oca-travis 5a5dda4db7 [UPD] Update web_ir_actions_act_multi.pot 2019-01-21 12:00:52 +00:00
OCA-git-bot 21b2155309 [ADD] setup.py 2019-01-21 11:55:43 +00:00
Alexey Pelykh a50d9abd22 [MIG] web_ir_actions_act_multi: Migration to 12.0 2019-01-21 12:55:37 +01:00
oca-travis 2df5039d8a [UPD] Update web_ir_actions_act_multi.pot 2019-01-21 12:55:37 +01:00
Petar Najman 4cecb791ac Add module web_ir_actions_act_multi 2019-01-21 12:55:37 +01:00
Jairo Llopis 67f76e8fab
[FIX] web_decimal_numpad_dot: Restore keyboard navigation
When https://github.com/OCA/web/pull/1154 switched to using `keydown` as the event to trigger the numpad dot replacement, it was actually [disabling upstream's `_onKeyDown()`][1], which in turn disabled the keyboard navigation.

To fix this situation, I replaced the method that is being used to directly override `_onKeyDown`.

[1]: 19558129f0/addons/web/static/src/js/fields/abstract_field.js (L41)
2019-01-21 09:41:24 +00:00
Anand Kansagra 6774c97dc7 [MIG] web_tree_many2one_clickable: Migration to 12.0. 2019-01-20 09:36:30 +05:30
OCA-git-bot fc13aaf330 [ADD] setup.py 2019-01-19 16:38:49 +00:00
Moises Lopez - https://www.vauxoo.com/ 752570a028
Merge pull request #1161 from anandkansagra/12.0-mig-web_widget_many2many_tags_multi_selection
[12.0] [MIG] web_widget_many2many_tags_multi_selection
2019-01-19 10:38:42 -06:00
Anand Kansagra 03263e261b [MIG] web_widget_many2many_tags_multi_selection: Migration to 12.0. 2019-01-19 09:39:07 +01:00
Rodrigo Macedo d99bab5366 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: web-11.0/web-11.0-web_widget_many2many_tags_multi_selection
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_widget_many2many_tags_multi_selection/pt_BR/
2019-01-19 09:38:28 +01:00
oca-travis 050e77c669 [UPD] Update web_widget_many2many_tags_multi_selection.pot 2019-01-19 09:38:28 +01:00
Maxence Groine f89e2b18ad [FIX] Error when using the Quick Create on many2many_tags_multiselection widget 2019-01-19 09:38:28 +01:00
Maxence Groine e72ee021dc [MIG] web_widget_many2many_tags_multi_selection: Migration to 11.0 2019-01-19 09:38:28 +01:00
OCA Transbot 5f104ea820 OCA Transbot updated translations from Transifex 2019-01-19 09:38:28 +01:00
Florent de Labarre e831274ebc [MIG] web_widget_many2many_tags_multi_selection: Migration to 10.0 (#623) 2019-01-19 09:38:28 +01:00
Jamin Shah baae1df603 [MIG]Migrated web widget many2many_tags multi selection in v9 2019-01-19 09:38:24 +01:00
Sylvain Calador 4b50cb4f22 [ADD] web_widget_many2many_tags_multi_selection 2019-01-19 09:37:41 +01:00
oca-travis fcc030f7e5 [UPD] Update web_tree_many2one_clickable.pot 2019-01-19 13:21:24 +05:30
Guewen Baconnier 5a442b7d06 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.
2019-01-19 13:21:24 +05:30
Artem Kostyuk 3fb7bcd0d5 [MIG] web_tree_many2one_clickable: Migration to 11.0 2019-01-19 13:21:24 +05:30
Atchuthan, Sodexis 1df6647fa3 [MIG] web_tree_many2one_clickable: Migrated to 10.0 2019-01-19 13:21:24 +05:30
Antonio Espinosa 0f3574b638 [MIG] web_tree_many2one_clickable: Migration to 9.0 2019-01-19 13:21:24 +05:30
Holger Brunn 8f6287b74d support reference fields in many2one_clickable widget 2019-01-19 13:21:24 +05:30
Antonio Espinosa 9d7c20ea94 [FIX] Allow set web_tree_many2one_clickable.default as True 2019-01-19 13:21:24 +05:30
Pedro M. Baeza 745e7e54d3 [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.
2019-01-19 13:21:24 +05:30