[POS-commit] r7130 - stoq/trunk/stoq/gui/pos
fabio morbec
fabio at async.com.br
Tue Aug 21 09:29:34 BRT 2007
Author: fabio
Date: Tue Aug 21 09:29:33 2007
New Revision: 7130
Modified:
stoq/trunk/stoq/gui/pos/deliveryeditor.py
Log:
#3515: O sistema deve aceitar entrega sem valor ou seja com valor zero (stoq). r=jdahlin
Modified: stoq/trunk/stoq/gui/pos/deliveryeditor.py
==============================================================================
--- stoq/trunk/stoq/gui/pos/deliveryeditor.py (original)
+++ stoq/trunk/stoq/gui/pos/deliveryeditor.py Tue Aug 21 09:29:33 2007
@@ -129,9 +129,6 @@
"be set to a future date"))
def on_price__validate(self, widget, price):
- if price == 0:
- return ValidationError(
- _("The Delivery cost must be more than 0."))
if price < 0:
return ValidationError(
_("The Delivery cost must be a positive value."))
More information about the POS-commit
mailing list