Created
November 9, 2011 13:22
-
-
Save eLBati/1351402 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erp@erp:~/production/addons$ bzr diff | |
=== modified file 'purchase/purchase.py' | |
--- purchase/purchase.py 2011-10-12 08:31:39 +0000 | |
+++ purchase/purchase.py 2011-10-13 13:21:57 +0000 | |
@@ -706,14 +706,6 @@ | |
'uom': uom, | |
'date': date_order, | |
})[pricelist] | |
- if price is False: | |
- warning = { | |
- 'title': 'No valid pricelist line found !', | |
- 'message': | |
- "Couldn't find a pricelist line matching this product and quantity.\n" | |
- "You have to change either the product, the quantity or the pricelist." | |
- } | |
- res.update({'warning': warning}) | |
dt = (datetime.now() + relativedelta(days=int(seller_delay) or 0.0)).strftime('%Y-%m-%d %H:%M:%S') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment