mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch '11.0' into 11.0-test
This commit is contained in:
@@ -136,7 +136,7 @@ class SaleOrderImportMapper(Component):
|
||||
@mapping
|
||||
def project_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):
|
||||
|
||||
@@ -30,7 +30,7 @@ class WalmartPickingExporter(Component):
|
||||
ship_date_time = int(fields.Datetime.from_string(ship_date).strftime('%s')) * 1000
|
||||
lines = []
|
||||
for line in binding.move_lines:
|
||||
sale_line = line.procurement_id.sale_line_id
|
||||
sale_line = line.sale_line_id
|
||||
if not sale_line.walmart_bind_ids:
|
||||
continue
|
||||
# this is a particularly interesting way to get this,
|
||||
|
||||
2
external/hibou-oca/connector-magento
vendored
2
external/hibou-oca/connector-magento
vendored
Submodule external/hibou-oca/connector-magento updated: 802fe38dc1...4b71a6f449
Reference in New Issue
Block a user