[POS-commit] r5368 - stoqlib/trunk/stoqlib/domain

Johan Dahlin jdahlin at async.com.br
Tue Nov 21 16:24:03 BRST 2006


Author: jdahlin
Date: Tue Nov 21 16:24:02 2006
New Revision: 5368

Modified:
   stoqlib/trunk/stoqlib/domain/receiving.py

Log:
Fix a bug Silvio found, IPaymentGroup can be unimplemented here


Modified: stoqlib/trunk/stoqlib/domain/receiving.py
==============================================================================
--- stoqlib/trunk/stoqlib/domain/receiving.py	(original)
+++ stoqlib/trunk/stoqlib/domain/receiving.py	Tue Nov 21 16:24:02 2006
@@ -113,7 +113,7 @@
         conn = self.get_connection()
         group = IPaymentGroup(self, None)
         if self.purchase:
-            purchase_group = IPaymentGroup(self.purchase)
+            purchase_group = IPaymentGroup(self.purchase, None)
             default_method = purchase_group.default_method
             installments_number = purchase_group.installments_number
             interval_type = purchase_group.interval_type


More information about the POS-commit mailing list