Extend shared schema for retailer-native ids
This commit is contained in:
@@ -58,7 +58,11 @@ def normalized_quantity(row):
|
||||
|
||||
|
||||
def auto_link_rule(observed_row):
|
||||
if observed_row.get("is_fee") == "true":
|
||||
if (
|
||||
observed_row.get("is_fee") == "true"
|
||||
or observed_row.get("is_discount_line") == "true"
|
||||
or observed_row.get("is_coupon_line") == "true"
|
||||
):
|
||||
return "", "", ""
|
||||
|
||||
if observed_row.get("representative_upc"):
|
||||
|
||||
Reference in New Issue
Block a user