Jamin Shah
d5f9f93d9c
[MIG]Migrated web widget many2many_tags multi selection in v9
9 years ago
Pedro M. Baeza
e1683da18a
[MIG] Make modules uninstallable
9 years ago
Stéphane Bidoul
93fb7db6fb
[UPD] prefix versions with 8.0
10 years ago
Yannick Vaucher
4c133aa32e
Add missing default oca icons
10 years ago
Yannick Vaucher
07ed98840b
Add bug tracker link on README.rst
10 years ago
Sylvain Calador
f06d96f759
[IMP] better module name
10 years ago
Sylvain Calador
f14199f452
[IMP] README.rst: more explicative description
10 years ago
Sylvain Calador
c2511e50b1
[REF] Rename the module according to the OCA naming convention
10 years ago
Pedro M. Baeza
a095b86105
Merge pull request #886 from guewen/11.0-fix-dynamic-colored-json-parse-object
Fix several issues in web_tree_dynamic_colored_field
7 years ago
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
Pedro M. Baeza
b5232fd247
Merge pull request #885 from guewen/11.0-fix-m2o-clickable-button
[FIX] web_tree_many2one_clickable: Check if the node is a field
7 years ago
Guewen Baconnier
63c61d8695
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.
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
9 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
8 years ago
lreficent
d991ed117b
travis
8 years ago
lreficent
283ef0d5c0
[9.0][ADD] web_widget_bokeh_chart
8 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
10 years ago
Yannick Vaucher
035b051778
Add missing default oca icons
10 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