Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to handle product variants without creating new products?

Doron Tohar
on 10/1/13, 10:33 AM 897 views

Hi, I am trying to model a company that purchase ads or commercials in different media for its customers. For example, ads in a specific newspaper or a commercial in a radio station.

An ad in a newspaper has certain properties associated with it (the newspaper, size of the ad, etc.) and a commercial in a radio station has different properties (the station, length of the commercial, time of day of broadcast).

My current model treats each newspaper and radio station as a product, or service.

I don't know what to do with the ad's properties. I don't want to add them as product variants because I don't want to have many products, e.g. commercial-on-station-1, commercial-on-station-2, etc. I want the user to select a media (newspaper or radio) and then the specific properties - if she selected radio then he selects station, length, broadcast time.

How can I handle this without creating many products? Is there some other object in OpenERP that is better suited than product?



| 6 5 8
United Kingdom
On 10/1/13, 12:03 PM

Not seen any direct way but...

You could create a new field within product called something like version, making it compulsary eg size 5, size 6 .... Dont know how this would pan out to different prices though.

You could just duplicate the product and use the Internal Reference for the version, I think this would be a safer relating to using other modules eg MRP, Purchase Management, especially because you order 5 t-shirts size 5 and 2 t-shirts size 7, they are different products, different stock levels, might even be different lead times, etc, etc - I guess this option will save you a lot of coding! I would KISS.

Thanks for the reply. Not exactly what I wanted but maybe you pointed me to a new direction. I'll rephrase my question with a better example.

Doron Tohar
on 10/1/13, 2:28 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 10/1/13, 10:33 AM
Seen: 897 times
Last updated: 3/16/15, 8:10 AM