Commit Graph

578 Commits (363894cba3105b9a4ed096c08b31b6ba1ce0b85d)

Author SHA1 Message Date
Holger Brunn 834b5adb54 support reference fields in many2one_clickable widget 2018-02-26 21:06:50 +01:00
Antonio Espinosa c6a7f600bc [FIX] Allow set web_tree_many2one_clickable.default as True 2018-02-26 21:06:50 +01:00
Pedro M. Baeza faa6a8b2d2 [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.
2018-02-26 21:06:50 +01:00
David Vidal 5543939b13 [FIX] web_decimal_numpad: extend FieldMonetary (#867) 2018-02-23 00:54:35 +01:00
OCA Git Bot 5e276d803f [ADD] setup.py 2018-02-20 04:37:48 +01:00
Jordi Ballester Alomar 6756affb15
Merge pull request #870 from arkostyuk/11.0-mig-web_widget_bokeh_chart
[11.0][MIG] web_widget_bokeh_chart
2018-02-19 14:52:40 +01:00
Artem Kostyuk 53b2940f1b [MIG] web_widget_bokeh_chart: Migration to 11.0 2018-02-19 13:30:30 +02:00
Pedro M. Baeza 321d690082 [FIX] web_widget_bokeh: Fix README syntax
Avoid "Duplicate explicit target name" error using anonymous hyperlink references

Ref.: https://stackoverflow.com/questions/5464627/how-to-have-same-text-in-two-links-with-restructured-text/14067756#14067756
2018-02-16 15:18:16 +02:00
lreficent 661b70a267 [10.0][MIG] web_widget_bokeh_chart 2018-02-16 15:18:16 +02:00
lreficent 3ba0eaceca several fixes 2018-02-16 15:18:16 +02:00
lreficent d991ed117b travis 2018-02-16 15:18:16 +02:00
lreficent 283ef0d5c0 [9.0][ADD] web_widget_bokeh_chart 2018-02-16 15:18:16 +02:00
OCA Git Bot 34770b3397 [ADD] setup.py 2018-02-14 04:37:36 +01:00
Cédric Pigeon b860002191 [ADD] add setup for web_action_conditionable 2018-02-13 08:23:55 +00:00
andreparames f0e506345f [MIG] web_action_conditionable: Migration to 11.0 2018-02-13 08:23:55 +00:00
Pedro M. Baeza a3a57b0d02 [MIG] Rename manifest files 2018-02-13 08:23:55 +00:00
Pedro M. Baeza 3cd55c0b61 [MIG] Make modules uninstallable 2018-02-13 08:23:55 +00:00
Stéphane Bidoul 3647bc0b7b [UPD] prefix versions with 8.0 2018-02-13 08:23:55 +00:00
Yannick Vaucher 035b051778 Add missing default oca icons 2018-02-13 08:23:55 +00:00
Cristian Salamea 1da5bbdfa9 [add] web_action_conditionable 2018-02-13 08:23:55 +00:00
OCA Git Bot 6726c8ef74 [ADD] setup.py 2017-12-19 04:36:40 +01:00
Pedro M. Baeza fca3782269
Merge pull request #828 from Tecnativa/11.0-mig-web_decimal_numpad_dot
[MIG] web_decimal_numpad_dot: Migration to 11.0
2017-12-18 17:53:58 +01:00
David 6c11d0bd25 [MIG] web_decimal_numpad_dot: Migration to 11.0 2017-12-18 11:06:01 +01:00
Jairo Llopis 9a730cdf02 [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.
2017-12-18 10:39:04 +01:00
David Vidal aa1043ce90 [MIG] web_decimal_numpad_dot: Migration to 10.0 2017-12-18 10:39:04 +01:00
Roel Adriaans 4e33022a92 [IMP] web_decimal_numpad_dot: use the decimal_point defined in user language 2017-12-18 10:39:04 +01:00
Omar Castiñeira Saavedra 5a8ff40850 [IMP] web_decimal_numpad_dot: fixed float widget not working properly 2017-12-18 10:39:04 +01:00
oihane 04c92b6fed [IMP] web_decimal_numpad_dot: now changes . for , in floating numbers 2017-12-18 10:39:04 +01:00
oihane e41aeaf760 [ADD] New module <web_decimal_numpad_dot> 2017-12-18 10:39:04 +01:00
fanha99 d00ca7c610 [FIX] web_responsive: Hide header when print directly from browser issues 808 (#809)
Closes #808
2017-11-27 19:47:16 +01:00
Xavier Jiménez ae45d8f14a [FIX][11.0] web_environment_ribbon (#806)
* [FIX] web_environment_ribbon: Fix to show the ribbon to every non-admin user

* [FIX] web_environment_ribbon: Version number
2017-11-21 02:47:16 -06:00
OCA Git Bot 2a20770ef6 [ADD] setup.py 2017-11-15 04:36:29 +01:00
Pedro M. Baeza 4be2204be6
Merge pull request #796 from QubiQ/11.0-mig-web_environment_ribbon
[11.0][MIG] web_environment_ribbon
2017-11-14 17:13:54 +01:00
xavierjimenez e021f3de3f [MIG] web_environment_ribbon: Migration to 11.0 2017-11-14 17:11:36 +01:00
OCA Transbot c36f28a2aa OCA Transbot updated translations from Transifex 2017-11-14 17:11:36 +01:00
Stéphane Bidoul (ACSONE) e6018eb49e [IMP] ribbon: better extensibility 2017-11-14 17:11:36 +01:00
Stéphane Bidoul (ACSONE) 4a79818139 [IMP] ribbon: no need for the backend model to have a table 2017-11-14 17:11:36 +01:00
Thomas Binsfeld (ACSONE) f0a37faa69 [9.0] [IMP] Web Environment Ribbon: support variables in ribbon name (eg db_name) (#621)
* [ADD] .eggs in gitignore

* [IMP] Web Environment Ribbon: add backend
This commit adds a simple bakend to facilitate inheritance

* [IMP] Web Environment Ribbon: add the databse name
This commit adds the database name under the ribbon name, in the ribbon

* [IMP] Web Environment Ribbon: prepare method for ribbon name

* [IMP] README: explain how to use db_name
2017-11-14 17:11:36 +01:00
Pedro M. Baeza 20a8188dd4 [MIG] Migrated web_environment_ribbon to v10.0 2017-11-14 17:11:31 +01:00
Sylvain GARANCHER 5a2b8e045e [IMP] Make web_environment_ribbon more generic
By creating the ribbon div on the fly, this module doesn't depend
anymore on the webclient structure.
2017-11-14 17:10:08 +01:00
Antonio Espinosa 519d966b2d [MIG] web_environment_ribbon 2017-11-14 17:10:08 +01:00
Javi Melendez d9f525fd4b [IMP] ribbon color customization (#347)
* [IMP] web_environment_ribbon: add color customization
The ribbon color and background-color can be modified through system
parameters:
 * ribbon.color
 * ribbon.background.color

Added Copyright in .js
Delete duplicate entries in css
2017-11-14 17:10:08 +01:00
Pedro M. Baeza d075de1dac [MIG] Make modules uninstallable 2017-11-14 17:10:08 +01:00
Stéphane Bidoul f1e6723348 [UPD] prefix versions with 8.0 2017-11-14 17:10:08 +01:00
hparfr a4aced873b [IMP] web_environment_ribbon increase margin
+ 10px
2017-11-14 17:10:08 +01:00
hparfr db58c014b4 [FIX] web_environment_ribbon : Fix menu_navbar overlap
Set correct z-index on ribbon
Move position accordingly

Cf #191
2017-11-14 17:10:08 +01:00
Sylvain Calador a3c206ebc0 [IMP] Add default 'ribbon.name' configuration parameter 2017-11-14 17:10:08 +01:00
Sylvain Calador c124c9fac1 [IMP] web_environment_ribbon: conditional ribbon 2017-11-13 13:03:46 +01:00
Pedro M. Baeza 90201d6eba [IMP] web_environment_ribbon: Add icon 2017-11-13 13:03:46 +01:00
Yannick Vaucher b85f883002 Add missing default oca icons 2017-11-13 13:03:46 +01:00