Features: 1) Add debug log for attempting to buy order product;
Fixes: None; Extra: None;
This commit is contained in:
parent
3427c6ad22
commit
1563016af0
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ def process_order_changes(instance, created, **_kwargs):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
logger.debug("Trying to buy: %s", str(order_product.uuid))
|
||||||
vendor_name = (
|
vendor_name = (
|
||||||
order_product.product.stocks.filter(price=order_product.buy_price).first().vendor.name.lower()
|
order_product.product.stocks.filter(price=order_product.buy_price).first().vendor.name.lower()
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue