配置产品

Odoo 中的一组产品可通过以下方式进一步定义:

  • 计量单位(UoM):用于指定产品数量的标准量(如米、码、公斤)。可实现 Odoo 中测量系统之间的自动转换,如厘米到英尺。

    • 例如:购买以米为单位的布料,但从供应商那里收到的却是以码为单位的布料。

  • 配置/包裹:用于将产品组合在一起的物理容器,无论它们是否相同。

    • 例如:一个装有各种待运物品的箱子,或一个装有两百个纽扣的架子上的储藏箱。

  • 配置/包裹:将 相同 的产品组合在一起,按指定数量接收或出售。

    • 例如:一罐苏打水以六包、十二包或二十四包出售。

比较

本表提供了计量单位、包装和包装的详细比较,以帮助企业评估哪种最适合其要求。

功能

计量单位

包裹

包装

目的

产品单位的标准化测量(如厘米、磅、升)

追踪特定的物理容器及其内容物

将固定数量的物品组合在一起,便于管理(如 6、12 或 24 包)

产品一致性

为每个产品定义;在数据库中保存为一个 |UoM

允许混合产品

Same products only

弹性

Converts between vendor/customer UoMs and database UoM

Items can be added or removed from the container

Quantities are fixed (e.g., always packs of 6, 12 or 24)

Complexity

Simplest for unit conversions

More complex due to container-level inventory tracking

Simpler; suitable for uniform product groupings

库存追踪

Tracks product quantities within the warehouse in the specific UoM defined in the product form

Tracks package location and contents within the warehouse

Tracks grouped quantities but not individual items’ locations

Smooth barcode operations

不可用

Requires scanning both the package and individual items for reception. (even if there are 30 items in a package). Can enable the Move Entire Packages feature to update the package’s contained items’ locations, when moving the package

Scanning a packaging barcode automatically records all included units. (e.g. 1 pack = 12 units)

Product lookup

不可用

Scanning a product’s barcode identifies its typical storage location in the Odoo database

Barcode identifies grouped quantity, not storage location

Unique barcodes

不可用

Unique barcodes for individual packages (e.g. Pallet #12)

Barcodes set at the packaging type level (e.g. for a pack of 6)

Reusability

Not applicable

Can be disposable or reusable, configured via the Package Use field

Disposable only

Container weight

Not applicable

Weight of the container itself is included in the Shipping Weight field of a package (Inventory app ‣ Products ‣ Packages)

Weight of the container is defined in the Package Type settings

Lot/serial number tracking

Requires manual adjustments to track UoMs via lots (See use case for details)

Applies only to contained products

Applies to both contained products and the container

Custom routes

Cannot be set

Cannot be set

Routes can define specific warehouse paths for a particular packaging type

用例

After comparing the various features, consider how these businesses, with various inventory management and logistics workflows, came to their decision.

Pallets of items using packaging

某仓库接收以实体托盘运输的香皂货物,每托盘标准装载96块。这些托盘既用于内部调拨,也可作为独立销售单元。出于物流需求,对于某些货件,托拍的重量必须包含在总发货重量中。此外,托盘须配置专属条形码实现全链路追踪,并且到货验收时需同步登记香皂单品数量。

在对各种方案进行评估后,*产品包装*是最合适的解决方案。通过包装,可以为托盘分配一个条形码,将其识别为包含 96 块肥皂的”托盘类型”。该条形码可自动登记分组数量,从而简化操作。主要区别包括

  • 仓库追踪限制:Odoo 只追踪总数量,而不是容器数量。例如,如果收到一个包含 12 和 24 个数量的托盘,Odoo 会记录 36 个数量,而不是托盘的详细信息。

  • 包装条形码是特定类型的,不是唯一的:条形码代表包装类型(如 “96 块肥皂的托盘”),但不能唯一标识单个托盘,如 1 号托盘或 2 号托盘。

使用条形码捕获产品信息

Odoo 用户希望 智能条码 应用程序通过扫描容器的条形码,来显示产品的典型存放位置。

包裹*是最合适的。当 :ref:`启用 <inventory/warehouses_storage/enable-package>` 中的适当设置时,扫描包裹条形码会在 **智能条码* 应用程序中显示其内容。

包裹代表物理容器,可对其所装物品进行详细追踪。扫描包裹可以查看其中的物品,方便库存移动等操作。

追踪存储中的不同计量单位

以一家果汁经销商为例,在运营时需要追踪多个计量单位:

  • 水果以吨为单位采购。

  • 果汁以千克为单位生产和存储。

  • 用于配方测试的小样品以克为单位存储。

“计量单位”是最合适的解决方案。Odoo 系统在收货时会自动将吨转换为千克。但是,由于 Odoo 数据库中每种产品只能追踪一种计量单位,因此公司使用批号来区分不同的计量单位。

  • 批次1:克(g)

  • 批次2:千克(kg)

批次之间的转换需要手动调整库存,例如从批次2中减去 1 kg,再向批次1中添加 1 kg。这种工作方法虽然实用,但耗时且容易出错。