Merge pull request #35352 from niyazrazak/patch-12

fix: create sales order
This commit is contained in:
ruthra kumar 2023-05-18 12:07:35 +05:30 committed by GitHub
commit 73bcd4451a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,7 +288,7 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False):
)
# sales team
for d in customer.get("sales_team"):
for d in customer.get("sales_team", []):
target.append(
"sales_team",
{