Ir al contenido
Menú
Se marcó esta pregunta

I’m trying to dynamically group operations by destination location (location_dest_id) in the Barcode App’s Kanban view. The grouping should apply only when the user selects an operation type (picking_type_id) with a code of internal. It should not affect operations of other types, like incoming or outgoing transfers.



I manually grouped by destination location using the search bar and saved it as default, but this applied the grouping to all operations, regardless of the operation type, which is not the desired behavior.


Also, I tried using an onchange method on picking_type_id to dynamically update the action's context of stock_barcode.stock_picking_action_kanban, adding 'group_by': 'location_dest_id' when the operation type is internal. However, the context did not update as expected.


Any idea on how to handle this modification?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 21
2385
1
jul 19
3576
0
sept 24
1157
0
jun 23
2034
0
may 17
4551