[ADD] web_list_striped: zebra striping for all backend list views
The zebra rows and the softer hover used to be shipped by
stock_picking_batch_custom, but its selector (`table.o_list_table`) carried no
module scope, so a warehouse addon was quietly restyling every list view in the
database. The scope was lost in 07bd632, while porting the selectors from Odoo
16 to 18.
The effect itself is wanted, so keep it and make it explicit: an asset-only
addon whose documented purpose is the global reach. Nothing depends on it, so
the striping can be turned off by uninstalling a single module.
An Odoo theme would not work here: `theme_*` addons only govern the website
frontend, and these rules live in `web.assets_backend`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
2e7549f857
commit
704f0def1b
10 changed files with 150 additions and 0 deletions
6
web_list_striped/readme/USAGE.rst
Normal file
6
web_list_striped/readme/USAGE.rst
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Uso
|
||||
===
|
||||
|
||||
No hay nada que usar: una vez instalado, cualquier vista de lista del backend
|
||||
(Contactos, Facturas, Albaranes, Operaciones detalladas de un lote...) muestra
|
||||
las filas alternas sombreadas y un hover más suave.
|
||||
Loading…
Add table
Add a link
Reference in a new issue