Commit Graph

212 Commits (6dd0df8a03ad8b9c1d1ec774d372216d29c53cb4)

Author SHA1 Message Date
Alexandre Díaz 6dd0df8a03 [IMP] web_tree_many2one_clickable: Readme - USAGE 2019-11-17 20:14:16 +01:00
Alexandre Díaz 4e6f57ab87 [MIG] web_tree_many2one_clickable: Migration to 12.0 2019-11-17 20:14:16 +01:00
Anand Kansagra d259c901fc [MIG] web_tree_many2one_clickable: Migration to 12.0. 2019-11-17 20:14:16 +01:00
oca-travis 30078b2ab1 [UPD] Update web_tree_many2one_clickable.pot 2019-11-17 20:14:16 +01:00
Guewen Baconnier 64b739b21d 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-11-17 20:14:16 +01:00
Artem Kostyuk 7b5bacf22c [MIG] web_tree_many2one_clickable: Migration to 11.0 2019-11-17 20:14:16 +01:00
Atchuthan, Sodexis bfb03e3fd1 [MIG] web_tree_many2one_clickable: Migrated to 10.0 2019-11-17 20:14:16 +01:00
Antonio Espinosa 07906d50c2 [MIG] web_tree_many2one_clickable: Migration to 9.0 2019-11-17 20:14:16 +01:00
Holger Brunn 07d93f11fa support reference fields in many2one_clickable widget 2019-11-17 20:14:16 +01:00
Antonio Espinosa 4a960adc51 [FIX] Allow set web_tree_many2one_clickable.default as True 2019-11-17 20:14:16 +01:00
Pedro M. Baeza 5e4b6bde91 [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-11-17 20:14:16 +01:00
OCA-git-bot 280ef21b56 Merge PR #1407 into 13.0
Signed-off-by pedrobaeza
2019-10-15 10:19:48 +00:00
Alexandre Díaz 7747f33245 [IMP] web_responsive: Adapt test to 13.0 2019-10-15 12:15:07 +02:00
OCA-git-bot 03d24e9c23 [ADD] setup.py 2019-10-14 19:32:52 +00:00
OCA-git-bot 6282a277f7 [UPD] README.rst 2019-10-14 19:32:52 +00:00
oca-travis 053ea09c7a [UPD] Update web_decimal_numpad_dot.pot 2019-10-14 19:24:00 +00:00
OCA-git-bot 2aa7d7bd92 Merge PR #1402 into 13.0
Signed-off-by pedrobaeza
2019-10-14 19:18:59 +00:00
emagdalena cc1a521d70 [FIX] web_dialog_size js warnings 2019-10-14 14:43:39 +02:00
emagdalena 23e6fa8524 [FIX] web_environment_ribbon js warnings 2019-10-14 13:08:57 +02:00
emagdalena 9dd74b42f4 [MIG] web_decimal_numpad_dot: Migration to 13.0 2019-10-14 13:08:57 +02:00
黎伟杰 9992153595 Added translation using Weblate (Chinese (Simplified)) 2019-10-14 13:08:57 +02:00
OCA-git-bot 5df4be1c78 [UPD] README.rst 2019-10-14 13:08:57 +02:00
Jairo Llopis d096c0fbba [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-10-14 13:08:57 +02:00
Jairo Llopis 166cd74f80 [FIX] web_decimal_numpad_dot: Fix inconsistent behavior
When user was replacing some specific sections or being too fast, the module wasn't behaving fine. Also, it was always displaying the original `.` slightly before doing the replacement.
2019-10-14 13:08:57 +02:00
oca-travis b3432bdb8d [UPD] Update web_decimal_numpad_dot.pot 2019-10-14 13:08:57 +02:00
ernesto 4f78d14fd9 [MIG] web_decimal_numpad_dot: Migration to 12.0 2019-10-14 13:08:57 +02:00
David Vidal 6cce0eadfc [FIX] web_decimal_numpad: float_time format (#1068)
Recover functionality from https://github.com/OCA/web/pull/720, which was lost in migration to Odoo v11.
2019-10-14 13:08:57 +02:00
oca-travis 8b05ded8ac [UPD] Update web_decimal_numpad_dot.pot 2019-10-14 13:08:57 +02:00
Jordi Ballester Alomar 6c36d8ad84 fix tab navigation issue in web_decimal_numpad_dot 2019-10-14 13:08:57 +02:00
David Vidal 01b4d7c789 [FIX] web_decimal_numpad: extend FieldMonetary (#867) 2019-10-14 13:08:57 +02:00
David 66ceb23129 [MIG] web_decimal_numpad_dot: Migration to 11.0 2019-10-14 13:08:57 +02:00
Jairo Llopis 9a9fdcbb55 [FIX][IMP][web_decimal_numpad_dot] Support float time
- All Char widgets were getting affected by this behavior.
- Time float widgets now get ":" instead of "," or ".".
- Little code refactor.
- Only detect numpad dot, not normal dot and comma.
2019-10-14 13:08:57 +02:00
David Vidal ed2bd81efe [MIG] web_decimal_numpad_dot: Migration to 10.0 2019-10-14 13:08:57 +02:00
Roel Adriaans 991c194962 [IMP] web_decimal_numpad_dot: use the decimal_point defined in user language 2019-10-14 13:08:57 +02:00
Omar Castiñeira Saavedra 1a03fd4273 [IMP] web_decimal_numpad_dot: fixed float widget not working properly 2019-10-14 13:08:57 +02:00
oihane 588c56213c [IMP] web_decimal_numpad_dot: now changes . for , in floating numbers 2019-10-14 13:08:57 +02:00
oihane 17ba265fa6 [ADD] New module <web_decimal_numpad_dot> 2019-10-14 13:08:57 +02:00
OCA-git-bot fd16cd2294 [UPD] README.rst 2019-10-13 22:20:14 +00:00
Pedro M. Baeza 384691f9fb
[IMP] web_responsive: Add development status + contributors 2019-10-14 00:20:07 +02:00
OCA-git-bot 0359dcc72c [ADD] setup.py 2019-10-13 22:16:50 +00:00
oca-travis 59dd6d6efb [UPD] Update web_responsive.pot 2019-10-13 22:11:37 +00:00
OCA-git-bot b1650072dd Merge PR #1390 into 13.0
Signed-off-by pedrobaeza
2019-10-13 22:02:43 +00:00
Alexandre Díaz 701e45f18e black, isort 2019-10-13 23:41:25 +02:00
Alexandre Díaz 999f507a32 [IMP] web_responsive: Support long titles 2019-10-13 23:12:04 +02:00
Alexandre Díaz b357b7d70f [IMP] web_responsive: Made chatter input & attachments scrollable 2019-10-13 23:12:04 +02:00
Alexandre Díaz 14ddc06b7b [MIG] web_responsive: Migration to 13.0 2019-10-13 23:12:04 +02:00
OCA-git-bot 3f7c2de850 web_responsive 12.0.1.3.0 2019-10-13 23:12:04 +02:00
Alexandre Díaz 8bdef680ea [FIX] web_responsive: changed button box more initial position 2019-10-13 23:12:04 +02:00
黎伟杰 08f7be9512 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (11 of 11 strings)

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/zh_CN/
2019-10-13 23:12:04 +02:00
黎伟杰 8f83fbc7b8 Added translation using Weblate (Chinese (Simplified)) 2019-10-13 23:12:04 +02:00