[POS-commit] r3231 - stoqlib/trunk/stoqlib/gui/editors
Evandro Vale Miquelito
evandro at async.com.br
Thu Apr 6 11:43:35 BRT 2006
Author: evandro
Date: Thu Apr 6 11:43:34 2006
New Revision: 3231
Modified:
stoqlib/trunk/stoqlib/gui/editors/product.py
Log:
s/new_model/set_model
Modified: stoqlib/trunk/stoqlib/gui/editors/product.py
==============================================================================
--- stoqlib/trunk/stoqlib/gui/editors/product.py (original)
+++ stoqlib/trunk/stoqlib/gui/editors/product.py Thu Apr 6 11:43:34 2006
@@ -137,7 +137,7 @@
else:
model = ProductSupplierInfo(connection=self.conn, product=None,
supplier=selected_supplier)
- self.prod_supplier_proxy.new_model(model)
+ self.prod_supplier_proxy.set_model(model)
# updating the field for the widget validation works fine
self.prod_supplier_proxy.update('base_cost')
More information about the POS-commit
mailing list