# HG changeset patch # User AdriĆ Tarroja Caubet <atarroja@kopen.es> # Date 1694700912 -7200 # Thu Sep 14 16:15:12 2023 +0200 # Node ID 4019093b3c9a3317146a416d76d3a38c2506b926 # Parent 72620b88ebdb06308b437aa7a1c43866c9af04fe Fix wrong eval domain field on sale line actual_quantity Close #12568 diff --git a/modules/sale/sale.py b/modules/sale/sale.py --- a/modules/sale/sale.py +++ b/modules/sale/sale.py @@ -1211,7 +1211,7 @@ "Actual Quantity", digits='unit', readonly=True, domain=[ If(Eval('type') != 'line', - ('quantity', '=', None), + ('actual_quantity', '=', None), ()), ], states={