changeset 24f754eb1fb6 in modules/stock_assign_manual:default
details:
https://hg.tryton.org/modules/stock_assign_manual?cmd=changeset&node=24f754eb1fb6
description:
Remove ModelSQL to ShipmentAssignedMove
The model does not need to be stored as it is used only on wizard.
issue10404
review338221018
diffstat:
stock.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r c6ac87c273c0 -r 24f754eb1fb6 stock.py
--- a/stock.py Mon May 03 15:48:33 2021 +0200
+++ b/stock.py Sun May 16 17:49:28 2021 +0200
@@ -4,8 +4,7 @@
from trytond.exceptions import UserError
from trytond.i18n import gettext
-from trytond.model import (
- Model, ModelStorage, ModelView, ModelSQL, fields, dualmethod)
+from trytond.model import Model, ModelStorage, ModelView, fields, dualmethod
from trytond.model.exceptions import ValidationError
from trytond.pool import Pool, PoolMeta
from trytond.pyson import Eval
@@ -348,7 +347,7 @@
return 'end'
-class ShipmentAssignedMove(ModelView, ModelSQL):
+class ShipmentAssignedMove(ModelView):
"Shipment Assigned Move"
__name__ = 'stock.shipment.assigned.move'