Skip to Content
Menu
This question has been flagged
1 Odpoveď
4090 Zobrazenia

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?

Avatar
Zrušiť
Best Answer

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.

Avatar
Zrušiť
Autor

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.