Class s.g.w.s.StockTransferProductStep(SellableItemStep):

Part of stoqlib.gui.wizards.stocktransferwizard View In Hierarchy

Undocumented
Method __init__ A base class for editor slaves inheritance
Method setup_sellable_entry Undocumented
Method get_saved_items Undocumented
Method get_order_item Undocumented
Method get_columns Undocumented
Method _get_stock_quantity Undocumented
Method _get_total_quantity Undocumented
Method _setup_summary Undocumented
Method sellable_selected This will be called when a sellable is selected in the combo.
Method post_init Undocumented
Method next_step Undocumented

Inherited from SellableItemStep:

Method hide_add_button Hides the add button
Method hide_edit_button Hides the edit button
Method get_quantity Returns the quantity of the current model or 1 if there is no model
Method get_model_item_by_sellable Returns a model instance by the given sellable.
Method on_product_button__clicked Undocumented
Method validate Undocumented
Method setup_proxies A subclass can override this
Method setup_slaves A subclass can override this
Method _refresh_next Undocumented
Method _add_sellable Undocumented
Method _update_list Undocumented
Method _reset_sellable Undocumented
Method _update_total Undocumented
Method _on_list_slave__before_delete_items Undocumented
Method _on_list_slave__after_delete_items Undocumented
Method _on_list_slave__add_item Undocumented
Method _on_list_slave__edit_item Undocumented
Method on_add_sellable_button__clicked Undocumented
Method on_sellable__activate Undocumented
Method on_sellable__content_changed Undocumented
Method on_quantity__activate Undocumented
Method on_quantity__validate Undocumented
Method on_cost__activate Undocumented
Method on_cost__validate Undocumented

Inherited from BaseEditorSlave (via SellableItemStep, WizardEditorStep):

Method _setup_visual_mode Undocumented
Method create_model Creates a new model for the editor.
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, wizard, conn, model):
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_sellable_entry(self):
Undocumented
def get_saved_items(self):
Undocumented
def get_order_item(self, sellable, cost, quantity):
Undocumented
def get_columns(self):
Undocumented
def _get_stock_quantity(self, item):
Undocumented
def _get_total_quantity(self, item):
Undocumented
def _setup_summary(self):
Undocumented
def sellable_selected(self, sellable):
This will be called when a sellable is selected in the combo. It can be overriden in a subclass if they wish to do additional logic at that point
Parameterssellablethe selected sellable
def post_init(self):
Undocumented
def next_step(self):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.