Commit graph

16 commits

Author SHA1 Message Date
GitHub Copilot
56509892e6 [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>
2026-05-21 12:25:55 +02:00
GitHub Copilot
07bd632537 [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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 18:23:55 +02:00
GitHub Copilot
91cfb9e137 [FIX] website_sale_aplicoop: lint fixes (exception chaining, imports, remove unused vars) 2026-05-20 16:05:14 +02:00
snt
5bb5d20244 [IMP] stock_picking_batch_custom: add home_delivery indicator to move line view
Add related field home_delivery on stock.move.line from picking_id,
and expose it in the batch move line list view as an optional boolean toggle.
2026-05-20 16:05:14 +02:00
snt
4a928e92dd [FIX] stock_picking_batch_custom: mover inclusión de CSS a manifest assets 2026-05-20 16:05:14 +02:00
snt
3372cb453b [FIX] stock_picking_batch_custom: quitar company_id inexistente en summary line view 2026-05-20 16:05:14 +02:00
snt
1b20b23fc0 [IMP] stock_picking_batch_custom: UX - zebra rows, mostrar categoría a la izquierda, company+uom ocultables, añadir CSS assets 2026-05-20 16:05:14 +02:00
snt
18fd73ed1b [IMP] stock_picking_batch_custom: configuraciones de bloqueo por pestaña 2026-04-08 18:48:18 +02:00
snt
05a8908007 [FIX] stock_picking_batch_custom: validar collected solo en operaciones detalladas 2026-04-08 18:29:55 +02:00
snt
2237cba034 [FIX] stock_picking_batch_custom: renombrar etiqueta de grupo de consumo en batch 2026-04-08 17:28:14 +02:00
snt
ce393b6034 [FIX] TestConfirmEskaera_Integration: limpieza de decoradores @patch y corrección de bugs
- Convertir 4 tests de decorador @patch a context manager 'with patch(...)' para evitar RuntimeError en LocalProxy de Werkzeug
- Corregir patrón env(user=..., context=dict(...)) en Odoo 18 (sin .with_context())
- Agregar website real al mock para integración con helpers de pricing (_get_pricing_info)
- Añadir pickup_date en fixture de existing_order para que _find_recent_draft_order localice correctamente
- BUGFIX: Agregar (5,) a order_line para limpiar líneas previas al actualizar pedido existente

Resultado: 0 failed, 0 errors de 4 tests en Docker para TestConfirmEskaera_Integration

BREAKING: _create_or_update_sale_order ahora limpia las líneas anteriores con (5,) antes de asignar las nuevas cuando se actualiza un pedido existente. Comportamiento previo (duplicación de líneas) era un bug.
2026-04-08 17:26:57 +02:00
snt
d4be0ae23e [FIX] stock_picking_batch_custom: require collected before batch validation 2026-03-30 19:42:21 +02:00
snt
3eeca66551 [FIX] stock_picking_batch_custom: prevent product_id null error on summary lines
- Use regular dict instead of defaultdict to avoid empty entries
- Make summary_line_ids readonly=True to prevent UI from inserting empty lines
- Add SQL constraint CHECK(product_id IS NOT NULL) as safeguard
- Use boolean_toggle widget for is_collected field
- Fix tests to use TransactionCase and invalidate_recordset
- Add test for empty batch + add pickings + confirm flow
2026-03-05 21:47:18 +01:00
snt
ad8b759643 [ADD] stock_picking_batch_custom: product summary 2026-03-05 20:29:17 +01:00
snt
d294843241 [DOC] stock_picking_batch_custom: documentación OCA 2026-02-27 17:09:22 +01:00
snt
ced21cc489 [ADD] stock_picking_batch_custom: columnas opcionales partner y categoría 2026-02-27 16:03:25 +01:00