3
0
Fork 0
Commit Graph

1149 Commits (ae42c78cbb5c46fda9c5db746c7ea90f3844846c)

Author SHA1 Message Date
fanha99 0f00e29faf [FIX] web_responsive: Hide header when print directly from browser issues 808 (#809)
Closes #808
2023-03-01 15:33:26 +01:00
Dave Lasley 1e43618778 [FIX] web_responsive: Menu Height on Init
* Add a call to the window resize method during init to fix OCA#773
2023-03-01 15:33:26 +01:00
Minh H.G ec30711f62 [MIG] web_responsive test to 11.0 2023-03-01 15:33:26 +01:00
Pedro M. Baeza d0cccade7d [FIX] web_responsive: Correct runbot link 2023-03-01 15:33:26 +01:00
Dave Lasley 13a3f61212 [FIX] web_responsive: Chrome Slow Scrolling
* Update to iScoll bleeding edge to fix #741
2023-03-01 15:33:26 +01:00
Angel Moya - PESOL 54d6506252 FIX travis (#747)
* FIX hasclass

* FIX views

* [FIX] web_responsive: Syntax error in xpath
2023-03-01 15:33:26 +01:00
Angel Moya Pardo 0614d70b07 UPDT version 2023-03-01 15:33:26 +01:00
Sergio Teruel Albert 2d750bdad5 [10.0][IMP] web_responsive: Load default kanban view for small screen 2023-03-01 15:33:26 +01:00
Jairo Llopis a54f6ecc0f [FIX][web_responsive] Long-named multicompanies nice in XS (#688) 2023-03-01 15:33:26 +01:00
Dennis Sluijk 56ffa63a0e [10.0][IMP][web_responsive] Make search bar sticky (#633)
* Initial commit

* Initial commit
2023-03-01 15:33:26 +01:00
Pedro M. Baeza d5305b39ad [FIX] web_responsive: Execution permission 2023-03-01 15:33:26 +01:00
Jairo Llopis 9a256fc548 [FIX][web_responsive] Make it compatible with l10n_es_toponyms
Before this patch, there was an incompatibility between this addon and l10n_es_toponyms, caused by the lack of wrapping of the special address field that was being added.

Now layout works as expected in that case. In any other case, it seems sensible to wrap inputs so no more weird overflows happen and less chances of needing horizontal scrolling happen.
2023-03-01 15:33:26 +01:00
Dave Lasley 6df6f14b2d [FIX] web_responsive: Change edit accesskey
* Change accesskey for `edit` in form view back to `e` to fix #587
2023-03-01 15:33:26 +01:00
zeroheure 3c181cf755 Update README to fix wikipedia link 2023-03-01 15:33:26 +01:00
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