From 2d0a413f821a9fb5a78cbcde9cd0e404d54d1df4 Mon Sep 17 00:00:00 2001 From: William Henrotin Date: Fri, 8 Jan 2021 15:41:46 +0000 Subject: [PATCH] [FIX] stock: from `from_date` domain Commit c2c9d6d143 changed the inequality sign unintentionally. This commit change it to the right value closes odoo/odoo#64334 X-original-commit: 217d9201deea06d36a7417f54360cb695f70212d Signed-off-by: William Henrotin Co-authored-by: Juppe --- addons/stock/models/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/models/product.py b/addons/stock/models/product.py index 3e95190524e..0cbd54d86b2 100644 --- a/addons/stock/models/product.py +++ b/addons/stock/models/product.py @@ -143,7 +143,7 @@ class Product(models.Model): domain_move_in_done = list(domain_move_in) domain_move_out_done = list(domain_move_out) if from_date: - date_date_expected_domain_from = [('date', '<=', from_date)] + date_date_expected_domain_from = [('date', '>=', from_date)] domain_move_in += date_date_expected_domain_from domain_move_out += date_date_expected_domain_from if to_date: