3
0
Fork 0
Commit Graph

224 Commits (c4d29811930b8954f46423caef2b475ea324408c)

Author SHA1 Message Date
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
Maxence Groine dc7ffce7cd [MIG] web_widget_many2many_tags_multi_selection: Migration to 11.0 2018-03-19 13:37:59 +01:00
OCA Transbot 539c1f1129 OCA Transbot updated translations from Transifex 2018-03-19 11:23:19 +01:00
Florent de Labarre b3dc121582 [MIG] web_widget_many2many_tags_multi_selection (#623) 2018-03-19 11:20:15 +01:00
Pedro M. Baeza 82acf06187 [MIG] Rename manifest files 2018-03-19 11:20:14 +01:00
Pedro M. Baeza 57b7691e01 [MIG] Make modules uninstallable 2018-03-19 11:20:14 +01:00
Pedro M. Baeza f0437fb70a Revert "Revert "[MIG]Migrated web widget many2many_tags multi selection in v9"" 2018-03-19 11:20:14 +01:00
Pedro M. Baeza 5c417d1812 Revert "[MIG]Migrated web widget many2many_tags multi selection in v9" 2018-03-19 11:20:14 +01:00
Jamin Shah d5f9f93d9c [MIG]Migrated web widget many2many_tags multi selection in v9 2018-03-19 11:20:14 +01:00
Pedro M. Baeza e1683da18a [MIG] Make modules uninstallable 2018-03-19 11:20:14 +01:00
Stéphane Bidoul 93fb7db6fb [UPD] prefix versions with 8.0 2018-03-19 11:20:14 +01:00
Yannick Vaucher 4c133aa32e Add missing default oca icons 2018-03-19 11:20:14 +01:00
Yannick Vaucher 07ed98840b Add bug tracker link on README.rst 2018-03-19 11:20:14 +01:00
Sylvain Calador f06d96f759 [IMP] better module name 2018-03-19 11:20:14 +01:00
Sylvain Calador f14199f452 [IMP] README.rst: more explicative description 2018-03-19 11:20:14 +01:00
Sylvain Calador c2511e50b1 [REF] Rename the module according to the OCA naming convention 2018-03-19 11:20:14 +01: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