重新排序规则¶
重新排序规则用于将预测的库存水平保持在某个临界值以上,同时又不超过指定的上限。具体做法是指定库存不得低于的最低数量和不得超过的最高数量。
您可根据补货路线,为每种产品配置重新订购规则。如果产品使用*采购*路线,则在触发重新订购规则时会创建一个询价单 (RFQ)。如果产品使用*制造*途径,则会创建制造订单。无论选择哪种补货途径,情况都是如此。
为重新排序规则配置产品¶
In order to use reordering rules for a product, it must first be correctly configured. Begin by navigating to Inventory –> Products –> Products, then select an existing product, or create a new one by clicking Create.
First, on the General Information tab, make sure that the Product Type is set to Storable Product. This is necessary because Odoo only tracks stock quantities for storable products, and this number is used to trigger reordering rules.
接下来,点击 库存 选项卡,并从 路径 部分选择一个或多个路径。这样,Odoo 就会知道使用哪条路线补充产品。
如果使用 购买 途径重新订购产品,请确认产品名称下的 可购买 复选框已启用。这样就会出现 采购`选项卡。点击:guilabel:`采购 选项卡,指定至少一个供应商及其产品售价,以便 Odoo 知道应从哪家公司购买产品。
如果使用 制造路径对产品进行补货,则该产品至少需要有一个与之相关的物料清单(BoM)。这一点很有必要,因为 Odoo 只为有 :abbr:`BoM(物料清单) 的产品创建生产订单。
If a BoM does not already exist for the product, select the Bill of Materials smart button at the top of the product form, then click Create to configure a new BoM.
创建新的重新排序规则¶
To create a new reordering rule, navigate to , then click Create, and fill out the new line as follows:
产品:规则补充的产品。
位置:存储产品的位置。
最小数量:在不触发规则的情况下可预测的最小数量。当预测库存低于此数量时,将创建该产品的补货订单。
最大数量:库存补充的最大数量。
多个数量:指定产品是否应按一定数量分批补充(例如,可按 20 个产品分批补充)。
UoM:用于重新订购产品的度量单位。该值可以是
单位,也可以是重量、长度等的特定计量单位。
小技巧
也可在每个产品表单中创建重新排序规则。要执行此操作,请进入 ,然后选择一个产品。点击 ,然后如上所述填写新行。
一旦为产品创建了重新订购规则,如果在计划程序运行时其预测数量低于规则的最小数量,就会自动生成该产品的补货订单。默认情况下,计划器每天运行一次。
小技巧
要在调度程序运行前手动触发重新排序规则,请选择 。然后,在弹出窗口中选择绿色的 运行调度程序 按钮。请注意,这也会触发任何其他计划的操作。
如果选择了:guilabel:购买`路线,将生成一个`RFQ(询价请求)。要查看和管理:abbr:RFQ(询价单),请导航到“采购-> 订单-> 询价单`。
如果选择了 制造 路线,则会生成 : abbr:MO (制造订单)。要查看和管理 MO(制造订单),请导航至 。
Set a preferred route for reordering¶
Odoo 允许在每个产品表单的 库存 选项卡下选择多个路径。例如,可以同时选择 购买 和 制造,从而启用两种途径的功能。
Odoo also enables users to set a preferred route for a product’s reordering rule. This is the route that the rule defaults to if multiple are selected. To select a preferred route, begin by navigating to .
By default, the Preferred Route column is hidden on the Reordering Rules page. Enable it by selecting the ⋮ (three-dot) option button on the right side of the page and checking the Preferred Route checkbox. Doing so reveals the Preferred Route column.
Click inside of the column on the row of a reordering rule and a drop-down menu shows all available routes for that rule. Select one to set it as the preferred route.
重要
如果产品启用了多个路线,但没有为其重新排序规则设置首选路线,则会使用产品表单的 库存 选项卡上最先列出的选定路线对产品重新排序。