Class s.g.s.s.OnSaleInfoSlave(BaseEditorSlave):

Part of stoqlib.gui.slaves.sellableslave View In Hierarchy

A slave for price and dates information when a certain product or service is on sale.
Method create_model Creates a new model for the editor.
Method setup_proxies A subclass can override this
Method on_on_sale_price__validate Undocumented

Inherited from BaseEditorSlave:

Method __init__ A base class for editor slaves inheritance
Method _setup_visual_mode Undocumented
Method setup_slaves A subclass can override this
Method on_cancel This is a hook method which must be redefined when some
Method on_confirm This is a hook method which must be redefined when some
Method update_visual_mode This method must be overwritten on child if some addition task in
Method validate_confirm Must be redefined by childs and will perform some validations
def create_model(self, conn):
Creates a new model for the editor. After this method is called, the model can be accessed as self.model. The default behavior is to raise a TypeError, which can be overridden in a subclass.
Parameterstransa database transaction
def setup_proxies(self):
A subclass can override this
def on_on_sale_price__validate(self, entry, value):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.