[Fix] Validating price list currency even if price list is not defined (#10056)
This commit is contained in:
parent
4b888b95d0
commit
4cccdbdbf9
@ -243,6 +243,7 @@ def get_price_list_rate(args, item_doc, out):
|
||||
|
||||
if meta.get_field("currency"):
|
||||
validate_price_list(args)
|
||||
if args.price_list:
|
||||
validate_conversion_rate(args, meta)
|
||||
|
||||
price_list_rate = get_price_list_rate_for(args.price_list, item_doc.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user