diff --git a/sale_stock_available_info_popup/README.rst b/sale_stock_available_info_popup/README.rst index eade50bc5..bedbabc3f 100644 --- a/sale_stock_available_info_popup/README.rst +++ b/sale_stock_available_info_popup/README.rst @@ -79,6 +79,7 @@ Contributors * Ernesto Tejeda * Pedro M. Baeza * Víctor Martínez + * César A. Sánchez Maintainers ~~~~~~~~~~~ diff --git a/sale_stock_available_info_popup/__manifest__.py b/sale_stock_available_info_popup/__manifest__.py index 4a326556b..a8a054d95 100644 --- a/sale_stock_available_info_popup/__manifest__.py +++ b/sale_stock_available_info_popup/__manifest__.py @@ -7,7 +7,7 @@ "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse Management", - "version": "13.0.1.0.2", + "version": "13.0.1.0.3", "license": "AGPL-3", "depends": ["sale_stock", "stock_available"], "data": ["views/sale_order_views.xml"], diff --git a/sale_stock_available_info_popup/models/sale_order.py b/sale_stock_available_info_popup/models/sale_order.py index d936b14bd..ccb134b6e 100644 --- a/sale_stock_available_info_popup/models/sale_order.py +++ b/sale_stock_available_info_popup/models/sale_order.py @@ -13,7 +13,13 @@ class SaleOrderLine(models.Model): compute="_compute_immediately_usable_qty_today" ) - @api.depends("product_id", "product_uom_qty") + @api.depends( + "product_id", + "product_uom_qty", + "order_id.commitment_date", + "order_id.date_order", + "warehouse_id", + ) def _compute_immediately_usable_qty_today(self): qty_processed_per_product = defaultdict(lambda: 0) self.immediately_usable_qty_today = False diff --git a/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst b/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst index bef4cdf82..f18dd5ed6 100644 --- a/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst +++ b/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst @@ -3,3 +3,4 @@ * Ernesto Tejeda * Pedro M. Baeza * Víctor Martínez + * César A. Sánchez diff --git a/sale_stock_available_info_popup/static/description/index.html b/sale_stock_available_info_popup/static/description/index.html index aa6b6939e..9b0201251 100644 --- a/sale_stock_available_info_popup/static/description/index.html +++ b/sale_stock_available_info_popup/static/description/index.html @@ -422,6 +422,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Ernesto Tejeda
  • Pedro M. Baeza
  • Víctor Martínez
  • +
  • César A. Sánchez