Guewen Baconnier
06d6c0b70e
web_tree_dynamic_colored_field: correct options examples in readme
7 years ago
Guewen Baconnier
9e99022497
web_tree_dynamic_colored_field: Assume that color may not start with 'color_field'
The index at 0 in the following code:
var colorField = this.arch.attrs.colors.split(';')
.filter(color => color.trim().startsWith('color_field'))[0]
Was failing on such valid xml:
<tree string="Buffer monitor"
colors="red:procure_recommended_qty > 0">
7 years ago
Guewen Baconnier
9394c56911
web_tree_dynamic_colored_field: Parse field options with pyeval
The options in <field> attributes are parsed as python expressions:
d18976d748/addons/web/static/src/js/services/data_manager.js (L273)
And the options in <button> are parsed as json...
d18976d748/addons/web/static/src/js/services/data_manager.js (L411)
This code only support the <field> element because I'm not sure there
is a use for the <button> element.
7 years ago
OCA Git Bot
2372d04e11
[ADD] setup.py
7 years ago
Pedro M. Baeza
35480bca63
Merge pull request #875 from arkostyuk/11.0-mig-web_tree_dynamic_colored_field
[11.0][MIG] web_tree dynamic_colored_field
7 years ago
Pedro M. Baeza
dee7531636
Merge pull request #876 from arkostyuk/11.0-mig-web_tree_many2one_clickable
[11.0][MIG] web_tree_many2one_clickable
7 years ago
Artem Kostyuk
3965057913
[MIG] web_tree_dynamic_colored_field: Migration to 11.0
7 years ago
OCA Transbot
5ff8dd2611
OCA Transbot updated translations from Transifex
8 years ago
jesusVMayor
eeec368721
Migration of web_tree_dynamic_colored_field to 10.0
8 years ago
Holger Brunn
89fdf5d983
web_tree_dynamic_colored_field v9
demo view
8 years ago
OCA Transbot
20bff22e26
OCA Transbot updated translations from Transifex
9 years ago
Holger Brunn
313cfa2595
delete unused code, move files to standard locations
support color_field attribute
update manifest
higher version number bump
typo
9 years ago
Damien Crier
104fd9f821
[IMP] rename module to 'web_tree_dynamic_colored_field'
10 years ago
Artem Kostyuk
73c4195fe3
[MIG] web_tree_many2one_clickable: Migration to 11.0
7 years ago
Atchuthan, Sodexis
08a75a1dba
[MIG] web_tree_many2one_clickable: Migrated to 10.0
8 years ago
Antonio Espinosa
4e96ea5c53
[MIG] web_tree_many2one_clickable: Migration to 9.0
8 years ago
Holger Brunn
834b5adb54
support reference fields in many2one_clickable widget
8 years ago
Antonio Espinosa
c6a7f600bc
[FIX] Allow set web_tree_many2one_clickable.default as True
10 years ago
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.
10 years ago
David Vidal
5543939b13
[FIX] web_decimal_numpad: extend FieldMonetary ( #867 )
7 years ago
OCA Git Bot
5e276d803f
[ADD] setup.py
7 years ago
Jordi Ballester Alomar
6756affb15
Merge pull request #870 from arkostyuk/11.0-mig-web_widget_bokeh_chart
[11.0][MIG] web_widget_bokeh_chart
7 years ago
Artem Kostyuk
53b2940f1b
[MIG] web_widget_bokeh_chart: Migration to 11.0
7 years ago
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
7 years ago
lreficent
661b70a267
[10.0][MIG] web_widget_bokeh_chart
7 years ago
lreficent
3ba0eaceca
several fixes
7 years ago
lreficent
d991ed117b
travis
7 years ago
lreficent
283ef0d5c0
[9.0][ADD] web_widget_bokeh_chart
7 years ago
OCA Git Bot
34770b3397
[ADD] setup.py
7 years ago
Cédric Pigeon
b860002191
[ADD] add setup for web_action_conditionable
7 years ago
andreparames
f0e506345f
[MIG] web_action_conditionable: Migration to 11.0
7 years ago
Pedro M. Baeza
a3a57b0d02
[MIG] Rename manifest files
8 years ago
Pedro M. Baeza
3cd55c0b61
[MIG] Make modules uninstallable
9 years ago
Stéphane Bidoul
3647bc0b7b
[UPD] prefix versions with 8.0
9 years ago
Yannick Vaucher
035b051778
Add missing default oca icons
9 years ago
Cristian Salamea
1da5bbdfa9
[add] web_action_conditionable
10 years ago
OCA Git Bot
6726c8ef74
[ADD] setup.py
7 years ago
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
7 years ago
David
6c11d0bd25
[MIG] web_decimal_numpad_dot: Migration to 11.0
7 years ago
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.
7 years ago
David Vidal
aa1043ce90
[MIG] web_decimal_numpad_dot: Migration to 10.0
7 years ago
Roel Adriaans
4e33022a92
[IMP] web_decimal_numpad_dot: use the decimal_point defined in user language
9 years ago
Omar Castiñeira Saavedra
5a8ff40850
[IMP] web_decimal_numpad_dot: fixed float widget not working properly
9 years ago
oihane
04c92b6fed
[IMP] web_decimal_numpad_dot: now changes . for , in floating numbers
9 years ago
oihane
e41aeaf760
[ADD] New module <web_decimal_numpad_dot>
10 years ago
fanha99
d00ca7c610
[FIX] web_responsive: Hide header when print directly from browser issues 808 ( #809 )
Closes #808
7 years ago
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
7 years ago
OCA Git Bot
2a20770ef6
[ADD] setup.py
7 years ago
Pedro M. Baeza
4be2204be6
Merge pull request #796 from QubiQ/11.0-mig-web_environment_ribbon
[11.0][MIG] web_environment_ribbon
7 years ago
xavierjimenez
e021f3de3f
[MIG] web_environment_ribbon: Migration to 11.0
7 years ago