Commit Graph

1789 Commits (c044cabaf3f7c0ee36fae2be3d63d705b04c4432)

Author SHA1 Message Date
Dennis Sluijk ad0ff87c62 [10.0][IMP][web_responsive] (#569)
* [IMP] drawer-toggle

* [IMP] Hitbox of close drawer-toggle

* [IMP] Removed outline on menu item

* [IMP] Logo positionings

* [FIX] Try me on runbot button

* [REM] Reversed outline change
2023-03-01 15:33:26 +01:00
Jairo Llopis 0a940c1957 [FIX][web_responsive] Form padding, titles and buttons OK in XS
Small makeup to make it look good in XS screens.
2023-03-01 15:33:26 +01:00
Jairo Llopis 40f15987d1 Fix problem with overflowing chatter widget. 2023-03-01 15:33:26 +01:00
Daniel Torres 38c5ac961a Form image editing controls always present
Make image editing controls always available, instead of depending
on resolution or hover.
2023-03-01 15:33:26 +01:00
Daniel Torres afdc47cd3f Form view improvements to fit smaller screens
On screens with less than 768px content is limited to 2 columns.

On mobile field labels have their own line.

Fix elements width for XS screens
2023-03-01 15:33:26 +01:00
Daniel Torres 47e2a79f8a Web responsive menu improvements (#513)
* Bold titles for apps in the app-drawer
* Remove z-index from Control Panel buttons, so it doesn't overlap the menu.
* Better responsive menus
  * Move systray icons/menus out of the menu and up to the top bar.
  * Increase avatar size and visibility.

* Other minor menu behavior fixes.
* Changes to fit odoo variables
* And a little margin adjust on navbar-right
* Top menu always thick
* Removed overflow:hidden!important from main.less
* Local patch: prevent body overflow auto
* Stop using `style=` on `<body>`
* Fix jquery drawer in anticipation of:
   https://github.com/blivesta/drawer/pull/36
2023-03-01 15:33:26 +01:00
Dave Lasley 50b3bbb228 [FIX] web_responsive: Change z-indexes
* Rebalance z-indexes to fix overlay issue while still providing notification support
2023-03-01 15:33:26 +01:00
Dave Lasley b631cd1585 [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
2023-03-01 15:33:26 +01:00
Dave Lasley 6a7fd9ea38 [FIX] web_responsive: Other minor fixes
* Add Tecnativa as author
* Remove untestable JS method
* Rename to web_responsive
2023-03-01 15:33:26 +01:00
tarteo a35adee9d7 [IMP] web_tree_many2one_clickable: pre-commit stuff 2023-03-01 14:24:49 +01:00
OCA-git-bot 1e81435e9d [UPD] README.rst 2023-03-01 14:24:02 +01:00
oca-ci 1cc28d2c6f [UPD] Update web_tree_many2one_clickable.pot 2023-03-01 14:24:02 +01:00
Carlos Roca d1c985c48a [IMP] web_tree_many2one_clickable: Fix pre-commit + improve readme 2023-03-01 14:24:02 +01:00
Xander De Matteis 1c00b0ae00 [MIG] web_tree_many2one_clickable: Migration to 15.0 2023-03-01 14:24:02 +01:00
Eduardo De Miguel 0cd551931a [14.0] [FIX] Clicking on a field with context
Clicking on a field with context like this `{'default_product_id': product_id}` doesn't throws an error.
2023-03-01 14:24:02 +01:00
Raf Ven e8c0a88506 [MOD] Pass context defined on tree view field
When for instance a form_view_ref context is defined on a field in a specific tree view, the context should also be passed when opening the form.
2023-03-01 14:24:02 +01:00
Kévin Roche 07a863f17f [MIG] web_tree_many2one_clickable: Migration to 14.0 2023-03-01 14:24:02 +01:00
Stéphane Bidoul 9112d75278 pre-commit update: prettier xml indent 2023-03-01 14:24:01 +01:00
Jairo Llopis d0cdaee33a [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2023-03-01 14:24:01 +01:00
Simone 28cc7bbaff [MIG] web_tree_many2one_clickable: Migration to 13.0 2023-03-01 14:24:01 +01:00
Simone af54263b29 [IMP] web_tree_many2one_clickable: black, isort 2023-03-01 14:24:01 +01:00
黎伟杰 70ad7b2169 Added translation using Weblate (Chinese (Simplified)) 2023-03-01 14:24:01 +01:00
Alexandre Díaz 061cf62b39 [IMP] web_tree_many2one_clickable: Readme - USAGE 2023-03-01 14:24:01 +01:00
Alexandre Díaz 20fedea52c [MIG] web_tree_many2one_clickable: Migration to 12.0 2023-03-01 14:24:01 +01:00
Anand Kansagra ba4d6194c5 [MIG] web_tree_many2one_clickable: Migration to 12.0. 2023-03-01 14:24:01 +01:00
Guewen Baconnier 8c7ca351e8 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.
2023-03-01 14:24:01 +01:00
Artem Kostyuk d0dd5546c0 [MIG] web_tree_many2one_clickable: Migration to 11.0 2023-03-01 14:24:01 +01:00
Atchuthan, Sodexis c36cb88f21 [MIG] web_tree_many2one_clickable: Migrated to 10.0 2023-03-01 14:24:01 +01:00
Antonio Espinosa a5c5406488 [MIG] web_tree_many2one_clickable: Migration to 9.0 2023-03-01 14:24:01 +01:00
Holger Brunn 54a92f745e support reference fields in many2one_clickable widget 2023-03-01 14:24:01 +01:00
Antonio Espinosa 45b5cfb7d7 [FIX] Allow set web_tree_many2one_clickable.default as True 2023-03-01 14:24:01 +01:00
Pedro M. Baeza 9e4115de77 [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.
2023-03-01 14:24:01 +01:00
tarteo 8292aec9b0 [IMP] web_widget_x2many_2d_matrix: pre-commit stuff 2023-02-28 13:55:28 +01:00
OCA-git-bot 2a6213e388 web_widget_x2many_2d_matrix 15.0.1.0.2 2023-02-28 13:53:55 +01:00
Sylvain LE GAL e0b9a2e39a [FIX] web_widget_x2many_2d_matrix: make the possibility to have alternative values for headers of rows and columns working 2023-02-28 13:53:55 +01:00
OCA-git-bot e7f3c8646f web_widget_x2many_2d_matrix 15.0.1.0.1 2023-02-28 13:53:55 +01:00
OCA-git-bot 45e8d25bb7 [UPD] README.rst 2023-02-28 13:53:55 +01:00
Lois Rilo a89b9ed142 [UPD] web_widget_x2many_2d_matrix dev status to Production/stable 2023-02-28 13:53:55 +01:00
OCA-git-bot 6b5e0e4319 [UPD] README.rst 2023-02-28 13:53:55 +01:00
oca-ci a0803574bb [UPD] Update web_widget_x2many_2d_matrix.pot 2023-02-28 13:53:55 +01:00
Christopher Ormaza e6640767a4 [15.0][MIG] web_widget_x2many_2d_matrix 2023-02-28 13:53:55 +01:00
Christopher Ormaza dbb1537e62 [IMP] web_widget_x2many_2d_matrix: black, isort, prettier 2023-02-28 13:53:55 +01:00
OCA-git-bot 5c8c48d604 web_widget_x2many_2d_matrix 14.0.1.0.1 2023-02-28 13:53:55 +01:00
Sylvain LE GAL 8ee8d00560 [FIX] web_widget_x2many_2d_matrix: remove console.log 2023-02-28 13:53:55 +01:00
Bosd 210836fb2c Translated using Weblate (Dutch)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-14.0/web-14.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_x2many_2d_matrix/nl/
2023-02-28 13:53:55 +01:00
Bosd f01d259fb3 Translated using Weblate (Dutch)
Currently translated at 33.3% (1 of 3 strings)

Translation: web-14.0/web-14.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_x2many_2d_matrix/nl_NL/
2023-02-28 13:53:55 +01:00
Bosd 1bcefdb29b Added translation using Weblate (Dutch) 2023-02-28 13:53:55 +01:00
OCA-git-bot 3a88397b21 [UPD] README.rst 2023-02-28 13:53:55 +01:00
oca-travis c1ace6b00c [UPD] Update web_widget_x2many_2d_matrix.pot 2023-02-28 13:53:55 +01:00
Saran440 42d56c3fba [14.0][MIG] web_widget_x2many_2d_matrix 2023-02-28 13:53:55 +01:00