mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch 'imp/12.0/connector_walmart__auth_changes' into '12.0'
WIP: imp/12.0/connector_walmart__auth_changes into 12.0 See merge request hibou-io/hibou-odoo/suite!1348
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user