Contributors mailing list archives

contributors@odoo-community.org

Avatar

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

by
Akretion France, David BEAL
- 21/08/2020 15:53:51

To understand why the difference between v12 and v13

Bonne journée


David BEAL - akretion.com
Consultant
Odoo Intégration / Développement


Le ven. 21 août 2020 à 17:12, Frederik Kramer <frederik.kramer@initos.com> a écrit :
Hi David, hi Peter, 

i think especially 

https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection

pretty much seems to be what is needed in that use case. Automatic lot
generation is probably no what you (we) want when dealing with
expensive machinery ;-)

Thanks for the quick response. Appreciated!

Best and have a nice weekend 
Frederik

Am Freitag, den 21.08.2020, 15:02 +0000 schrieb David Beal:


> Hi Peter,


> 


> Consider these modules


> https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection


> https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator


> 


>  and in pending migration


> 


> https://github.com/OCA/sale-workflow/pull/1144


> 


> Note that sale_order_lot_selection in v12 and v13 are different,


> consider the v12 one


> 


> Best regards


> 


> 


> David BEAL - akretion.com


> Consultant


> Odoo Intégration / Développement


> 


> 


> Le ven. 21 août 2020 à 15:36, Peter Hahn <peter.hahn@initos.com> 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: https://odoo-community.org/groups/contributors-15


> > Post to: mailto:contributors@odoo-community.org


> > Unsubscribe: https://odoo-community.org/groups?unsubscribe


> 


> _______________________________________________


> Mailing-List: https://odoo-community.org/groups/contributors-15


> Post to: mailto:contributors@odoo-community.org


> Unsubscribe: https://odoo-community.org/groups?unsubscribe


-- 
Dr.-Ing. Frederik Kramer
Geschäftsführer
        
initOS GmbH
An der Eisenbahn 1
21224 Rosengarten
        
Phone:  +49 4105 56156-12
Fax:    +49 4105 56156-10
Mobil:  +49 179 3901819
        
Email: frederik.kramer@initos.com
Web:   www.initos.com
        
Geschäftsführung:
Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke

Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht Tostedt, HRB 205226
Steuer-Nr: 15/200/53247
USt-IdNr.: DE815580155

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference