Commit Graph

172 Commits

Author SHA1 Message Date
Pedro M. Baeza
bbed7bd9a3 Merge pull request #799 from Domatix/11.0-mig-web_searchbar_full_width
[11.0][MIG] web_searchbar_full_width
2018-03-25 19:59:34 +02:00
Pedro M. Baeza
ef135d7521 Merge pull request #869 from qtheuret/11.0-mig-web_dialog_size
11.0 mig web dialog size
2018-03-25 19:55:08 +02:00
Pedro M. Baeza
ebb0f5fdd9 Merge pull request #800 from QubiQ/11.0-mig-web_favicon
[11.0] [MIG] web_favicon
2018-03-25 19:44:34 +02:00
Carlos
673068b18e [MIG] web_searchbar_full_width: Migration to 11.0 2018-03-25 19:31:42 +02:00
Siddharth Bhalgami
34feda51c7 [10.0-MIG] web_searchbar_full_width for v10.0 2018-03-25 19:27:17 +02:00
Siddharth Bhalgami
65a8b211c2 [MIG] web_searchbar_full_width : migrate to v9.0 2018-03-25 19:27:07 +02:00
Holger Brunn
4e535e7860 add web_searchbar_full_width 2018-03-25 19:26:31 +02:00
Marçal Isern
919a24f5d0 [11.0][MIG] Standard Migration 2018-03-25 19:22:17 +02:00
OCA Transbot
a02a7008ee OCA Transbot updated translations from Transifex 2018-03-25 19:22:17 +02:00
tarteo
246a15fb66 [ADD] Group 'Edit Favicon' 2018-03-25 19:22:17 +02:00
OCA Transbot
e1cb379487 OCA Transbot updated translations from Transifex 2018-03-25 19:22:16 +02:00
Niki Waibel
ab90a5e0b5 [MIG] web_favicon: Migrated to 10.0 (#459) 2018-03-25 19:22:15 +02:00
Pedro M. Baeza
ed69fa2a48 [MIG] web_favicon: Migration to 9.0 2018-03-25 19:21:00 +02:00
Pedro M. Baeza
dcd07e6629 [IMP] web_favicon: Nicer icon + README imp + support files 2018-03-25 19:20:59 +02:00
Holger Brunn
1c708cead9 [ADD] web_favicon
closes #199
2018-03-25 19:20:59 +02:00
Quentin Theuret
7a2ba30b7d [MIG] Migrate web_dialog_size module to v11 2018-03-25 19:13:50 +02:00
David
b246adf640 [FIX] web_dialog_size: default_maximize
- default_maximize option wasn't working due to strict value comparison
2018-03-25 19:13:50 +02:00
David Vidal
983b98b4c9 [10.0][FIX] web_dialog_size: export modal (#746)
* [10.0][FIX] web_dialog_size: export modal

- PR #733 introduced draggable dialogs wich broke some of them
2018-03-25 19:13:50 +02:00
Wolfgang Pichler
d38ba72efc [IMP] Added draggable support to dialogs 2018-03-25 19:13:50 +02:00
Siddharth Bhalgami
ec4353fa71 [10.0-MIG] web_dialog_size for v10.0 2018-03-25 19:13:49 +02:00
Siddharth Bhalgami
f1dbecb3c9 [MIG] web_dialog_siza: Migrate to v9.0 2018-03-25 19:13:19 +02:00
Stéphane Bidoul
0f0fc59e7e [FIX] web_dialog_size: do not expand by default and correctly honor default_maximize parameter 2018-03-25 19:12:37 +02:00
Pedro M. Baeza
1b12b6b539 [IMP] web_dialog_size: Select default dialog size by config
* [IMP] web_dialog_size: Put dialog size expanded by default

* [REM] web_popup_large: By duplication of the functionality

* [IMP] web_dialog_size: README and contributors

* [ADD] configuration parameter for default behavior

[FIX] return super's promise
[IMP] use fontawesome icons for buttons
2018-03-25 19:12:37 +02:00
Stéphane Bidoul
6033bc3ccc [UPD] prefix versions with 8.0 2018-03-25 19:12:24 +02:00
Anthony Muschang
a8122d3553 [ADD] module web_dialog_size
New module that let the user expand a dialog box to the full screen
width.
2018-03-25 19:12:24 +02:00
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
2018-03-16 17:49:39 +01:00
Guewen Baconnier
06d6c0b70e web_tree_dynamic_colored_field: correct options examples in readme 2018-03-08 08:59:46 +01:00
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 &gt; 0">
2018-03-08 08:59:46 +01:00
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.
2018-03-08 08:59:46 +01:00
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
2018-03-07 10:13:01 +01:00
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.
2018-03-07 10:06:16 +01:00
OCA Git Bot
2372d04e11 [ADD] setup.py 2018-02-27 04:38:09 +01:00
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
2018-02-26 23:53:09 +01:00
Pedro M. Baeza
dee7531636 Merge pull request #876 from arkostyuk/11.0-mig-web_tree_many2one_clickable
[11.0][MIG] web_tree_many2one_clickable
2018-02-26 23:52:36 +01:00
Artem Kostyuk
3965057913 [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2018-02-26 21:37:43 +01:00
OCA Transbot
5ff8dd2611 OCA Transbot updated translations from Transifex 2018-02-26 21:36:42 +01:00
jesusVMayor
eeec368721 Migration of web_tree_dynamic_colored_field to 10.0 2018-02-26 21:36:42 +01:00
Holger Brunn
89fdf5d983 web_tree_dynamic_colored_field v9
demo view
2018-02-26 21:36:42 +01:00
OCA Transbot
20bff22e26 OCA Transbot updated translations from Transifex 2018-02-26 21:36:42 +01:00
Holger Brunn
313cfa2595 delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2018-02-26 21:36:42 +01:00
Damien Crier
104fd9f821 [IMP] rename module to 'web_tree_dynamic_colored_field' 2018-02-26 21:36:39 +01:00
Artem Kostyuk
73c4195fe3 [MIG] web_tree_many2one_clickable: Migration to 11.0 2018-02-26 21:32:01 +01:00
Atchuthan, Sodexis
08a75a1dba [MIG] web_tree_many2one_clickable: Migrated to 10.0 2018-02-26 21:06:50 +01:00
Antonio Espinosa
4e96ea5c53 [MIG] web_tree_many2one_clickable: Migration to 9.0 2018-02-26 21:06:50 +01:00
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