diff --git a/modules/product_cost_history/product.py b/modules/product_cost_history/product.py index f2dfdadf26..471025b1d9 100644 --- a/modules/product_cost_history/product.py +++ b/modules/product_cost_history/product.py @@ -85,6 +85,7 @@ class ProductCostHistory(ModelSQL, ModelView): database = Transaction().database tables, clause = Move.search_domain([ + ('cost_price', '!=', None), ('state', '=', 'done'), Product()._domain_moves_cost(), # Incoming moves