addons-cm/stock_picking_batch_custom
GitHub Copilot 2e7549f857 [IMP] stock_picking_batch_custom: keep the weighed quantity on the operator view
Basket Assembly is where the reverting quantity was noticed, so it depends
on stock_move_manual_quantity now and its two lists load `picked`: the web
client only saves the fields present in the arch, and without it the
onchange that freezes a hand-typed quantity never reaches the server.

Collecting a line does the same, minus the demand. It is the operator saying
the goods are in the basket, so the quantity has to survive the reservation
engine even when it was never retyped -- but only a quantity typed by hand
says what the demand should become, and a line collected at zero would
otherwise lose its demand and be cancelled on validation.

Drops views/stock_move_line_views.xml on the way. It declared a second
record under the id stock_picking_batch_views.xml already uses, so it was
loaded first and immediately overwritten: dead weight that would have turned
into a duplicate-field view had anyone renamed it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 13:26:56 +02:00
..
i18n change order in basket assembly view 2026-06-04 13:53:16 +02:00
models [IMP] stock_picking_batch_custom: keep the weighed quantity on the operator view 2026-08-27 13:26:56 +02:00
readme [IMP] stock_picking_batch_custom: keep the weighed quantity on the operator view 2026-08-27 13:26:56 +02:00
security [ADD] stock_picking_batch_custom: product summary 2026-03-05 20:29:17 +01:00
static [FIX] stock_picking_batch_custom: fix is_collected toggle clipping in operator view 2026-05-29 19:37:09 +02:00
tests [IMP] stock_picking_batch_custom: keep the weighed quantity on the operator view 2026-08-27 13:26:56 +02:00
views [IMP] stock_picking_batch_custom: keep the weighed quantity on the operator view 2026-08-27 13:26:56 +02:00
__init__.py [ADD] stock_picking_batch_custom: columnas opcionales partner y categoría 2026-02-27 16:03:25 +01:00
__manifest__.py [IMP] stock_picking_batch_custom: keep the weighed quantity on the operator view 2026-08-27 13:26:56 +02:00
README.rst [FIX] stock_picking_batch_custom: prevent product_id null error on summary lines 2026-03-05 21:47:18 +01:00

============================
Stock Picking Batch Custom
============================

Visión general
==============
Este módulo amplía las operaciones detalladas y añade un resumen por producto
en los lotes de picking:

- ``picking_partner_id`` (Partner del albarán) para identificar cliente/proveedor.
- ``product_categ_id`` (Categoría de producto) para ordenar y agrupar.
- ``is_collected`` (Recogido) como check manual en cada línea para marcar si se ha
	recolectado.
- Nueva pestaña **Product Summary** con totales por producto (demandado, hecho,
	pendiente), categoría y el check de recogido consolidado.

Instalación
===========

Actualizar o instalar el módulo:

::

		docker-compose run --rm odoo odoo -d odoo --stop-after-init -u stock_picking_batch_custom

Configuración
=============

No requiere configuración adicional. Para usar las columnas:

- Abrir un **Lote de picking**.
- Ir a la pestaña **Detailed Operations**.
- Abrir el **selector de columnas** y activar *Partner*, *Product Category* y *Collected* según necesidad.

Uso
===

1. Accede a **Inventory > Operations > Batch Transfers** y abre un lote.
2. Pestaña **Detailed Operations**: usa el selector de columnas para activar:

	 - **Partner** (``picking_partner_id``) para ver el cliente/proveedor.
	 - **Product Category** (``product_categ_id``) para ordenar/agrupación por categoría.
	 - **Collected** (``is_collected``) para marcar manualmente líneas recolectadas.

3. Pestaña **Product Summary**: consulta los totales por producto (demandado,
	 hecho y pendiente) y marca el check de recogido consolidado si corresponde.

4. Ordena o agrupa por categoría en cualquiera de las vistas según convenga.

Contribuidores
==============

* Criptomart

Créditos
========

Autor
-----

* Criptomart

Financiador
-----------

* Elika Bilbo