Object: Purchase order (purchase.order)
Reference of the document that generated this purchase order request.
order_line: | Order Lines, one2many |
invoiced_rate: | Invoiced, float, readonly |
partner_address_id: |
| Address, many2one, required |
date_order: | Date, date, required |
Date on which this document has been created.
partner_id: | Supplier, many2one, required |
invoiced: | Invoiced & Paid, boolean, readonly |
dest_address_id: |
| Destination Address, many2one |
Put an address if you want to deliver directly from the supplier to the customer. In this case, it will remove the warehouse link and set the customer location.
fiscal_position: |
| Fiscal Position, many2one |
amount_untaxed: | Untaxed Amount, float, readonly |
location_id: | Destination, many2one, required |
amount_tax: | Taxes, float, readonly |
state: | Order Status, selection, readonly |
The state of the purchase order or the quotation request. A quotation is a purchase order in a ‘Draft’ state. Then the order has to be confirmed by the user, the state switch to ‘Confirmed’. Then the supplier must confirm the order to change the state to ‘Approved’. When the purchase order is paid and received, the state becomes ‘Done’. If a cancel action occurs in the invoice or in the reception of goods, the state becomes in exception.
pricelist_id: | Pricelist, many2one, required |
The pricelist sets the currency used for this purchase order. It also computes the supplier price for the selected products/quantities.
warehouse_id: | Warehouse, many2one |
shipped_rate: | Received, float, readonly |
partner_ref: | Partner Ref., char |
picking_ids: | Picking List, one2many, readonly |
This is the list of picking list that have been generated for this purchase
date_approve: | Date Approved, date, readonly |
amount_total: | Total, float, readonly |
name: | Order Reference, char, required |
invoice_id: | Invoice, many2one, readonly |
invoice_method: | Invoicing Control, selection, required |
From Order: a draft invoice will be pre-generated based on the purchase order. The accountant will just have to validate this invoice for control.
From Picking: a draft invoice will be pre-generated based on validated receptions.
Manual: no invoice will be pre-generated. The accountant will have to encode manually.
shipped: | Received, boolean, readonly |
validator: | Validated by, many2one, readonly |
minimum_planned_date: |
| Planned Date, datetime |
This is computed as the minimum scheduled date of all purchase order lines’ products.