Part of stoqlib.domain.inventory View In Hierarchy
| Instance Variables | product | the item |
| recorded_quantity | the recorded quantity of a product | |
| actual_quantity | the actual quantity of a product | |
| product_cost | the product's cost when the product was adjusted. | |
| inventory | the inventory process that contains this item | |
| cfop | the cfop used to adjust this item, this is only set when an adjustment is done | |
| reason | the reason of why this item has been adjusted |
| Method | _add_inventory_fiscal_entry | Undocumented |
| Method | adjust | Create an entry in fiscal book registering the adjustment |
| Method | adjusted | Returns True if the item have already been adjusted, |
| Method | get_code | Returns the product code |
| Method | get_description | Returns the product description |
| Method | get_fiscal_description | Returns a description of the product tax constant |
| Method | get_unit_description | Returns the product unit description or None if it's not set |
| Method | get_adjustment_quantity | Returns the adjustment quantity, the actual quantity minus |
| Method | get_total_cost | Returns the total cost of this item, the actual quantity multiplied |
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. |