Skip to content

Commit

Permalink
[FIX] stock_ux: Changes in the button names
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomacr committed Aug 1, 2022
1 parent 0a49044 commit eb5fd4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions stock_ux/views/stock_move_line_views.xml
Expand Up @@ -101,7 +101,7 @@
<field name="product_uom_qty" readonly="1"/>
</field>
<field name="qty_done" position="after">
<button name="set_all_done" string="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available"/>
<button name="set_all_done" title="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available"/>
</field>
</field>
</record>
Expand All @@ -116,7 +116,7 @@
<field name="name" string="Descripción de origen" optional="hide"/>
</field>
<field name="qty_done" position="after">
<button name="set_all_done" string="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available"/>
<button name="set_all_done" title="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available"/>
</field>
<!-- for compatibility with web_m2x_options we force allowing create lots -->
<field name="lot_id" position="attributes">
Expand All @@ -132,7 +132,7 @@
<field name="inherit_id" ref="stock.view_stock_move_line_operation_tree"/>
<field name="arch" type="xml">
<field name="qty_done" position="after">
<button name="set_all_done" string="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available" context="{'from_popup':True}"/>
<button name="set_all_done" title="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available" context="{'from_popup':True}"/>
</field>
<!-- for compatibility with web_m2x_options we force allowing create lots -->
<field name="lot_id" position="attributes">
Expand Down
2 changes: 1 addition & 1 deletion stock_ux/views/stock_picking_views.xml
Expand Up @@ -21,7 +21,7 @@
<field name="product_uom" position="before">
<field name="lots_visible" invisible="1"/>
<field name="used_lots" groups="stock_ux.group_operation_used_lots" attrs="{'invisible': ['|', ('lots_visible', '=', False), ('state', 'not in', ['confirmed', 'assigned', 'waiting', 'partially_available','done'])]}"/>
<button name="set_all_done" string="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available"/>
<button name="set_all_done" title="Set all Done" type="object" icon="fa-check" states="confirmed,assigned,waiting,partially_available"/>
</field>
<button name="action_cancel" position="attributes">
<attribute name="groups">stock_ux.allow_picking_cancellation</attribute>
Expand Down

0 comments on commit eb5fd4f

Please sign in to comment.