diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-01-15 09:06:15 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-01-15 12:15:24 +0000 |
| commit | ae6545ccd5a97b336ae0a6a2bcea021f0f1acf7e (patch) | |
| tree | a408ad92837525ecffe544f5b03a8d4bd3eaa152 | |
| parent | 8e87075724d0e9e4433d5bf5c3dfd3e62b48d67b (diff) | |
[FIX] account: numerous reconciliation models
- Create many reconciliation models (more than 100)
- Try to create a manual reconciliation entry
The reconciliation models buttons are displayed on top of all fields,
making it impossible to encode any data.
We limit the size of the `div` to 54 pixels, which corresponds to 3
lines of buttons. All buttons are still accessible thanks to a
scrollbar.
opw-1890781
closes odoo/odoo#30212
| -rw-r--r-- | addons/account/static/src/less/account_reconciliation.less | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/account/static/src/less/account_reconciliation.less b/addons/account/static/src/less/account_reconciliation.less index e4a6a121aea..0683ea28d78 100644 --- a/addons/account/static/src/less/account_reconciliation.less +++ b/addons/account/static/src/less/account_reconciliation.less @@ -272,6 +272,10 @@ overflow: auto; border: 1px solid #ddd; border-radius: 5px; + > div.quick_add > .o_reconcile_models { + max-height: 54px; + overflow: auto; + } } table { width: 49%; |
