Cédric Krier 983a6282fd Enforce the same category of UoM between invoice lines and origin
The origin lines compute the remaining quantity by converting the move quantity
to the origin unit. So they must have the same category of UoM.

issue9142
review285011002
2020-03-17 23:26:58 +01:00
2017-03-16 18:33:07 +01:00
2018-08-19 20:02:58 +02:00
2019-11-02 18:07:43 +01:00
2019-09-28 23:59:09 +02:00
2020-03-01 12:33:53 +01:00
2020-03-01 12:33:53 +01:00
2019-11-04 13:04:57 +01:00
2019-05-06 15:09:11 +02:00
2008-09-24 15:02:29 +02:00
2019-12-14 10:47:54 +01:00
2013-03-11 16:29:18 +01:00
2020-03-01 12:33:53 +01:00
2020-02-23 13:56:58 +01:00
2020-03-01 12:33:53 +01:00
2019-04-07 19:50:04 +02:00
2019-11-04 13:05:08 +01:00

Purchase Module
###############

The purchase module defines the Purchase model.


Purchase
********

The purchase is mainly defined by a party from which the products will
be purchased and a list of purchase lines, each one containing a
product and a quantity. Here is the extensive list of the fields, most
of them are optional or completed with sensible default values:

- Party: The supplier.
- Invoice Address: The invoice address of the supplier.
- Supplier Reference: Allow to keep track of the supplier reference
  for this order.
- Description: An optional description for the order.
- Number: The internal reference of the purchase (will be generated
  automatically on confirmation).
- Reference: The optional external reference of the order.
- Purchase Date: The date the purchase is made.
- Payment Term: Define which payment term will be use for the future
  invoice.
- Warehouse: Define the warehouse where the shipment will be made.
- Currency: define the currency to use for this purchase. All product
  prices will be computed accordingly.
- Purchase Lines:

  - Type: The type of the line. The default value is *Line* which
    means that the current purchase line contains the fields defined
    hereunder. The other values of Type (*Comment*, *Subtotal*,
    *Title*) are used to add extra lines that will appear on the
    report, thus allowing to easily customise it.
  - Sequence: Allow to order lines. The value of this field is also
    updated with a drag and drop between the lines.
  - Product: An optional reference to the product to purchase.
  - Description: The description of the product to purchase.
  - Quantity: The quantity to purchase.
  - Unit: The unit of measure in which is expressed the quantity.
  - Unit Price: The unit price of the product expressed in the
    currency of the purchase.
  - Amount: The amount of the current line (Unit Price multiplied by
    Quantity).
  - Delivery Date: The computed date at which the product is expected to be
    delivered.
  - Taxes: The list of taxes that will be applied to the current line.

- Invoice State: The state of the invoice related to the purchase.
- Shipment State: The state of the shipment related to the purchase.
- Untaxed: The untaxed amount.
- Tax: The tax amount.
- Total: The total amount.
- State: The state of the purchase. May take one of the following
  values: Draft, Quotation, Confirmed, Cancelled.
- Company: The company which issue the purchase order.
- Invoice Method: May take one of the following values:

  - Base on order: The invoice is created when the purchase order is confirmed.
  - Base on shipment: The invoice is created when the shipment is
    received and will contains the shipped quantities. If there are
    several shipments for the same purchase, several invoices will be
    created.
  - Manual: Tryton doesn't create any invoice automatically.

- Comments: A text fields to add custom comments.
- Invoices: The list of related invoices.
- Moves: The list of related stock moves.
- Shipments: The list of related shipments.
- Return Shipments: The list of the related shipment returns. If a Supplier
  Return location is defined on warehouse it will be used on return shipments
  as origin location. Otherwise the warehouse storage location will be used.

The *Purchase* report allow to print the purchase orders or to send
them by mail.
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
389 MiB
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%