Merge pull request #35352 from niyazrazak/patch-12
fix: create sales order
This commit is contained in:
commit
73bcd4451a
@ -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",
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user