templates Package¶
templates
Package¶
companytemplate
Module¶
Company template editor
-
class
stoqlib.gui.templates.companytemplate.
CompanyDocumentsSlave
(store, model=None, visual_mode=False, edit_mode=None)[source]¶ Bases:
stoqlib.gui.editors.baseeditor.BaseEditorSlave
-
model_type
¶ alias of
Company
-
gladefile
= 'CompanyDocumentsSlave'¶
-
proxy_widgets
= ('cnpj', 'fancy_name', 'state_registry', 'city_registry')¶
-
-
class
stoqlib.gui.templates.companytemplate.
CompanyEditorTemplate
(store, model=None, person_slave=None, visual_mode=False)[source]¶ Bases:
stoqlib.gui.editors.baseeditor.BaseEditorSlave
-
model_type
¶ alias of
Company
-
gladefile
= 'BaseTemplate'¶
-
individualtemplate
Module¶
Individual edition template slaves implementation.
-
class
stoqlib.gui.templates.individualtemplate.
IndividualEditorTemplate
(store, model=None, person_slave=None, visual_mode=False)[source]¶ Bases:
stoqlib.gui.editors.baseeditor.BaseEditorSlave
-
model_type
¶ alias of
Individual
-
gladefile
= 'BaseTemplate'¶
-
persontemplate
Module¶
Templates implementation for person editors.
-
class
stoqlib.gui.templates.persontemplate.
BasePersonRoleEditor
(store, model=None, role_type=None, person=None, visual_mode=False, parent=None, document=None, description=None)[source]¶ Bases:
stoqlib.gui.editors.baseeditor.BaseEditor
A base class for person role editors. This class can not be instantiated directly.
Attribute main_slave: Attribute individual_slave: Attribute company_slave: Variables: help_section – the help button for this wizard, usually describing how to create a new person -
size
= (-1, -1)¶
-
help_section
= None¶
-
ui_form_name
= None¶
-
need_cancel_confirmation
= True¶
-