[POS-commit] r1795 - stoqdrivers/trunk/stoqdrivers/devices/printers/dataregis

Henrique Romano henrique at async.com.br
Tue Dec 6 14:40:33 BRST 2005


Author: henrique
Date: Tue Dec  6 14:40:33 2005
New Revision: 1795

Modified:
   stoqdrivers/trunk/stoqdrivers/devices/printers/dataregis/EP375.py
Log:


Setting the min_len for item_code capability in dataregis 375EP.




Modified: stoqdrivers/trunk/stoqdrivers/devices/printers/dataregis/EP375.py
==============================================================================
--- stoqdrivers/trunk/stoqdrivers/devices/printers/dataregis/EP375.py	(original)
+++ stoqdrivers/trunk/stoqdrivers/devices/printers/dataregis/EP375.py	Tue Dec  6 14:40:33 2005
@@ -543,7 +543,7 @@
         # more than 100 items right now, so I just mark a FIXME here, this
         # must be fixed in the future.
 
-        return dict(item_code=Capability(max_len=6),
+        return dict(item_code=Capability(min_len=3, max_len=6),
                     item_id=Capability(digits=3),
                     items_quantity=Capability(min_size=1, digits=3, decimals=3),
                     item_price=Capability(digits=6, decimals=3),


More information about the POS-commit mailing list