Skip to Content

Contributors

Re: Best model for selling unique products (used machines)

Dear all, thanks for all the input.

Am 26.08.20 um 09:52 schrieb Roussel, Denis:

> From my point of view and from near experience of customer of ours, we advise as some said to not change too much the Odoo base objects purpose as, along project life, you'll need to twist all the Odoo flows to adapt to your changes. 

That’s interesting, because that’s the main thing I am thinking about:
Which approach will break the most/need the most customization?

What flows do you think of exactly?

In my use case I only intend to add informative information to the
products, so my current impression is, that using products will give me
all the flows I need out of the box, while `stock.production.lot` will
be at least a bit cumbersome in the UI for users and need customizations
to make it work as expected for the user. (E.g. I think one would expect
the sold machine (lot) named on the invoice)


> As Graeme said, the lots are the good place to extend modelization for one product instance.
Ok. This seams to be somewhat common sence among the list.


Ok. I think I don’t need to bother you anymore but just make a decision.

So to get to more concrete question:
What could be possibly go wrong using product.product?
What do you expect to break?

The only thing I can think off that would be strange is, if they one day
decide to sell something completly different things too. Than all the
machine specific information won’t make much sense.

by Pete Hahn - 10:10 - 26 Aug 2020

Reference

  • Best model for selling unique products (used machines)
    Hello,
    
    I have a hard time to decide which Odoo model to use for selling unique
    products.
    
    The products are used machines. So in general one could think of a
    generic product with manufacturer and model and a certain instance of it.
    But since these are used items, they come with a lot of customizations
    and other instance specific attributes like operation hours etc.
    So it’s more like the product == instance.
    
    We thought about using `product.product` for the brand/model and
    `stock.production.lot` for the instance, but after some research in the
    odoo v12 code I'm not sure if this is really the best option.
    
    To me it looks like `stock.production.lot` is more about tractability of
    instance of generic products **after** they have been sold, since
    `stock.production.lot`  is very tightly tied to stock operations.
    
    We need to have product instances already during the whole CRM, Quote,
    SaleOrder process. I don’t see how to easily put `stock.production.lot`
    on `sale.order.lines`.
    
    The other option would be just going for `product.product` and assume
    product == product instance.
    
    I’m not really sure about benefits/drawbacks or maybe other/better
    approaches.
    
    
    Please give me your opinions about what model is best to use as a base
    for selling unique items in odoo.
    
    Thanks. Regards, Peter
    

    by Pete Hahn - 03:36 - 21 Aug 2020