Class s.d.v.SellableFullStockView(Viewable):

Part of stoqlib.domain.views View In Hierarchy

Stores information about products. This view is used to query stock information on a certain branch.
Class Variablesidthe id of the asellable table
barcodethe sellable barcode
statusthe sellable status
costthe sellable cost
pricethe sellable price
descriptionthe sellable description
unitthe unit of the product or None
product_idthe id of the product table or None
branch_idthe id of person_adapt_to_branch table or None
stockthe stock of the product or None
Class Method select_by_branch Undocumented
@classmethod
def select_by_branch(cls, query, branch, having=None, connection=None):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.