Skip to Content

Contributors

  • Re: Best model for selling unique products (used machines)
    Hi Bettina, 
    
    thanks for this insight. Obviously my PM heart agrees. By doing such
    project we should also ask the rather business oriented questions on 
    what may happen next in the mind of the customer and also give a
    helping hand and ideas on conceiving this future.
    
    Nevertheless if you boil it down to engineering practise it is often
    relatively cumbersome to start out with a "simple" solution, because
    simple in case of Odoo (from a business perspective) means "using" a
    standard from the OCA (which is usually well elaborated on overall and
    very generic needs and integrated with lots of other modules) or doing
    exactly what you need (now or for the near future).
    
    If you one uses the OCA standard this is simple as it doesn't require
    you to reinvent something and is also desireable from the
    standardization point of view, but it comes with a certain payload
    (maintaining the code and all its dependencies also for the 80% of the
    functionality included you never or seldomly need). On the other just
    adding what you need is easy as it doesn't involve too much development
    (and therefore budget discussion with the customer) but often evolves
    into something that becomes more and more like the original OCA
    standard after N interations (obviously not desireable as this is a
    waste of resources as well).
    
    One of the problems that developers often have is that the OCA / Odoo
    standard in the first place looks like something that you need to have
    a PhD for to understand in its entirety.
    
    As far as i understood Peter he is just questioning (with regard to
    CRM) if it would really be desireable to use stock.production.lot and
    make that work with the typical sale.order object or rather use
    product.product and extend it (obviously loosing complexity trough
    depence but also information such as traceability in stock moves).
    
    This is not only to be answered with the concrete business domain at
    hand but also with the opinion of colleagues around the globe that
    faced a similar problem in the past.
    
    I personally always tend to go for the "standard" OCA solution but for
    instance in terms of "ease of use" for the end user that is rather
    seldomly a very good shot in the first place
    
    Thank you very much for your opinion on the matter
    
    Best Frederik
     
    
    
    Am Montag, den 24.08.2020, 13:26 +0000 schrieb Bettina Pfeifer
    dygytally.de:
    
    > Hi Peter, 
    
    > 
    
    > sometimes it helps to imagine what you (your future odoo client) want
    
    > to know after one, two, three ... years of sales. What would you like
    
    > to know about all your sales, the products you sold. Which ones made
    
    > trouble after sales, which ones made your odoo client happy, which
    
    > ones led to more trades, which ones where hard to get and easy to
    
    > sell or vice versa. Which ones need a lot of warehouse space, which
    
    > ones need special care. How do you want to report on the past. What
    
    > decisions should be made for the future. 
    
    > 
    
    > Maybe this helps a bit to decide on your current question. Sometimes
    
    > these questions make the odoo client reveal their true needs. 
    
    > 
    
    > And if you are able to generate the "list" you mention, that might be
    
    > good starting point. 
    
    > 
    
    > And the original serial numbers of the used machines themselves
    
    > should be used, as long as they have one. Otherwise you could create
    
    > an own serial number.   
    
    > 
    
    > In general, why not start as easy as possible, until other
    
    > requirements arise while using odoo. 
    
    > 
    
    > Regards, Bettina
    
    > 
    
    > 
    
    > dygytally.de GmbH
    
    > Margarete-Steiff-Str. 7
    
    > 60438 Frankfurt am Main
    
    > 
    
    > mobil +49 170 5423 951
    
    > WhatsApp +49 175 1042428
    
    > Tel +49 69 758 44766
    
    > Fax +49 69 758 44767	Geschäftsführerin: Bettina Pfeifer
    
    > 
    
    > Handelsregister: Frankfurt HRB 106317
    
    > 
    
    > 
    
    > dygytally.de 
    
    > Einfach. Digital. Wachsen.
    
    > -- Odoo Ready Partner --	Website
    
    > Kontakt
    
    > Impressum 
    
    > Datenschutz 
    
    > 
    
    > 
    
    > 
    
    > © 2019 dygytally.de
    
    > Am 24.08.20 um 13:17 schrieb Peter Hahn:
    
    > > 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
    
    > > 
    
    > > > 
    
    > > https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection
    
    > > [1]  
    
    > > https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator
    
    > > [2]
    
    > > 
    
    > > > and in pending migration
    
    > > 
    
    > > > https://github.com/OCA/sale-workflow/pull/1144 [3]
    
    > > 
    
    > > > Note that sale_order_lot_selection in v12 and v13 are different,
    
    > > consider the v12 one
    
    > > 
    
    > > > Best regards
    
    > > 
    
    > > > 
    
    > > 
    
    > > > David BEAL - akretion.com [4]  Consultant
    
    > > 
    
    > > > Odoo Intégration / Développement
    
    > > 
    
    > > > Le ven. 21 août 2020 à 15:36, Peter Hahn < peter.hahn@initos.com
    
    > > [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: https://odoo-community.org/groups/contributors-15
    
    > > [6]
    
    > > 
    
    > > > Post to: mailto: contributors@odoo-community.org [7]
    
    > > 
    
    > > > Unsubscribe: https://odoo-community.org/groups?unsubscribe [8]
    
    > > 
    
    > > > 
    
    > > 
    
    > > > 
    
    > > 
    
    > > > _______________________________________________
    
    > > 
    
    > > > Mailing-List: https://odoo-community.org/groups/contributors-15
    
    > > [9]
    
    > > 
    
    > > > Post to: mailto:contributors@odoo-community.org
    
    > > 
    
    > > > Unsubscribe: https://odoo-community.org/groups?unsubscribe [10]
    
    > > 
    
    > > > 
    
    > > 
    
    > > > 
    
    > > 
    
    > > > 
    
    > > 
    
    > > > [1] 
    
    > > https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection
    
    > > 
    
    > > > [2] 
    
    > > https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator
    
    > > 
    
    > > > [3] https://github.com/OCA/sale-workflow/pull/1144
    
    > > 
    
    > > > [4] http://akretion.com
    
    > > 
    
    > > > [5] mailto:peter.hahn@initos.com
    
    > > 
    
    > > > [6] https://odoo-community.org/groups/contributors-15
    
    > > 
    
    > > > [7] mailto:contributors@odoo-community.org
    
    > > 
    
    > > > [8] https://odoo-community.org/groups?unsubscribe
    
    > > 
    
    > > > [9] https://odoo-community.org/groups/contributors-15
    
    > > 
    
    > > > [10] 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
    
    > > 
    
    > 
    
    > _______________________________________________
    
    > 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
    
    

    by Frederik Kramer - 04:11 - 24 Aug 2020
  • Re: Best model for selling unique products (used machines)
    
    Am 24.08.20 um 15:26 schrieb Bettina Pfeifer dygytally.de:
    
    > sometimes it helps to imagine what you (your future odoo client)
    
    > want to know after one, two, three ... years of sales. What would
    
    > you like to know about all your sales, the products you sold.
    
    > Which ones made trouble after sales, which ones made your odoo
    
    > client happy, which ones led to more trades, which ones where hard
    
    > to get and easy to sell or vice versa. Which ones need a lot of
    
    > warehouse space, which ones need special care. How do you want to
    
    > report on the past. What decisions should be made for the future.
    
    Thanks. Good questions.
    
    
    > And if you are able to generate the "list" you mention, that
    
    > might be good starting point.
    
    This list already exists and with a lot of specfic attributes added to
    each item (machine) including each having it’s own price and even
    possible different tax.
    
    That’s why I doubt it’s a good idea to model these list/items using
    `stock.production.lot` customizations.
    
    The only thing that some machines may have in common is the base model
    and manufacturer.
    So from non-technical perspective it’s more like “product & variants”.
    Not like “product & lots of identical product items”, like e.g. in the
    smart phone case.)
    
    
    Regards. Peter
    

    by Pete Hahn - 04:00 - 24 Aug 2020
  • Re: Best model for selling unique products (used machines)

    Hi Peter,

    sometimes it helps to imagine what you (your future odoo client) want to know after one, two, three ... years of sales. What would you like to know about all your sales, the products you sold. Which ones made trouble after sales, which ones made your odoo client happy, which ones led to more trades, which ones where hard to get and easy to sell or vice versa. Which ones need a lot of warehouse space, which ones need special care. How do you want to report on the past. What decisions should be made for the future.

    Maybe this helps a bit to decide on your current question. Sometimes these questions make the odoo client reveal their true needs.

    And if you are able to generate the "list" you mention, that might be good starting point.

    And the original serial numbers of the used machines themselves should be used, as long as they have one. Otherwise you could create an own serial number.  

    In general, why not start as easy as possible, until other requirements arise while using odoo.

    Regards, Bettina



    dygytally.de GmbH
    Margarete-Steiff-Str. 7
    60438 Frankfurt am Main

    mobil +49 170 5423 951
    WhatsApp +49 175 1042428
    Tel +49 69 758 44766
    Fax +49 69 758 44767
    Geschäftsführerin: Bettina Pfeifer

    Handelsregister: Frankfurt HRB 106317


    dygytally.de
    Einfach. Digital. Wachsen.
    -- Odoo Ready Partner --
    Website
    Kontakt
    Impressum
    Datenschutz



    © 2019 dygytally.de
    Am 24.08.20 um 13:17 schrieb Peter Hahn:
    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
    
    > https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection [1]  https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator [2]
    
    > and in pending migration
    
    > https://github.com/OCA/sale-workflow/pull/1144 [3]
    
    > Note that sale_order_lot_selection in v12 and v13 are different, consider the v12 one
    
    > Best regards
    
    > 
    
    > David BEAL - akretion.com [4]  Consultant
    
    > Odoo Intégration / Développement
    
    > Le ven. 21 août 2020 à 15:36, Peter Hahn < peter.hahn@initos.com [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: https://odoo-community.org/groups/contributors-15 [6]
    
    > Post to: mailto: contributors@odoo-community.org [7]
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe [8]
    
    > 
    
    > 
    
    > _______________________________________________
    
    > Mailing-List: https://odoo-community.org/groups/contributors-15 [9]
    
    > Post to: mailto:contributors@odoo-community.org
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe [10]
    
    > 
    
    > 
    
    > 
    
    > [1] https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection
    
    > [2] https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator
    
    > [3] https://github.com/OCA/sale-workflow/pull/1144
    
    > [4] http://akretion.com
    
    > [5] mailto:peter.hahn@initos.com
    
    > [6] https://odoo-community.org/groups/contributors-15
    
    > [7] mailto:contributors@odoo-community.org
    
    > [8] https://odoo-community.org/groups?unsubscribe
    
    > [9] https://odoo-community.org/groups/contributors-15
    
    > [10] 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


    by Bettina Pfeifer. - 03:26 - 24 Aug 2020
  • Re: Best model for selling unique products (used machines)
    
    Am 21.08.20 um 19:04 schrieb David Beal:
    
    > 
    
    > Why not a lot_attribute_set module ?
    
    > 
    
    Because I think that our customers used machines unique enough that
    treating each as an individual product is OK and less complex and more
    natural in terms of all the necessary interactions going from CRM to SO
    etc.
    
    I think that the product+lot concept is more for more generic products
    where you sell hundreds of items and these items do not differ much from
    the base product (except of quality issues, warranty etc.)
    
    Thanks. Regards. Peter
    

    by Pete Hahn - 01:21 - 24 Aug 2020
  • Re: Best model for selling unique products (used machines)
    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
    
    > https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection [1]  https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator [2]
    
    > and in pending migration
    
    > https://github.com/OCA/sale-workflow/pull/1144 [3]
    
    > Note that sale_order_lot_selection in v12 and v13 are different, consider the v12 one
    
    > Best regards
    
    > 
    
    > David BEAL - akretion.com [4]  Consultant
    
    > Odoo Intégration / Développement
    
    > Le ven. 21 août 2020 à 15:36, Peter Hahn < peter.hahn@initos.com [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: https://odoo-community.org/groups/contributors-15 [6]
    
    > Post to: mailto: contributors@odoo-community.org [7]
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe [8]
    
    > 
    
    > 
    
    > _______________________________________________
    
    > Mailing-List: https://odoo-community.org/groups/contributors-15 [9]
    
    > Post to: mailto:contributors@odoo-community.org
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe [10]
    
    > 
    
    > 
    
    > 
    
    > [1] https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_selection
    
    > [2] https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator
    
    > [3] https://github.com/OCA/sale-workflow/pull/1144
    
    > [4] http://akretion.com
    
    > [5] mailto:peter.hahn@initos.com
    
    > [6] https://odoo-community.org/groups/contributors-15
    
    > [7] mailto:contributors@odoo-community.org
    
    > [8] https://odoo-community.org/groups?unsubscribe
    
    > [9] https://odoo-community.org/groups/contributors-15
    
    > [10] https://odoo-community.org/groups?unsubscribe
    
    > 
    

    by Pete Hahn - 01:16 - 24 Aug 2020
  • Re: Best model for selling unique products (used machines)
    If you have opportunity to propagate v12 to v13 it could be nice.

    If not, I have to do it myself but not in the short term.


    David BEAL


    Le ven. 21 août 2020 à 17:53, David Beal <david.beal@akretion.com> a écrit :

    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


    by David BEAL - 06:01 - 21 Aug 2020
  • Re: Best model for selling unique products (used machines)

    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


    by David BEAL - 05:56 - 21 Aug 2020
  • Re: Best model for selling unique products (used machines)
    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
    
    

    by Frederik Kramer - 05:11 - 21 Aug 2020
  • Re: Best model for selling unique products (used machines)
    Hi Peter,

    Consider these modules

     and in pending migration


    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


    by David BEAL - 05:01 - 21 Aug 2020
  • 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
  • Re: The OCA needs your help - OCA Days 2020 and Odoo XP
    Awesome guys. I will be in touch in the coming weeks as we get things finalised.

    Thank you.
    Rebecca

    On Fri, Aug 21, 2020 at 1:07 AM Manish Mannan <manish@o2b.co.in> wrote:
    Hi Rebecca, I can also help, please let me know.

    Regards,
    Manish Mannan

    On Thu, 20 Aug, 2020, 6:02 pm Gonzalo Ruzafa, <gr@adhoc.com.ar> wrote:
    Let me know if we can help Rebecca!

    Regards
    Gonzalo

    El mié., 19 de ago. de 2020 a la(s) 23:12, Rebecca Gellatly (rebecca@o4sb.com) escribió:
    Hello OCA Contributors,

    We are in the process of gearing up for OCA Days 2020 Online (15th and 16th October) and need your help.

    We are looking for a few people to be "hosts" on our conferencing platform to help with continuity between presentations and the like.
    If you feel this is something you could help with please get in touch on this list or at events AT odoo-community.org

    We are also looking for people to help be part of our Virtual Booth at the Odoo Experience - 

    4 pm to 10 pm (CEST) on Wednesday Sept 30th and 3:30 pm to 10 pm (CEST) on Thursday Oct 1st.

    Again, we would love to hear from you in regards to helping out with this.


    You may have seen we put out a survey a while back asking people what they wanted to know about for the OCA Days to help in training and learning,  one of the main themes that has come back is the process and workflows of contributing to the OCA. If you feel this is an area you could help in presenting please contact us.

    We are still looking for more talks, presentations, trainings/tutorials for the OCA Days if you haven't had a chance to send through your proposal for consideration yet please do so on the website. 

    Looking forward to hearing from you.
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    _______________________________________________
    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

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



    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 06:50 - 21 Aug 2020
  • Re: The OCA needs your help - OCA Days 2020 and Odoo XP
    Hi Rebecca,

    I can help too.

    Best regards

    Mileo


    De: "Manish Mannan" <manish@o2b.co.in>
    Para: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
    Enviadas: Quinta-feira, 20 de agosto de 2020 10:07:02
    Assunto: Re: The OCA needs your help - OCA Days 2020 and Odoo XP

    Hi Rebecca, I can also help, please let me know.

    Regards,
    Manish Mannan

    On Thu, 20 Aug, 2020, 6:02 pm Gonzalo Ruzafa, <gr@adhoc.com.ar> wrote:
    Let me know if we can help Rebecca!
    Regards
    Gonzalo

    El mié., 19 de ago. de 2020 a la(s) 23:12, Rebecca Gellatly (rebecca@o4sb.com) escribió:
    Hello OCA Contributors,

    We are in the process of gearing up for OCA Days 2020 Online (15th and 16th October) and need your help.

    We are looking for a few people to be "hosts" on our conferencing platform to help with continuity between presentations and the like.
    If you feel this is something you could help with please get in touch on this list or at events AT odoo-community.org

    We are also looking for people to help be part of our Virtual Booth at the Odoo Experience - 

    4 pm to 10 pm (CEST) on Wednesday Sept 30th and 3:30 pm to 10 pm (CEST) on Thursday Oct 1st.

    Again, we would love to hear from you in regards to helping out with this.


    You may have seen we put out a survey a while back asking people what they wanted to know about for the OCA Days to help in training and learning,  one of the main themes that has come back is the process and workflows of contributing to the OCA. If you feel this is an area you could help in presenting please contact us.

    We are still looking for more talks, presentations, trainings/tutorials for the OCA Days if you haven't had a chance to send through your proposal for consideration yet please do so on the website. 

    Looking forward to hearing from you.
    Rebecca
    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    _______________________________________________
    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

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



    by Luis F Miléo - 04:46 - 20 Aug 2020
  • Re: The OCA needs your help - OCA Days 2020 and Odoo XP
    Hi Rebecca, I can also help, please let me know.

    Regards,
    Manish Mannan

    On Thu, 20 Aug, 2020, 6:02 pm Gonzalo Ruzafa, <gr@adhoc.com.ar> wrote:
    Let me know if we can help Rebecca!

    Regards
    Gonzalo

    El mié., 19 de ago. de 2020 a la(s) 23:12, Rebecca Gellatly (rebecca@o4sb.com) escribió:
    Hello OCA Contributors,

    We are in the process of gearing up for OCA Days 2020 Online (15th and 16th October) and need your help.

    We are looking for a few people to be "hosts" on our conferencing platform to help with continuity between presentations and the like.
    If you feel this is something you could help with please get in touch on this list or at events AT odoo-community.org

    We are also looking for people to help be part of our Virtual Booth at the Odoo Experience - 

    4 pm to 10 pm (CEST) on Wednesday Sept 30th and 3:30 pm to 10 pm (CEST) on Thursday Oct 1st.

    Again, we would love to hear from you in regards to helping out with this.


    You may have seen we put out a survey a while back asking people what they wanted to know about for the OCA Days to help in training and learning,  one of the main themes that has come back is the process and workflows of contributing to the OCA. If you feel this is an area you could help in presenting please contact us.

    We are still looking for more talks, presentations, trainings/tutorials for the OCA Days if you haven't had a chance to send through your proposal for consideration yet please do so on the website. 

    Looking forward to hearing from you.
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    _______________________________________________
    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


    by Manish Mannan - 03:05 - 20 Aug 2020
  • Re: The OCA needs your help - OCA Days 2020 and Odoo XP
    Let me know if we can help Rebecca!

    Regards
    Gonzalo

    El mié., 19 de ago. de 2020 a la(s) 23:12, Rebecca Gellatly (rebecca@o4sb.com) escribió:
    Hello OCA Contributors,

    We are in the process of gearing up for OCA Days 2020 Online (15th and 16th October) and need your help.

    We are looking for a few people to be "hosts" on our conferencing platform to help with continuity between presentations and the like.
    If you feel this is something you could help with please get in touch on this list or at events AT odoo-community.org

    We are also looking for people to help be part of our Virtual Booth at the Odoo Experience - 

    4 pm to 10 pm (CEST) on Wednesday Sept 30th and 3:30 pm to 10 pm (CEST) on Thursday Oct 1st.

    Again, we would love to hear from you in regards to helping out with this.


    You may have seen we put out a survey a while back asking people what they wanted to know about for the OCA Days to help in training and learning,  one of the main themes that has come back is the process and workflows of contributing to the OCA. If you feel this is an area you could help in presenting please contact us.

    We are still looking for more talks, presentations, trainings/tutorials for the OCA Days if you haven't had a chance to send through your proposal for consideration yet please do so on the website. 

    Looking forward to hearing from you.
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

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


    by Gonzalo Ruzafa. - 02:31 - 20 Aug 2020
  • Re: huge amount of: raise Exception("bus.Bus unavailable")
    Hi,
    I'm not using docker containers but when I find "bus.bus unavailable" error, the solution pointed out in https://odoo-development.readthedocs.io/en/latest/debugging/errors/exception-bus-bus-unavailable.html solves it; hope this works for you too!


    Thanks,
    Simone Rubino

    On Wed, 19 Aug 2020 at 18:22, robert@redo2oo.ch <robert@redo2oo.ch> wrote:
    Hi there
    
    I am running odoo in a docker container behingd an nginx http-server
    now I get millions of exception in the log that the bus is not available.
    I realy would like to find a solution for this, as this renders the log 
    unusable.
    
    in the odoo config I declare the longpolling port to be 8072:
    
    longpolling_port = 8072
    
    in the container I map port 8072 to 19100
    
                 "Ports": {
                     "8069/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "9100"
                         }
                     ],
                     "8072/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "19100"
                         }
                     ]
                 },
    
    
    the NGINX  conf:
    
    #
    # client_x
    # -------------------
    # _robert_
    
    #odoo server
    upstream odoo_client_x {
         server 127.0.0.1:9100;
    }
    upstream odoochat_client_x {
         server 127.0.0.1:19100;
    }
    # start with http server, certbot will add https
    server {
       server_name   13.client.ch;
       access_log    /var/log/nginx/13.client_x.ch.access.log combined;
       error_log     /var/log/nginx/13.client_x.ch.error.log;
       location / {
         proxy_pass http://odoo_client_x;
       }
    
         listen [::]:443 ssl ipv6only=on; # managed by Certbot
         listen 443 ssl; # managed by Certbot
         ssl_certificate /etc/letsencrypt/live/13.client_x.ch/fullchain.pem; 
    # managed by Certbot
         ssl_certificate_key 
    /etc/letsencrypt/live/13.client_x.ch/privkey.pem; # managed by Certbot
         include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
         ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    
    }
    server {
         if ($host = 13.client_x.ch) {
             return 301 https://$host$request_uri;
         } # managed by Certbot
       listen 80;
       listen [::]:80;
       server_name   13.client_x.ch;
         return 404; # managed by Certbot
    }
    
    thanks for any help
    robert
    
    
    Traceback (most recent call last):
       File "/odoo/src/odoo/http.py", line 624, in _handle_exception
         return super(JsonRequest, self)._handle_exception(exception)
       File "/odoo/src/odoo/http.py", line 310, in _handle_exception
         raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
       File "/odoo/src/odoo/tools/pycompat.py", line 14, in reraise
         raise value
       File "/odoo/src/odoo/http.py", line 669, in dispatch
         result = self._call_function(**self.params)
       File "/odoo/src/odoo/http.py", line 350, in _call_function
         return checked_call(self.db, *args, **kwargs)
       File "/odoo/src/odoo/service/model.py", line 94, in wrapper
         return f(dbname, *args, **kwargs)
       File "/odoo/src/odoo/http.py", line 339, in checked_call
         result = self.endpoint(*a, **kw)
       File "/odoo/src/odoo/http.py", line 915, in __call__
         return self.method(*args, **kw)
       File "/odoo/src/odoo/http.py", line 515, in response_wrap
         response = f(*args, **kw)
       File "/odoo/src/addons/bus/controllers/main.py", line 35, in poll
         raise Exception("bus.Bus unavailable")
    Exception: bus.Bus unavailable
    2020-08-19 15:24:18,405 71 INFO client_x werkzeug: 172.17.0.1 - - 
    [19/Aug/2020 15:24:18] "POST /longpolling/poll HTTP/1.0" 200 - 1 0.000 0.004
    
    
    

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


    by Simone Rubino - 09:20 - 20 Aug 2020
  • Account Asset Management - calculate amount asset remove
    Hello all,

    I'm not sure that we calculate the amount depreciation line wrong.

    Example
    Asset start date 01 Aug 2020
    We will remove asset at 31 Aug 2020

    Depreciation board will create a new line early removal is 30 Aug 2020 
    that line should calculate depreciation 30 days but in code calculate 29 days.
    is it correct? or am I missing something?

    In the code
    function _prepare_early_removal() in file ./account_asset_management/wizard/account_asset_remove.py

    to_depreciate_amount = round(
                float(to_depreciate_days)
                / float(period_number_days)
                * first_to_depreciate_dl.amount,
                digits,
            )

    to_depreciate_days = 29 (should be 30 ?)
    period_number_days = 30 (should be 31 ?)

    Thank you. Regards

    by saranl - 05:36 - 20 Aug 2020
  • The OCA needs your help - OCA Days 2020 and Odoo XP
    Hello OCA Contributors,

    We are in the process of gearing up for OCA Days 2020 Online (15th and 16th October) and need your help.

    We are looking for a few people to be "hosts" on our conferencing platform to help with continuity between presentations and the like.
    If you feel this is something you could help with please get in touch on this list or at events AT odoo-community.org

    We are also looking for people to help be part of our Virtual Booth at the Odoo Experience - 

    4 pm to 10 pm (CEST) on Wednesday Sept 30th and 3:30 pm to 10 pm (CEST) on Thursday Oct 1st.

    Again, we would love to hear from you in regards to helping out with this.


    You may have seen we put out a survey a while back asking people what they wanted to know about for the OCA Days to help in training and learning,  one of the main themes that has come back is the process and workflows of contributing to the OCA. If you feel this is an area you could help in presenting please contact us.

    We are still looking for more talks, presentations, trainings/tutorials for the OCA Days if you haven't had a chance to send through your proposal for consideration yet please do so on the website. 

    Looking forward to hearing from you.
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 04:11 - 20 Aug 2020
  • Re: solved: Re: huge amount of: raise Exception("bus.Bus unavailable")
    Pretty quick fix it seems.  Kudos there Robert.

    Landis Arnold

    Nomadic Inc.
    Longmont, CO USA


    From: robert@redo2oo.ch
    To: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
    Sent: Wednesday, August 19, 2020 10:57:37 AM
    Subject: solved: Re: huge amount of: raise Exception("bus.Bus unavailable")

    I found the reason:


    I did not really use the long polling "nginx-server".

    Maybe the lets encript setup process removed that part. ??

    What I did, I added:

        # Redirect longpoll requests to odoo longpolling port
        location /longpolling {
            proxy_pass http://odoochat_client_x;
        }

    thanks for listening

    robert

    On 19.08.20 18:22, robert@redo2oo.ch wrote:
    Hi there
    
    I am running odoo in a docker container behingd an nginx http-server
    now I get millions of exception in the log that the bus is not available.
    I realy would like to find a solution for this, as this renders the log 
    unusable.
    
    in the odoo config I declare the longpolling port to be 8072:
    
    longpolling_port = 8072
    
    in the container I map port 8072 to 19100
    
                 "Ports": {
                     "8069/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "9100"
                         }
                     ],
                     "8072/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "19100"
                         }
                     ]
                 },
    
    
    the NGINX  conf:
    
    #
    # client_x
    # -------------------
    # _robert_
    
    #odoo server
    upstream odoo_client_x {
         server 127.0.0.1:9100;
    }
    upstream odoochat_client_x {
         server 127.0.0.1:19100;
    }
    # start with http server, certbot will add https
    server {
       server_name   13.client.ch;
       access_log    /var/log/nginx/13.client_x.ch.access.log combined;
       error_log     /var/log/nginx/13.client_x.ch.error.log;
       location / {
         proxy_pass http://odoo_client_x;
       }
    
         listen [::]:443 ssl ipv6only=on; # managed by Certbot
         listen 443 ssl; # managed by Certbot
         ssl_certificate /etc/letsencrypt/live/13.client_x.ch/fullchain.pem; 
    # managed by Certbot
         ssl_certificate_key 
    /etc/letsencrypt/live/13.client_x.ch/privkey.pem; # managed by Certbot
         include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
         ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    
    }
    server {
         if ($host = 13.client_x.ch) {
             return 301 https://$host$request_uri;
         } # managed by Certbot
       listen 80;
       listen [::]:80;
       server_name   13.client_x.ch;
         return 404; # managed by Certbot
    }
    
    thanks for any help
    robert
    
    
    Traceback (most recent call last):
       File "/odoo/src/odoo/http.py", line 624, in _handle_exception
         return super(JsonRequest, self)._handle_exception(exception)
       File "/odoo/src/odoo/http.py", line 310, in _handle_exception
         raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
       File "/odoo/src/odoo/tools/pycompat.py", line 14, in reraise
         raise value
       File "/odoo/src/odoo/http.py", line 669, in dispatch
         result = self._call_function(**self.params)
       File "/odoo/src/odoo/http.py", line 350, in _call_function
         return checked_call(self.db, *args, **kwargs)
       File "/odoo/src/odoo/service/model.py", line 94, in wrapper
         return f(dbname, *args, **kwargs)
       File "/odoo/src/odoo/http.py", line 339, in checked_call
         result = self.endpoint(*a, **kw)
       File "/odoo/src/odoo/http.py", line 915, in __call__
         return self.method(*args, **kw)
       File "/odoo/src/odoo/http.py", line 515, in response_wrap
         response = f(*args, **kw)
       File "/odoo/src/addons/bus/controllers/main.py", line 35, in poll
         raise Exception("bus.Bus unavailable")
    Exception: bus.Bus unavailable
    2020-08-19 15:24:18,405 71 INFO client_x werkzeug: 172.17.0.1 - - 
    [19/Aug/2020 15:24:18] "POST /longpolling/poll HTTP/1.0" 200 - 1 0.000 0.004
    
    
    

    _______________________________________________
    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



    by Landis Arnold - 09:30 - 19 Aug 2020
  • solved: Re: huge amount of: raise Exception("bus.Bus unavailable")

    I found the reason:


    I did not really use the long polling "nginx-server".

    Maybe the lets encript setup process removed that part. ??

    What I did, I added:

        # Redirect longpoll requests to odoo longpolling port
        location /longpolling {
            proxy_pass http://odoochat_client_x;
        }

    thanks for listening

    robert

    On 19.08.20 18:22, robert@redo2oo.ch wrote:
    Hi there
    
    I am running odoo in a docker container behingd an nginx http-server
    now I get millions of exception in the log that the bus is not available.
    I realy would like to find a solution for this, as this renders the log 
    unusable.
    
    in the odoo config I declare the longpolling port to be 8072:
    
    longpolling_port = 8072
    
    in the container I map port 8072 to 19100
    
                 "Ports": {
                     "8069/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "9100"
                         }
                     ],
                     "8072/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "19100"
                         }
                     ]
                 },
    
    
    the NGINX  conf:
    
    #
    # client_x
    # -------------------
    # _robert_
    
    #odoo server
    upstream odoo_client_x {
         server 127.0.0.1:9100;
    }
    upstream odoochat_client_x {
         server 127.0.0.1:19100;
    }
    # start with http server, certbot will add https
    server {
       server_name   13.client.ch;
       access_log    /var/log/nginx/13.client_x.ch.access.log combined;
       error_log     /var/log/nginx/13.client_x.ch.error.log;
       location / {
         proxy_pass http://odoo_client_x;
       }
    
         listen [::]:443 ssl ipv6only=on; # managed by Certbot
         listen 443 ssl; # managed by Certbot
         ssl_certificate /etc/letsencrypt/live/13.client_x.ch/fullchain.pem; 
    # managed by Certbot
         ssl_certificate_key 
    /etc/letsencrypt/live/13.client_x.ch/privkey.pem; # managed by Certbot
         include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
         ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    
    }
    server {
         if ($host = 13.client_x.ch) {
             return 301 https://$host$request_uri;
         } # managed by Certbot
       listen 80;
       listen [::]:80;
       server_name   13.client_x.ch;
         return 404; # managed by Certbot
    }
    
    thanks for any help
    robert
    
    
    Traceback (most recent call last):
       File "/odoo/src/odoo/http.py", line 624, in _handle_exception
         return super(JsonRequest, self)._handle_exception(exception)
       File "/odoo/src/odoo/http.py", line 310, in _handle_exception
         raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
       File "/odoo/src/odoo/tools/pycompat.py", line 14, in reraise
         raise value
       File "/odoo/src/odoo/http.py", line 669, in dispatch
         result = self._call_function(**self.params)
       File "/odoo/src/odoo/http.py", line 350, in _call_function
         return checked_call(self.db, *args, **kwargs)
       File "/odoo/src/odoo/service/model.py", line 94, in wrapper
         return f(dbname, *args, **kwargs)
       File "/odoo/src/odoo/http.py", line 339, in checked_call
         result = self.endpoint(*a, **kw)
       File "/odoo/src/odoo/http.py", line 915, in __call__
         return self.method(*args, **kw)
       File "/odoo/src/odoo/http.py", line 515, in response_wrap
         response = f(*args, **kw)
       File "/odoo/src/addons/bus/controllers/main.py", line 35, in poll
         raise Exception("bus.Bus unavailable")
    Exception: bus.Bus unavailable
    2020-08-19 15:24:18,405 71 INFO client_x werkzeug: 172.17.0.1 - - 
    [19/Aug/2020 15:24:18] "POST /longpolling/poll HTTP/1.0" 200 - 1 0.000 0.004
    
    
    

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


    by robert - 06:56 - 19 Aug 2020
  • huge amount of: raise Exception("bus.Bus unavailable")
    Hi there
    
    I am running odoo in a docker container behingd an nginx http-server
    now I get millions of exception in the log that the bus is not available.
    I realy would like to find a solution for this, as this renders the log 
    unusable.
    
    in the odoo config I declare the longpolling port to be 8072:
    
    longpolling_port = 8072
    
    in the container I map port 8072 to 19100
    
                 "Ports": {
                     "8069/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "9100"
                         }
                     ],
                     "8072/tcp": [
                         {
                             "HostIp": "127.0.0.1",
                             "HostPort": "19100"
                         }
                     ]
                 },
    
    
    the NGINX  conf:
    
    #
    # client_x
    # -------------------
    # _robert_
    
    #odoo server
    upstream odoo_client_x {
         server 127.0.0.1:9100;
    }
    upstream odoochat_client_x {
         server 127.0.0.1:19100;
    }
    # start with http server, certbot will add https
    server {
       server_name   13.client.ch;
       access_log    /var/log/nginx/13.client_x.ch.access.log combined;
       error_log     /var/log/nginx/13.client_x.ch.error.log;
       location / {
         proxy_pass http://odoo_client_x;
       }
    
         listen [::]:443 ssl ipv6only=on; # managed by Certbot
         listen 443 ssl; # managed by Certbot
         ssl_certificate /etc/letsencrypt/live/13.client_x.ch/fullchain.pem; 
    # managed by Certbot
         ssl_certificate_key 
    /etc/letsencrypt/live/13.client_x.ch/privkey.pem; # managed by Certbot
         include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
         ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    
    }
    server {
         if ($host = 13.client_x.ch) {
             return 301 https://$host$request_uri;
         } # managed by Certbot
       listen 80;
       listen [::]:80;
       server_name   13.client_x.ch;
         return 404; # managed by Certbot
    }
    
    thanks for any help
    robert
    
    
    Traceback (most recent call last):
       File "/odoo/src/odoo/http.py", line 624, in _handle_exception
         return super(JsonRequest, self)._handle_exception(exception)
       File "/odoo/src/odoo/http.py", line 310, in _handle_exception
         raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
       File "/odoo/src/odoo/tools/pycompat.py", line 14, in reraise
         raise value
       File "/odoo/src/odoo/http.py", line 669, in dispatch
         result = self._call_function(**self.params)
       File "/odoo/src/odoo/http.py", line 350, in _call_function
         return checked_call(self.db, *args, **kwargs)
       File "/odoo/src/odoo/service/model.py", line 94, in wrapper
         return f(dbname, *args, **kwargs)
       File "/odoo/src/odoo/http.py", line 339, in checked_call
         result = self.endpoint(*a, **kw)
       File "/odoo/src/odoo/http.py", line 915, in __call__
         return self.method(*args, **kw)
       File "/odoo/src/odoo/http.py", line 515, in response_wrap
         response = f(*args, **kw)
       File "/odoo/src/addons/bus/controllers/main.py", line 35, in poll
         raise Exception("bus.Bus unavailable")
    Exception: bus.Bus unavailable
    2020-08-19 15:24:18,405 71 INFO client_x werkzeug: 172.17.0.1 - - 
    [19/Aug/2020 15:24:18] "POST /longpolling/poll HTTP/1.0" 200 - 1 0.000 0.004
    
    
    

    by robert - 06:20 - 19 Aug 2020