diff --git a/addons/stock_landed_costs/models/stock_landed_cost.py b/addons/stock_landed_costs/models/stock_landed_cost.py index 520f739f2f8..0d67e5f5474 100644 --- a/addons/stock_landed_costs/models/stock_landed_cost.py +++ b/addons/stock_landed_costs/models/stock_landed_cost.py @@ -183,7 +183,7 @@ class StockLandedCost(models.Model): for product in cost.cost_lines.product_id: accounts = product.product_tmpl_id.get_product_accounts() input_account = accounts['stock_input'] - all_amls.filtered(lambda aml: aml.account_id == input_account and not aml.full_reconcile_id).reconcile() + all_amls.filtered(lambda aml: aml.account_id == input_account and not aml.reconciled).reconcile() return True