Browse Source

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
pull/306/head
hparfr 6 years ago
parent
commit
005d4b47da
  1. 2
      pos_backend_partner/__manifest__.py
  2. 8
      pos_backend_partner/static/src/css/pos_backend_partner.css

2
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)",

8
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;
}
Loading…
Cancel
Save