From 78b0529809060357561bb9b1acf8efa9631d8c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Tue, 31 Dec 2024 08:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=88=90=E5=93=81=E6=97=B6?= =?UTF-8?q?=E4=BB=8E=E6=A8=A1=E6=9D=BF=E4=B8=8A=E8=8E=B7=E5=8F=96=E4=BE=9B?= =?UTF-8?q?=E5=BA=94=E5=95=86=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jikimo_sale_multiple_supply_methods/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jikimo_sale_multiple_supply_methods/models/product_template.py b/jikimo_sale_multiple_supply_methods/models/product_template.py index 640571f7..cd730998 100644 --- a/jikimo_sale_multiple_supply_methods/models/product_template.py +++ b/jikimo_sale_multiple_supply_methods/models/product_template.py @@ -23,4 +23,4 @@ class ProductTemplate(models.Model): self.is_bfm = product_template_id.is_bfm self.is_manual_processing = product_template_id.is_manual_processing # 复制 seller_ids - self.seller_ids = [(0, 0, {'partner_id': seller.partner_id.id, 'delay': 1.0}) for seller in product_template_id.seller_ids] + self.seller_ids = [(0, 0, {'partner_id': seller.partner_id.id, 'delay': 1.0, 'price': seller.price}) for seller in product_template_id.seller_ids]