[FIX] stock: picking operation kanban mobile
Display the operations (`stock.move`) in the picking form view as kanban view when the user is in mobile mode. X-original-commit: c3488d625a5e939de6a5b2d41b5029640e0790f5
This commit is contained in:
@@ -337,7 +337,9 @@
|
||||
</page>
|
||||
|
||||
<page string="Operations" name="operations">
|
||||
<field name="move_ids_without_package" attrs="{'readonly': ['&', ('state', '=', 'done'), ('is_locked', '=', True)]}" context="{'default_company_id': company_id, 'picking_type_code': picking_type_code, 'default_picking_id': id, 'form_view_ref':'stock.view_move_form', 'address_in_id': partner_id, 'default_picking_type_id': picking_type_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id}">
|
||||
<field name="move_ids_without_package" mode="tree,kanban"
|
||||
attrs="{'readonly': ['&', ('state', '=', 'done'), ('is_locked', '=', True)]}"
|
||||
context="{'default_company_id': company_id, 'picking_type_code': picking_type_code, 'default_picking_id': id, 'form_view_ref':'stock.view_move_form', 'address_in_id': partner_id, 'default_picking_type_id': picking_type_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id}">
|
||||
<tree decoration-danger="not parent.immediate_transfer and state != 'done' and quantity_done > reserved_availability and show_reserved_availability" decoration-muted="scrapped == True or state == 'cancel' or (state == 'done' and is_locked == True)" string="Stock Moves" editable="bottom">
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="name" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user