Minor fixes #1917
This commit is contained in:
parent
5e0de79c0d
commit
fcfa42d992
@ -183,7 +183,7 @@ def get_pricing_rules(args):
|
||||
group_condition = _get_tree_conditions(parenttype)
|
||||
if group_condition:
|
||||
conditions += " and " + group_condition
|
||||
|
||||
if not args.price_list: args.price_list = None
|
||||
conditions += " and ifnull(for_price_list, '') in (%(price_list)s, '')"
|
||||
|
||||
if args.get("transaction_date"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user