[FIX] stock_picking_batch_custom: fix zebra striping selectors for Odoo 18

Replace old Odoo 16/17 class names (.o_list_view_table) with Odoo 18
equivalents (table.o_list_table, tr.o_data_row) so zebra striping
renders correctly in the detailed operations list view.

Remove background:transparent rule on .o_field_widget * that was
breaking the boolean_toggle widget appearance on striped rows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-05-21 12:25:55 +02:00
parent 07bd632537
commit 56509892e6

View file

@ -7,9 +7,3 @@ table.o_list_table tbody tr.o_data_row:nth-child(even) td {
table.o_list_table tbody tr.o_data_row:hover td { table.o_list_table tbody tr.o_data_row:hover td {
background-color: rgba(0, 0, 0, 0.045); background-color: rgba(0, 0, 0, 0.045);
} }
/* Ensure field widgets inside striped rows stay transparent */
table.o_list_table tbody tr.o_data_row:nth-child(even) td .o_field_widget,
table.o_list_table tbody tr.o_data_row:nth-child(even) td .o_field_widget * {
background: transparent;
}