From 0994548bddb583024d554f54feb2019407282121 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Thu, 3 Feb 2022 06:24:31 -0800 Subject: [PATCH] [FIX] connector_walmart: project_id => analytic_account_id (after last pull from 11) --- connector_walmart/models/sale_order/importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connector_walmart/models/sale_order/importer.py b/connector_walmart/models/sale_order/importer.py index f10518d3..3c589e46 100644 --- a/connector_walmart/models/sale_order/importer.py +++ b/connector_walmart/models/sale_order/importer.py @@ -134,9 +134,9 @@ class SaleOrderImportMapper(Component): return {'payment_mode_id': self.backend_record.payment_mode_id.id} @mapping - def project_id(self, record): + def analytic_account_id(self, record): if self.backend_record.analytic_account_id: - return {'project_id': self.backend_record.analytic_account_id.id} + return {'analytic_account_id': self.backend_record.analytic_account_id.id} @mapping def warehouse_id(self, record):