Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add method field in DeliveryGroup
Michał Ociepkaa20085fed888
diff --git a/saleor/order/models.py b/saleor/order/models.pyindex 5763ef150b..66aea4d5be 100644--- a/saleor/order/models.py+++ b/saleor/order/models.py@@ -122,6 +122,9 @@ class DeliveryGroup(Subtyped, ItemSet):status = models.CharField(pgettext_lazy('Delivery group field', 'Delivery status'),max_length=32, default='new', choices=STATUS_CHOICES)+ method = models.CharField(+ pgettext_lazy('Delivery group field', 'Delivery method'),+ max_length=255)order = models.ForeignKey(Order, related_name='groups', editable=False)price = PriceField(pgettext_lazy('Delivery group field', 'unit price'),