Class s.g.w.p.PurchaseItemStep(SellableItemStep):

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

Known subclasses: stoqlib.gui.wizards.purchasequotewizard.QuoteItemsStep

Wizard step for purchase order's items selection
Method _set_expected_receival_date Undocumented
Method setup_sellable_entry Undocumented
Method setup_slaves A subclass can override this
Method validate Undocumented
Method get_order_item Undocumented
Method get_saved_items Undocumented
Method sellable_selected This will be called when a sellable is selected in the combo.
Method get_columns Undocumented
Method post_init Undocumented
Method next_step Undocumented
Method _validate_sellable_cost Undocumented
Method _get_supplier_minimum_quantity Undocumented
Method _on_sellable__content_changed Undocumented
Method _on_cost__validate Undocumented
Method _on_quantity__validate Undocumented

Inherited from SellableItemStep:

Method __init__ A base class for editor slaves inheritance
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 setup_proxies A subclass can override this
Method _setup_summary Undocumented
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 _set_expected_receival_date(self, item):
Undocumented
def setup_sellable_entry(self):
Undocumented
def setup_slaves(self):
A subclass can override this
def validate(self, value):
Undocumented
def get_order_item(self, sellable, cost, quantity):
Undocumented
def get_saved_items(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 get_columns(self):
Undocumented
def post_init(self):
Undocumented
def next_step(self):
Undocumented
def _validate_sellable_cost(self):
Undocumented
def _get_supplier_minimum_quantity(self):
Undocumented
def _on_sellable__content_changed(self, widget):
Undocumented
def _on_cost__validate(self, widget, value):
Undocumented
def _on_quantity__validate(self, widget, value):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.