Part of stoqlib.domain.receiving View In Hierarchy
Instance Variables | status | status of the order |
receival_date | Date that order has been closed. | |
confirm_date | Date that order was send to Stock application. | |
notes | Some optional additional information related to this order. | |
freight_total | Total of freight paid in receiving order. | |
surcharge_value | ||
discount_value | Discount value in receiving order's payment. | |
secure_value | Secure value paid in receiving order's payment. | |
expense_value | Other expenditures paid in receiving order's payment. | |
invoice_number | The number of the order that has been received. | |
Class Variables | STATUS_PENDING | Products in the order was not received or received partially. |
STATUS_CLOSED | All products in the order has been received then the order is closed. |
Method | _create | Undocumented |
Method | confirm | Undocumented |
Method | update_payments | Updates the payment value of all payments realated to this |
Method | _create_freight_payment | Undocumented |
Method | get_items | Undocumented |
Method | remove_items | Undocumented |
Method | remove_item | Undocumented |
Method | receiving_number | Undocumented |
Method | group | Undocumented |
Method | payments | Undocumented |
Method | get_cfop_code | Undocumented |
Method | get_transporter_name | Undocumented |
Method | get_receiving_number_str | Undocumented |
Method | get_branch_name | Undocumented |
Method | get_supplier_name | Undocumented |
Method | get_responsible_name | Undocumented |
Method | get_products_total | Undocumented |
Method | get_order_number | Undocumented |
Method | get_receival_date_str | Undocumented |
Method | _get_total_surcharges | Returns the sum of all surcharges (purchase & receiving) |
Method | _get_total_discounts | Returns the sum of all discounts (purchase & receiving) |
Method | get_total | Fetch the total, including discount and surcharge for both the |
Method | _get_percentage_value | Undocumented |
Method | _set_discount_by_percentage | Sets a discount by percentage. |
Method | _get_discount_by_percentage | Undocumented |
Method | _set_surcharge_by_percentage | Sets a surcharge by percentage. |
Method | _get_surcharge_by_percentage | Undocumented |
Inherited from ValidatableDomain:
Method | set_valid | Undocumented |
Method | set_invalid | Undocumented |
Method | get_valid | Undocumented |
Class Method | select | Undocumented |
Class Method | selectBy | Undocumented |
Class Method | selectOne | Undocumented |
Class Method | selectOneBy | Undocumented |
Inherited from Domain (via ValidatableDomain):
Method | __init__ | 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 ValidatableDomain, 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 ValidatableDomain, Domain):
Class Method | registerFacet | Registers a facet for class cls. |
Inherited from Adaptable (via ValidatableDomain, 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. |
Parameters | create_freight_payment | True if we should create a new payment with the freight value, False otherwise. |