diff --git a/shopinvader_api_cart/schemas/cart.py b/shopinvader_api_cart/schemas/cart.py index 6403b430cf..de2be555f0 100644 --- a/shopinvader_api_cart/schemas/cart.py +++ b/shopinvader_api_cart/schemas/cart.py @@ -40,5 +40,5 @@ def convert_to_sale_write(self): if (data.get("delivery") or {}).get("address_id"): vals["partner_shipping_id"] = self.delivery.address_id if (data.get("invoicing") or {}).get("address_id"): - vals["partner_invoicing_id"] = self.invoicing.address_id + vals["partner_invoice_id"] = self.invoicing.address_id return vals