Contributors mailing list archives

Browse archives


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

InitOS GmbH, Pete Hahn
- 24/08/2020 13:14:58
Hi David,

thanks for your suggestion. I didn’t knew the module.

I’m still not really convinced using serial numbers is the right thing
here in general.
Sure it would be for smart phones and stuff like this, but I would
really like to hear opinions about what problems may arise in case of
just using `product.product`.

At first glance this seams to be way more simple. Especially I think
it’s intuitive for the users because in their business mindset they
don’t think of _machines_ and _instances of machines_ but just a
specific _machine_ from their list.

Our use case to me looks more like being the base machine a
`product.template` and the unique machine a `product.product`.

However I wouldn’t use all the `product.attribute` machinery  for this,
of course.

I hope to hear more opinions from the list about this.

Thanks. Regards, Peter

Am 21.08.20 um 17:02 schrieb David Beal:

> Hi Peter,

> Consider these modules

> [1] [2]

> and in pending migration

> [3]

> Note that sale_order_lot_selection in v12 and v13 are different, consider the v12 one

> Best regards


> David BEAL - [4]  Consultant

> Odoo Intégration / Développement

> Le ven. 21 août 2020 à 15:36, Peter Hahn < [5] > a écrit :

> 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


> _______________________________________________

> Mailing-List: [6]

> Post to: mailto: [7]

> Unsubscribe: [8]



> _______________________________________________

> Mailing-List: [9]

> Post to:

> Unsubscribe: [10]




> [1]

> [2]

> [3]

> [4]

> [5]

> [6]

> [7]

> [8]

> [9]

> [10]