From 78b09d82fb16181c3ae2e4964f3cff30b76424db Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Tue, 23 Jul 2019 10:01:11 +0000 Subject: [FIX] web: pivot keeps controlpanel's domain on reload Open a pivot view, make a search for some field Click on a pivot cell to display the list view of elements matching the group's domain Go back to the pivot using breadcrumbs Before this commit, the original search domain was not kept across those actions After this commit, it is kept This difference is due to the fact that before 12.2, the whole action had an env, containing the search domain in 12.2 and afterwards, things are not done this way anymore OPW 2030555 OPW 2030983 closes odoo/odoo#35096 Signed-off-by: Lucas Perais (lpe) --- addons/web/static/src/js/views/pivot/pivot_model.js | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/web/static/src') diff --git a/addons/web/static/src/js/views/pivot/pivot_model.js b/addons/web/static/src/js/views/pivot/pivot_model.js index b60cf81ac86..2c41200ec0f 100644 --- a/addons/web/static/src/js/views/pivot/pivot_model.js +++ b/addons/web/static/src/js/views/pivot/pivot_model.js @@ -422,6 +422,7 @@ var PivotModel = AbstractModel.extend({ } if ('domain' in params) { this.data.domain = params.domain; + this.initialDomain = params.domain; } else { this.data.domain = this.initialDomain; } -- cgit v1.2.3 From 7e5a80abc666bfa4d5b50a2d717a0d0d72a23dbf Mon Sep 17 00:00:00 2001 From: Siddarth Gajjar Date: Thu, 9 May 2019 09:26:24 +0000 Subject: [FIX] web: fix footer layout issue in pdf report rendering - When reports print with long string in footer will spoil layout. This issue will fix that. Task ID: 1960423 Closes at #33271 closes odoo/odoo#35097 Signed-off-by: Damien Bouvy (dbo) --- addons/web/static/src/scss/layout_standard.scss | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addons/web/static/src') diff --git a/addons/web/static/src/scss/layout_standard.scss b/addons/web/static/src/scss/layout_standard.scss index acc0e07bf1c..bd0b4934259 100644 --- a/addons/web/static/src/scss/layout_standard.scss +++ b/addons/web/static/src/scss/layout_standard.scss @@ -1,3 +1,6 @@ .o_standard_footer { margin-top: 200px; + .list-inline-item { + white-space: nowrap; + } } -- cgit v1.2.3