fix(fulfillment): 取消商品限时兑换未开始对提前选号绑定的限制
This commit is contained in:
@@ -45,7 +45,6 @@ from ..external_order_source import (
|
||||
OrderLookupUnavailable,
|
||||
lookup_pending_manual_fulfillment,
|
||||
)
|
||||
from . import classification
|
||||
from .account_selector import (
|
||||
release_lease,
|
||||
)
|
||||
@@ -331,7 +330,6 @@ def refresh_exchange_eligibility(
|
||||
]
|
||||
assessments = classify_goods_items(storehome_goods, now=_now())
|
||||
assessment = assessments.get(task.commodity_id)
|
||||
is_presale = classification.normalize_sale_mode(task.sale_mode) == "presale"
|
||||
if task.commodity_id in limited_ids:
|
||||
account_eligibility = ACCOUNT_ELIGIBILITY_LIMITED
|
||||
offer_state = assessment.offer_state if assessment else OFFER_STATE_UNKNOWN
|
||||
@@ -368,7 +366,7 @@ def refresh_exchange_eligibility(
|
||||
gate_status, gate_issue, gate_message = exchange_gate_for_availability(
|
||||
availability,
|
||||
reason=commodity_message,
|
||||
allow_not_open=is_presale,
|
||||
allow_not_open=True,
|
||||
)
|
||||
if gate_status:
|
||||
task.exchange_status = gate_status
|
||||
|
||||
Reference in New Issue
Block a user