[IMP] stock_picking_batch_custom: widen quantity column for easier touch interaction
Add o_batch_move_line_list class to the detailed ops list and use it to set min-width: 100px on the quantity column header and cells. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c9188e4f10
commit
72da09715d
2 changed files with 11 additions and 0 deletions
|
|
@ -7,3 +7,13 @@ table.o_list_table tbody tr.o_data_row:nth-child(even) td {
|
|||
table.o_list_table tbody tr.o_data_row:hover td {
|
||||
background-color: rgba(0, 0, 0, 0.045);
|
||||
}
|
||||
|
||||
/* Widen the quantity column in detailed operations so it is easier to tap */
|
||||
table.o_batch_move_line_list th[data-name="quantity"],
|
||||
table.o_batch_move_line_list td[name="quantity"] {
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
table.o_batch_move_line_list td[name="quantity"] .o_field_widget input {
|
||||
min-height: 36px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<xpath expr="//list" position="attributes">
|
||||
<attribute name="default_order">product_categ_id,product_id,picking_partner_id</attribute>
|
||||
<attribute name="class">o_batch_move_line_list</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='product_id']" position="before">
|
||||
<field name="product_categ_id" readonly="1"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue