odoo 10 生产自动领料
分析源码
case 1, 当 原材料的 所有的路线中,有 补货规则 符合 “补货位置” location_id 是 原材料移动 “目标位置 ” 【虚拟生产】, “来源位置” location_src_id 是 原材料移动 “来源位置 ”【 工艺production Location 或 生产单原材料位置】 , 并且 补货规则 是 MTO,那么 原材料移动 将使用 MTO 生成方式
case 2, 当没有符合上面条件的 补货规则, 但是 原材料 勾选了 MTO 路线, 那么 原材料移动 也将使用 MTO 生成方式
测试 case 1.
为了使用 MTO, 建立一个 投料的 补货规则, 补货位置 【虚拟生产】,来源位置 【工艺生产位置】
转载注明原作者 /by Jeffery