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

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

Known subclasses: stoqlib.gui.slaves.categoryslave.CategoryTributarySituationSlave

This is base slave for tributary taxes applied to product, service and it's category if any.
Method __init__ A base class for editor slaves inheritance
Method setup_combos The child class must fill the combo
Method _update_tax_value Undocumented
Method setup_proxies A subclass can override this
Method on_tax_constant__changed Undocumented

Inherited from BaseEditorSlave:

Method _setup_visual_mode Undocumented
Method create_model Creates a new model for the editor.
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 __init__(self, conn, model=None):
A base class for editor slaves inheritance
Parametersconna connection
modelthe object model tied with the proxy widgets
visual_modedoes this slave must be opened in visual mode? if so, all the proxy widgets will be disable
def setup_combos(self):
The child class must fill the combo
def _update_tax_value(self):
Undocumented
def setup_proxies(self):
A subclass can override this
def on_tax_constant__changed(self, combo):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.