保留方式¶
向客户销售和交付货物的公司需要确保始终备有存货,以便在确认新的销售订单时能够及时交付产品。
在 Odoo 中,可以使用*预订方法*来处理这个问题。预订方法控制交货订单(DO)中包含的产品应如何预订交货,确保在正确的时间为正确的订单预订产品。
Odoo 中有三种不同的预订方法: 确认时、手动操作*和*预定日期前。
只有 在确认销售订单 和 已有库存的情况下,才保留产品。
报价一经确认,必须 手动检查产品供应情况,必须 手动预订所需数量。
可以选择特定的天数;这是在预定交货日期**之前**应预订产品的最长天数。
配置¶
预订方法在单个操作类型中设置。要配置预订方法,请转到 新建 ,创建一个新的操作类型。
。然后,选择所需的操作类型。或点击In the General tab of the operation type form, locate the Reservation Method option, and choose which method should be used for this type of operation.

小技巧
If the Before scheduled date reservation method is selected, a new
Reserve before scheduled date field appears below. From this field, the number of
days before and days before when starred can be changed from the default
0
.
Changing the days before value changes the maximum number of days before a scheduled date that products should be reserved.
Changing the days before when starred value changes the maximum number of days before a scheduled date that starred (favorited) transfers for products should be reserved.

Required applications¶
The two required applications that must be installed to use reservation methods are the Sales and Inventory apps.
注解
除交货订单外,如果需要,预订方法还可用于 制造订单 、委外商补货 订单、 维修 订单和 内部调拨 。要启用此功能,请配置附加设置:
For manufacturing orders: Install the Manufacturing application by going to the Install.
application, locating the Manufacturing app, and clicking对于委外服务商: 导航至 操作 部分下启用 委外 。然后,点击 保存 。
,并在For repairs: Install the Repairs application by going to the Install.
application, locating the Repairs app, and clickingFor internal transfers: Navigate to Warehouse section, enable Storage Locations. Then, click Save.
, and under the
安装这些应用程序后,无需从设置中启用其他功能即可使用预订方法。它们默认在某些操作类型中可用,可通过导航至
,然后点击特定操作类型进行查看和更改。注解
当 操作类型 表单上的 操作类型 更改为 收货单 时,预订方法将**不**可用。
