Skip to content

Commit

Permalink
[MIG] stock_quant_reservation_info: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MeritxellAForgeFlow committed Nov 28, 2024
1 parent 0144d2f commit adc4cf1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion stock_quant_reservation_info/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Stock Move Reservation Info",
"summary": "Allows to see the reserved info of Products",
"version": "16.0.1.0.1",
"version": "17.0.1.0.1",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Generic",
Expand Down
2 changes: 1 addition & 1 deletion stock_quant_reservation_info/models/stock_quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def action_reserved_moves(self):
"context": {},
"domain": [
("product_id", "=", self.product_id.id),
("reserved_uom_qty", ">", 0),
("quantity_product_uom", ">", 0),
("location_id", "=", self.location_id.id),
("lot_id", "=", self.lot_id.id),
("owner_id", "=", self.owner_id.id),
Expand Down
4 changes: 2 additions & 2 deletions stock_quant_reservation_info/views/stock_move_line.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
class="btn btn-link text-info"
icon="fa-arrow-right"
title="Related Document"
attrs="{'invisible': [('picking_id', '=', False)]}"
invisible="not picking_id"
/>
<field name="origin" />
<field name="reserved_uom_qty" />
<field name="quantity_product_uom" />
</tree>
</field>
</record>
Expand Down
4 changes: 2 additions & 2 deletions stock_quant_reservation_info/views/stock_quant.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<button
name="action_reserved_moves"
type="object"
attrs="{'invisible': [('reserved_quantity', '=', 0)]}"
invisible="reserved_quantity == 0"
class="btn btn-link text-info"
icon="fa-info-circle"
title="Reserved Moves"
Expand All @@ -28,7 +28,7 @@
<button
name="action_reserved_moves"
type="object"
attrs="{'invisible': [('reserved_quantity', '=', 0)]}"
invisible="reserved_quantity == 0"
class="btn btn-link text-info"
icon="fa-info-circle"
title="Reserved Moves"
Expand Down

0 comments on commit adc4cf1

Please sign in to comment.