产品和产品模板在Odoo 10中 [英] Product and product template in Odoo 10

查看:329
本文介绍了产品和产品模板在Odoo 10中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Odoo中的Product Master需要两个不同的表吗? product.product和product.template有何不同?

What is the need for two different tables for Product Master in Odoo ? How product.product and product.template differ ?

推荐答案

由于产品的不同,Odoo有两种产品的模型/表:

Odoo has two models/tables for products because of product variants:

  • product.product包含变体级别信息.
  • product.template包含与所有变体相同的信息.

您可以在Odoo中使用产品变体,方法是在销售/设置"中打开产品可以具有多个属性,定义变体".带有变体的product.template包含主要产品(例如T恤),product.product包含变体(例如T恤尺寸M,T恤尺寸L,...).

You can use product variants in Odoo by turning on "Products can have several attributes, defining variants" in Sales / Settings. With variants the product.template contains the main product (e.g. T-Shirt) and product.product contains the variants (e.g. T-Shirt size M, T-Shirt size L,...).

如果不使用变体,则这两个模型和表的内容几乎相同.

If you do not use variants, these two models and tables have almost the same content.

您可以从 https:中找到有关Odoo产品变体的更多信息: //www.odoo.com/documentation/user/10.0/ecommerce/managing_products/variants.html .

这篇关于产品和产品模板在Odoo 10中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆