Do not copy asset lot when copying sale subscription line

Closes #13785
(grafted from 4926ea6614fabc74223b4debe0c7ed92c5e70c1f)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2025-01-01 17:44:16 +01:00
parent f1f88ba2f1
commit be201c2b0f
+1 -1
View File
@@ -113,7 +113,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