Class s.d.t.TransferOrder(Domain):

Part of stoqlib.domain.transfer View In Hierarchy

Transfer Order class
Instance Variablesopen_dateThe date the order was created
receival_dateThe date the order was received
source_branchThe branch sending the stock
destination_branchThe branch receiving the stock
source_responsibleEmployee responsible for the transfer at source branch
destination_responsibleEmployee responsible for the transfer at destination branch
Method get_items Undocumented
Method add_item Undocumented
Method remove_item Undocumented
Method can_close Undocumented
Method send_item Sends a product of this order to it's destination branch
Method receive Confirms the receiving of the transfer order
Method get_source_branch_name Returns the source branch name
Method get_destination_branch_name Returns the destination branch name
Method get_source_responsible_name Returns the name of the employee responsible for the transfer
Method get_destination_responsible_name Returns the name of the employee responsible for the transfer
Method get_total_items_transfer Retuns the transfer items quantity or zero if there is no

Inherited from Domain:

Method __init__ Undocumented
Method _create Undocumented
Method user Undocumented
Class Method iselect Like select, but search on the adapter implementing the interface iface
Class Method iselectBy Like selectBy, but search on the adapter implementing the interface iface
Class Method iselectOne Like selectOne, but search on the adapter implementing the interface iface
Class Method iselectOneBy Like selectOneBy, but search on the adapter implementing the interface iface
Class Method iget Like get, but gets on the adapter implementing the interface iface

Inherited from AbstractModel (via Domain, BaseDomain):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method _SO_setValue Undocumented
Method clone Get a persistent copy of an existent object. Remember that we can
Method get_connection Undocumented

Inherited from AdaptableORMObject (via Domain):

Class Method registerFacet Registers a facet for class cls.

Inherited from Adaptable (via Domain, AdaptableORMObject):

Class Method getFacetType Fetches a facet type associated with an interface, or raise
Class Method getFacetTypes Returns facet classes for this object
Method addFacet Adds a facet implementing iface for the current object
Method removeFacet Removes a facet from the current object
Method getFacets Gets a list of facets assoicated with the current object.
def get_items(self):
Undocumented
def add_item(self, item):
Undocumented
@argcheck(TransferOrderItem)
def remove_item(self, item):
Undocumented
def can_close(self):
Undocumented
@argcheck(TransferOrderItem)
def send_item(self, transfer_item):
Sends a product of this order to it's destination branch
def receive(self, receival_date=None):
Confirms the receiving of the transfer order
def get_source_branch_name(self):
Returns the source branch name
def get_destination_branch_name(self):
Returns the destination branch name
def get_source_responsible_name(self):
Returns the name of the employee responsible for the transfer at source branch
def get_destination_responsible_name(self):
Returns the name of the employee responsible for the transfer at destination branch
def get_total_items_transfer(self):
Retuns the transfer items quantity or zero if there is no item in transfer
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.