Reviewers: ,
Please review this at http://codereview.tryton.org/714002/
Affected files:
M purchase_request.py
Index: purchase_request.py
===================================================================
--- a/purchase_request.py
+++ b/purchase_request.py
@@ -338,7 +338,7 @@
for product_supplier in product.product_suppliers:
supply_date = product_supplier.compute_supply_date(date=today)
timedelta = date - supply_date
- if not supplier and timedelta >= datetime.timedelta(0):
+ if not supplier and timedelta <= datetime.timedelta(0):
supplier = product_supplier.party
break
--
--
[email protected] mailing list
---
You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.