Part of stoqlib.gui.wizards.stocktransferwizard View In Hierarchy
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 |
Parameters | conn | a connection |
model | the object model tied with the proxy widgets | |
visual_mode | does this slave must be opened in visual mode? if so, all the proxy widgets will be disable |
Parameters | sellable | the selected sellable |