Skip to Content
Menú
This question has been flagged

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
Related Posts Respostes Vistes Activitat
1
de febr. 21
2377
1
de jul. 19
3566
0
de set. 24
1149
0
de juny 23
2016
0
de maig 17
4520