From 005d4b47daff2ee9267d766ca8e72cc9f646e3a8 Mon Sep 17 00:00:00 2001 From: hparfr Date: Thu, 8 Nov 2018 15:39:56 +0100 Subject: [PATCH] Fix css in tree view for pos backend partner. The column is set to take the minimum of space. The button instead of the cell is now set to display:none --- pos_backend_partner/__manifest__.py | 2 +- .../static/src/css/pos_backend_partner.css | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pos_backend_partner/__manifest__.py b/pos_backend_partner/__manifest__.py index 7e4add74..20c16031 100644 --- a/pos_backend_partner/__manifest__.py +++ b/pos_backend_partner/__manifest__.py @@ -6,7 +6,7 @@ { "name": "POS Backend Customer", "summary": "Choose point of sale customers in backend", - "version": "10.0.1.0.1", + "version": "10.0.1.0.2", "category": "Point of sale", "website": "http://www.akretion.com", 'author': "Akretion,Odoo Community Association (OCA)", diff --git a/pos_backend_partner/static/src/css/pos_backend_partner.css b/pos_backend_partner/static/src/css/pos_backend_partner.css index 21b8ba33..a198857b 100644 --- a/pos_backend_partner/static/src/css/pos_backend_partner.css +++ b/pos_backend_partner/static/src/css/pos_backend_partner.css @@ -1,7 +1,11 @@ -td[data-field="select_in_pos_current_order"] { +th[data-id="select_in_pos_current_order"] { + width: 0; + margin: 0; +} +td[data-field="select_in_pos_current_order"] > button { display:none; } -.pos_backend_communication td[data-field="select_in_pos_current_order"] { +.pos_backend_communication td[data-field="select_in_pos_current_order"] > button { display:block; } \ No newline at end of file