3
0
Fork 0
Commit Graph

1910 Commits (320099cc10d922ca5e2491436193e136f59e39ae)

Author SHA1 Message Date
OCA Transbot c15469bf79 OCA Transbot updated translations from Transifex 2021-03-02 14:34:29 +05:30
Jairo Llopis 44a208f966 Fix Qweb templates. (#561)
* [FIX][web_m2x_options] Fix Qweb templates.

They were trying to replace non-existing elements, and this was being logged to console:

    Can't find "a.oe_m2o_cm_button" when extending template FieldMany2One
    Can't find "span.badge" when extending template FieldMany2ManyTag

* Raise version correctly.

* [FIX] Make many2many_tags tag deletion work again

* Correct replacement of event

Instead of overwriting all events from upstream widget, better just overwrite the one you need and inherit the rest.
2021-03-02 14:34:29 +05:30
Zakaria Makrelouf 818ce37523 web_m2x_options: s/ev.handleObj.selector/currentTarget * many2many with `options={'open': True}` it always open the first element with this fix it will open the right one 2021-03-02 14:34:29 +05:30
Laurent Mignon (ACSONE) 1f9d797746 Makes the module compatible with Odoo community 2021-03-02 14:34:29 +05:30
Zakaria Makrelouf 43a4a5b48f Migration of module web_m2x_options. Adapt JS file to the new JS API and make the module installable [MIG] adapt form.js to the new API. [FIX] Fix bug mentioned in pull #262. [MIG] Make the module installable. 2021-03-02 14:34:29 +05:30
Antonio Espinosa f41f6eb2d3 Limit name_search to 160 like Odoo core does 2021-03-02 14:34:29 +05:30
OCA Transbot cae7cff1f0 OCA Transbot updated translations from Transifex 2021-03-02 14:34:29 +05:30
Antonio Espinosa 7e6c12cd8c web_m2x_options check Many2one and Many2many options 2021-03-02 14:34:29 +05:30
Holger Brunn e7943a4848 support 'open' on many2many_tags
[ADD] support 'no_open_edit' on many2one
[FIX] typos
2021-03-02 14:34:29 +05:30
Nicolas JEUDY bfb5e7f3dc fix: obscur wrong path on last commit. recreate portage from scratch. 2021-03-02 14:34:29 +05:30
Holger Brunn 48dd81ccf8 move all addons to __unported__, set all addons as not installable 2021-03-02 14:34:29 +05:30
Nicolas JEUDY 34bf5f32d2 - Rename web_m2o_enhanced to web_m2x_options
- Add static/description/index.html

fix: use include instead of extend in js function inheritance.

fix: not overwriting the existing object references with the result of the include

fix: update name according to new module name.

fix: error when displaying many2many field without options defined.
2021-03-02 14:34:29 +05:30
OCA-git-bot 0db4a612ff [ADD] setup.py 2021-02-22 16:29:02 +00:00
OCA-git-bot f56ff31de4 [UPD] README.rst 2021-02-22 16:29:01 +00:00
OCA-git-bot 2b21d1a7bc [UPD] addons table in README.md 2021-02-22 16:29:00 +00:00
oca-travis da2716458c [UPD] Update web_widget_x2many_2d_matrix.pot 2021-02-22 16:24:23 +00:00
Kévin Roche 6fddeaa274 [MIG] web_tree_many2one_clickable: Migration to 14.0 2021-02-22 17:20:37 +01:00
Stéphane Bidoul 2e731bd2fa pre-commit update: prettier xml indent 2021-02-22 17:20:23 +01:00
OCA-git-bot c4099f2c79 Merge PR #1731 into 14.0
Signed-off-by JordiBForgeFlow
2021-02-22 16:19:46 +00:00
Dave Lasley 398353c78b [FIX] web_responsive: Change z-indexes
* Rebalance z-indexes to fix overlay issue while still providing notification support
2021-02-09 18:34:24 +03:00
Dave Lasley cd85aa71a4 [MIG] web_responsive: Migrate to v10
* Bump version
* Change all openerp to odoo
* Fix qunit suite injection
* Remove jQuery require
* Change to new selectors:
  * `oe_leftbar` to `o_sub_menu`
  * `oe_logo` to `o_sub_menu_logo`
  * `oe_footer` to `o_sub_menu_footer`
  * `oe_secondary_menus_container` to `o_sub_menu_content`
* Add style to hide oe_footer instead of remove to not break `support_branding`
* Add note in ReadMe explaining override of `support_branding`
* Set top margin of app drawer title to 0 to fit v10 proportions
* Fix notification badge positioning
* Add o_web_client class to body to fix overlaps
* Scroll control panel with page
* Change navbar z-index to not be overlapped by buttons
* Raise z-index on header to raise over buttons
* Handle layered notifications via z-index
* Remove `#` from navigation links HREF to prevent history littering
2021-02-09 18:34:24 +03:00
Dave Lasley e96d891a4b [FIX] web_responsive: Other minor fixes
* Add Tecnativa as author
* Remove untestable JS method
* Rename to web_responsive
2021-02-09 18:34:24 +03:00
Tran Thanh Phuc 0703919b49 [MIG] web_tree_dynamic_colored_field: Migration to 14.0 2021-02-07 16:22:18 +07:00
Tran Thanh Phuc c7c6155a08 [IMP] web_tree_dynamic_colored_field: black, isort, prettier 2021-02-07 16:17:16 +07:00
OCA-git-bot c9ab0c74b7 [UPD] README.rst 2021-02-07 16:16:24 +07:00
OCA-git-bot 32f2647886 [UPD] README.rst 2021-02-07 16:16:24 +07:00
OCA Transbot 3a6600597f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_tree_dynamic_colored_field
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_tree_dynamic_colored_field/
2021-02-07 16:16:24 +07:00
OCA-git-bot cf8eb036a8 [UPD] README.rst 2021-02-07 16:16:24 +07:00
oca-travis 3c8d960e1f [UPD] Update web_tree_dynamic_colored_field.pot 2021-02-07 16:16:24 +07:00
Guewen Baconnier a8f9c63703 run pre-commit with new prettiers 2021-02-07 16:16:24 +07:00
Guewen Baconnier d51293f2d6 Run pre-commit and fix js issues after rebase on new config 2021-02-07 16:16:24 +07:00
Guewen Baconnier e3d01cb0f6 Remove support of dynamic colors on <tree>
The 'colors' and 'options' fields are not supported by the RelaxNG
schema of the <tree> element. Remove the support until we find a
good solution for this.
2021-02-07 16:16:24 +07:00
Guewen Baconnier 0cb325f1f8 [MIG] web_tree_dynamic_colored_field: Migration to 13.0
Use 'options' instead of 'colors' on tree views

The colors attribute has been removed from the RelaxNG schema in
Odoo [0], so use the 'options' instead.

Closes #1479

[0] 7024f8d58b (diff-e9acd2f731cc01f302055b6e232df983)
2021-02-07 16:16:24 +07:00
Guewen Baconnier da9798d819 [REF] web_tree_dynamic_colored_field: Black python code 2021-02-07 16:16:24 +07:00
OCA Transbot e4d7a72953 OCA Transbot updated translations from Transifex 2021-02-07 16:16:24 +07:00
OCA-git-bot d8b6dbe1f6 [UPD] README.rst 2021-02-07 16:16:24 +07:00
Adrià Gil Sorribes 47886d76ee remove pyeval class and fixup 2021-02-07 16:16:24 +07:00
mreficent 6d06012260 web_tree_dynamic_colored_field: Migration to 12.0 2021-02-07 16:16:24 +07:00
Damien Crier fc35c01e97 Update README because of wrong license
Found in this commit: 3965057913
2021-02-07 16:16:24 +07:00
QS5ELkMu a3d6e5a60e [FIX] Issue #906 2021-02-07 16:16:24 +07:00
Luis Adan 3a14a3992c [IMP] web_tree_dynamic_colored_field: Update README.rst (#899)
Use more than one color condition
2021-02-07 16:16:24 +07:00
Guewen Baconnier bfd1e74e05 web_tree_dynamic_colored_field: correct options examples in readme 2021-02-07 16:16:24 +07:00
Guewen Baconnier 02b388a36e 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">
2021-02-07 16:16:24 +07:00
Guewen Baconnier d9d6725ada 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.
2021-02-07 16:16:24 +07:00
Artem Kostyuk 0b088efbd1 [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2021-02-07 16:16:24 +07:00
jesusVMayor 1672dc9fa1 Migration of web_tree_dynamic_colored_field to 10.0 2021-02-07 16:16:24 +07:00
Holger Brunn 46f67f59fe web_tree_dynamic_colored_field v9
demo view
2021-02-07 16:16:24 +07:00
Holger Brunn 516a5f7fac delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2021-02-07 16:16:24 +07:00
Damien Crier 36dfb5fd49 [IMP] rename module to 'web_tree_dynamic_colored_field' 2021-02-07 16:16:24 +07:00
paidykumar 71f64602b6 [MIG] web_ir_actions_act_view_reload: Migration to 14.0 2021-02-06 17:11:42 +05:30