Product Code Based On Categories In Odoo

odoo 10
  • by bista-admin
  • May 30, 2017
  • 0
  • Category:

What is Product Code?

The Product Category is used to define the default expense and income accounts (and stock accounts for valuation). And in Product Category, we can define product code. That code is used in various organizations to define and identify their products easily while trading with it. So just by seeing the product code the person can identify it quickly to which category of product it belongs to.

Product Code is also called as internal reference reason being in Warehouse module of Odoo we have stocks. These stocks are stored at a physical location in a Warehouse. A product is stored somewhere within a shelf > row > rack > bin in the following manner mentioned and may also vary from Warehouse owner to owner. So if a product is referenced by supposing WSA123, which may mean in this case as Warehouse Shelf: A   Row: 1  Rack: 2  Bin: 3

So that product referenced with this product code WSA123 can be quickly located by the warehouse user at the place without any hassle by traversing to the mentioned bin after obtaining the product code.

How do we create Product Code in Odoo?

Suppose there is a retailer store for Electronics which sells various products like Mobile Phones, Televisions, Tablet, Desktops, Laptops etc. So from these products, we take one of them.

For eg : Electronics > Tablet > Android Tablet > 16 GB

We’ ll go on to create a Tablet with this category. First, we need to create a category for this product in our case it will be “Electronics” with no parent category as this is the main category.


Then we’ll create an another category under this electronics category called “Tablets” under this category keeping parent category as “Electronics”.


Next, we go on to create another subcategory under Tablets i.e “Android Tablets” keeping tablets as the parent category here.


So finally we move on to create a 16 GB Android Tablet product under this category which will be given a specific product code to identify and remains unique among other products. For creating a product we go to Products menu and create a new product.


Here we provide the product name, and mainly a product code(also called as internal reference) and this Product Code E024 will be unique to this product mentioned under this Electronics/Tablets/Android Tablets category.

So to outline we can state that Product Code is an essential basic part from the aspect of product identification to recognize every single item uniquely and be trackable in the more proficient way.

Please feel free to reach us at for any queries on odoo and its related modules. Also, you can write us through and tell us how this information has helped you.