Do not copy asset lot when copying sale subscription line

Closes #13785
(grafted from 4926ea6614fabc74223b4debe0c7ed92c5e70c1f)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier committed 2025-01-01 17:44:16 +01:00
1 parent d5c13a3b7e
commit 804ea3109c
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@ class SubscriptionLine(metaclass=PoolMeta):
default = {}
else:
default = default.copy()
default.setdefault('lot')
default.setdefault('asset_lot')
return super(SubscriptionLine, cls).copy(lines, default)
@classmethod