Merge pull request #35355 from ruthra-kumar/fix_possible_type_erro_on_so_creation_from_quotation

fix: possible type error on quotation -> sales order creation
This commit is contained in:
ruthra kumar 2023-05-18 13:31:29 +05:30 committed by GitHub
commit f143bd1bec
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") or []:
target.append(
"sales_team",
{