Configure reordering rules

对于某些产品,有必要确保随时都有最低库存量。通过为产品添加重新订购规则,可以实现重新订购流程的自动化,从而在库存量低于设定阈值时自动创建采购订单。

重要

必须安装 库存 模块才能使用重新排序规则。

配置产品以重新订购

必须以特定方式配置产品,才能为其添加重新排序规则。

库存制造采购`或 :menuselection:`销售 模块开始,导航至 产品 ‣ 产品 并点击 创建,以创建新产品。或者,查找数据库中已存在的产品,然后点击产品表单。

接下来,在产品表单中,选中 可以采购 选项,在 产品名称 字段下启用重新订购。最后,在:guilabel:常规信息`选项卡下将:guilabel:`产品类型`设置为`可储存产品

在 Odoo 中配置产品以便重新订购。

为产品添加重新排序规则

正确配置产品后,可通过选择产品表单顶部现在可见的 重新排序规则 选项卡,然后点击:guilabel:重新排序规则 面板上的 创建 来添加重新排序规则。

从 Odoo 产品页面访问产品的重新排序规则。

创建后,可通过定义以下字段配置重新订购规则,以自动生成订购单:

  • 位置 指定收到订购数量并将其入库后的存储位置。

  • 最小数量 设置重新订购规则的下限,而 最大数量 设置上限。如果库存低于最小数量,将创建新的采购订单,以补充到最大数量。

    Example

    如果 最小数量 设置为 5最大数量 设置为 25,并且现有库存数量下降到四个,将创建一个包含该产品 21 个单位的采购订单。

  • 可以对 多个数量 进行配置,使产品只能按一定数量分批订购。根据输入的数量,这可能导致创建的采购订单会使库存超过 最大数量 字段中指定的数量。

    Example

    如果 最大数量 设置为`100`,但 多个数量 设置为分批订购产品`200`,则将创建一个包含该产品 200 个单位的采购订单。

  • UoM 指定订购数量的计量单位。对于离散产品,应设置为`单位`。但是,对于水或砖块等非离散产品,也可以设置为`体积`或`重量`等计量单位。

在 Odoo 中配置重新排序规则。

Manually trigger reordering rules using the scheduler

Reordering rules will be automatically triggered by the scheduler, which runs once a day by default. To trigger reordering rules manually, navigate to Inventory ‣ Operations ‣ Run Scheduler. On the pop-up window, confirm the manual action by clicking Run Scheduler.

備註

Manually triggering reordering rules will also trigger any other scheduled actions.

Manage reordering rules

To manage the reordering rules for a single product, navigate to that product page’s form and select the Reordering Rules tab at the top of the form.

To manage all reordering rules for every product, go to Inventory ‣ Configuration ‣ Reordering Rules. From this dashboard, typical bulk actions in Odoo can be performed such as exporting data or archiving rules that are no longer needed. As well, the Filters, Group By or triple-dotted menu on the form are available to search for and/or organize the reordering rules as desired.