Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Odoo - distributed business apps

Odoo - distributed business apps

Scheduled Pinned Locked Moved App Wishlist
88 Posts 19 Posters 35.1k Views 24 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • njN nj

    I have packaged Odoo successfully.
    Please check out http://github.com/njsubedi/cloudron-odoo

    I had to patch the default Database connection function to prevent Odoo from connecting to the database named โ€œpostgresโ€ from different places.

    Otherwise, everything is working as expected. Simply clone the repo, and then from inside the repo, run

    cloudoron build
    cloudron install -l <subdomain.yourcloudron.tld>
    

    Please post any error logs or problems here so I can continue to improve it.

    Update: somehow LDAP login is failing; need to look into it.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #26

    @nj Oh, this is awesome! Would be great to see someone try this and give some feedback on how well this works.

    What do you think is the "status" of the package otherwise?

    njN 1 Reply Last reply
    3
    • njN nj

      I have packaged Odoo successfully.
      Please check out http://github.com/njsubedi/cloudron-odoo

      I had to patch the default Database connection function to prevent Odoo from connecting to the database named โ€œpostgresโ€ from different places.

      Otherwise, everything is working as expected. Simply clone the repo, and then from inside the repo, run

      cloudoron build
      cloudron install -l <subdomain.yourcloudron.tld>
      

      Please post any error logs or problems here so I can continue to improve it.

      Update: somehow LDAP login is failing; need to look into it.

      luckowL Online
      luckowL Online
      luckow
      translator
      wrote on last edited by
      #27

      @nj Quick feedback after I invested 60 minutes in Odoo as a Cloudron app:
      Instead of an error message, a big ๐Ÿ‘
      The installation runs smoothly and without any problems. Yes, you are right: LDAP does not work.
      Also the typical problems with uploading images or modules, do not exist in your package. Top.

      Pronouns: he/him | Primary language: German

      njN 1 Reply Last reply
      4
      • njN nj

        I have packaged Odoo successfully.
        Please check out http://github.com/njsubedi/cloudron-odoo

        I had to patch the default Database connection function to prevent Odoo from connecting to the database named โ€œpostgresโ€ from different places.

        Otherwise, everything is working as expected. Simply clone the repo, and then from inside the repo, run

        cloudoron build
        cloudron install -l <subdomain.yourcloudron.tld>
        

        Please post any error logs or problems here so I can continue to improve it.

        Update: somehow LDAP login is failing; need to look into it.

        mdreiraM Offline
        mdreiraM Offline
        mdreira
        translator
        wrote on last edited by mdreira
        #28

        @nj WOW!! The entire community will be eternally grateful to you for starting this great challenge. ๐Ÿ‘

        1 Reply Last reply
        4
        • njN nj

          I have packaged Odoo successfully.
          Please check out http://github.com/njsubedi/cloudron-odoo

          I had to patch the default Database connection function to prevent Odoo from connecting to the database named โ€œpostgresโ€ from different places.

          Otherwise, everything is working as expected. Simply clone the repo, and then from inside the repo, run

          cloudoron build
          cloudron install -l <subdomain.yourcloudron.tld>
          

          Please post any error logs or problems here so I can continue to improve it.

          Update: somehow LDAP login is failing; need to look into it.

          luckowL Online
          luckowL Online
          luckow
          translator
          wrote on last edited by
          #29

          @nj The only negative point as far as I can see so far: Your Odoo version is too new ๐Ÿ˜‰
          The OCA module shop for version 15 is almost empty.
          https://odoo-community.org/shop?version=19

          Pronouns: he/him | Primary language: German

          girishG marcusquinnM luckowL 3 Replies Last reply
          1
          • luckowL luckow

            @nj The only negative point as far as I can see so far: Your Odoo version is too new ๐Ÿ˜‰
            The OCA module shop for version 15 is almost empty.
            https://odoo-community.org/shop?version=19

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #30

            @luckow Interesting, why is that? Because people have not ported over to odoo 15?

            luckowL 1 Reply Last reply
            0
            • luckowL luckow

              @nj The only negative point as far as I can see so far: Your Odoo version is too new ๐Ÿ˜‰
              The OCA module shop for version 15 is almost empty.
              https://odoo-community.org/shop?version=19

              marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #31

              @luckow This is a very good point!

              @nj With Odoo, because of the nature of what it is, it makes sense to have separate apps for each whole-number version, because whole-number version updates are quite a big deal in ERP stacks with lots of 3rd-party add-ons to test each time.

              Certainly appreciating your time on this, but to make it more likely to be adopted and also attract more Cloudron users with it being a hosting setup option, if you had time, it would make sense to have an App Package for each of the latest 3 whole-number versions, perhaps even more.

              People really do get stuck on ERP whole number versions sometimes , when they don't have the available resources to upgrade, they often just don't take the risk if it's not hurting them.

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              1 Reply Last reply
              2
              • girishG girish

                @luckow Interesting, why is that? Because people have not ported over to odoo 15?

                luckowL Online
                luckowL Online
                luckow
                translator
                wrote on last edited by
                #32

                @girish yes. Normal for community contributions ๐Ÿ™‚
                The "official" odoo (so called) apps are v15 ready. But there is a module wonderland through community contributions.
                This is "official" odoo -> https://www.odoo.com/ with its enterprise and paid plan.
                This is odoo community -> https://odoo-community.org with its association and software contribution.

                Pronouns: he/him | Primary language: German

                1 Reply Last reply
                2
                • luckowL luckow

                  @nj Quick feedback after I invested 60 minutes in Odoo as a Cloudron app:
                  Instead of an error message, a big ๐Ÿ‘
                  The installation runs smoothly and without any problems. Yes, you are right: LDAP does not work.
                  Also the typical problems with uploading images or modules, do not exist in your package. Top.

                  njN Offline
                  njN Offline
                  nj
                  wrote on last edited by nj
                  #33

                  @luckow I've pushed a fix for LDAP Login. I had to map cn to displayName, and use a proper LDAP filter. I was able to immediately log in after installing Odoo.

                  However, there are two issues:

                  1. You have to log in with email and password. When I tried to have it login with both username and email, Odoo was creating two different users - one with the email and another one with the username.

                  2. Odoo throws a Server Error on the first login for a user from LDAP. From the second time, the error is not raised for the same user. Simply reload the page to "resend" the email/password, or log in again.
                  I spent some time debugging, but couldn't fix it. Looks like a bug in the record cache system of Odoo. If anyone is interested, I have opened an issue.

                  Founder / Coder โ€ข My Apps

                  luckowL 1 Reply Last reply
                  4
                  • girishG girish

                    @nj Oh, this is awesome! Would be great to see someone try this and give some feedback on how well this works.

                    What do you think is the "status" of the package otherwise?

                    njN Offline
                    njN Offline
                    nj
                    wrote on last edited by
                    #34

                    @girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because recvmail is mostly deprecated.

                    As other members said, there will be missing out on a lot of community addons but sooner or later they will be updated to support the latest Odoo version.

                    Founder / Coder โ€ข My Apps

                    girishG L 2 Replies Last reply
                    4
                    • njN nj

                      @girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because recvmail is mostly deprecated.

                      As other members said, there will be missing out on a lot of community addons but sooner or later they will be updated to support the latest Odoo version.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #35

                      @nj said in Odoo - distributed business apps:

                      @girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because recvmail is mostly deprecated.

                      recvmail got un-deprecated and is back in the last release. But I wouldn't worry about that part yet since it's not critical to get the app published. I already have your outline app on my TODO list, so I will get to this after that. Thanks!

                      L 1 Reply Last reply
                      4
                      • njN nj

                        @girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because recvmail is mostly deprecated.

                        As other members said, there will be missing out on a lot of community addons but sooner or later they will be updated to support the latest Odoo version.

                        L Offline
                        L Offline
                        LoudLemur
                        wrote on last edited by
                        #36

                        @nj If this is made available as a beta app in Cloudron, I will test it and give feedback.

                        Thank you incredibly for helping make this very powerful Free Software available to a much wider number of users. I think that including Odoo Community Edition on Cloudron will showcase the functionality that Cloudron can deliver. Well done!

                        If you have managed to make Odoo 15 work, I think both Flectra and LibreERP could be deployed in the same way. LibreERP is based on a much earlier version of Odoo, v11, I think.

                        This is great news.

                        1 Reply Last reply
                        3
                        • girishG girish

                          @nj said in Odoo - distributed business apps:

                          @girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because recvmail is mostly deprecated.

                          recvmail got un-deprecated and is back in the last release. But I wouldn't worry about that part yet since it's not critical to get the app published. I already have your outline app on my TODO list, so I will get to this after that. Thanks!

                          L Offline
                          L Offline
                          LoudLemur
                          wrote on last edited by
                          #37

                          @girish Odoo hosts events all round the world:
                          https://www.odoo.com/event

                          The flagship event, where the next version of Odoo is introduced, is called Odoo Experience, and is usually around November.

                          If we have Odoo running well on Cloudron before then, I think Cloudron could greatly boost the number of users by making a presentation at Odoo Experience. Last year, it was an online event, usually it is in-person and in Belgium.

                          1 Reply Last reply
                          3
                          • njN nj

                            @luckow I've pushed a fix for LDAP Login. I had to map cn to displayName, and use a proper LDAP filter. I was able to immediately log in after installing Odoo.

                            However, there are two issues:

                            1. You have to log in with email and password. When I tried to have it login with both username and email, Odoo was creating two different users - one with the email and another one with the username.

                            2. Odoo throws a Server Error on the first login for a user from LDAP. From the second time, the error is not raised for the same user. Simply reload the page to "resend" the email/password, or log in again.
                            I spent some time debugging, but couldn't fix it. Looks like a bug in the record cache system of Odoo. If anyone is interested, I have opened an issue.

                            luckowL Online
                            luckowL Online
                            luckow
                            translator
                            wrote on last edited by
                            #38

                            @nj just a quick note about your latest improvements: ldap still does not work for me ๐Ÿ˜‰

                            Pronouns: he/him | Primary language: German

                            njN 1 Reply Last reply
                            1
                            • luckowL luckow

                              @nj just a quick note about your latest improvements: ldap still does not work for me ๐Ÿ˜‰

                              njN Offline
                              njN Offline
                              nj
                              wrote on last edited by
                              #39

                              @luckow did you try logging in for the second time? As I have mentioned, first-time login still fails. Also if you could raise an issue on Github with the contents of โ€œ/run/logs/odoo.logโ€ as soon as you log in, I can look into it.

                              Founder / Coder โ€ข My Apps

                              luckowL L 2 Replies Last reply
                              2
                              • njN nj

                                @luckow did you try logging in for the second time? As I have mentioned, first-time login still fails. Also if you could raise an issue on Github with the contents of โ€œ/run/logs/odoo.logโ€ as soon as you log in, I can look into it.

                                luckowL Online
                                luckowL Online
                                luckow
                                translator
                                wrote on last edited by
                                #40

                                @nj Everything back to zero. Those who can read have an advantage. .... ! As you wrote: You have to use the mail address (instead of the username). And you have to reload the whole form.
                                Now it works as described (for me) ๐Ÿ˜‰

                                Pronouns: he/him | Primary language: German

                                1 Reply Last reply
                                4
                                • njN nj

                                  I have packaged Odoo successfully.
                                  Please check out http://github.com/njsubedi/cloudron-odoo

                                  I had to patch the default Database connection function to prevent Odoo from connecting to the database named โ€œpostgresโ€ from different places.

                                  Otherwise, everything is working as expected. Simply clone the repo, and then from inside the repo, run

                                  cloudoron build
                                  cloudron install -l <subdomain.yourcloudron.tld>
                                  

                                  Please post any error logs or problems here so I can continue to improve it.

                                  Update: somehow LDAP login is failing; need to look into it.

                                  rmdesR Offline
                                  rmdesR Offline
                                  rmdes
                                  wrote on last edited by
                                  #41

                                  @nj Amazing work !!!

                                  1 Reply Last reply
                                  0
                                  • luckowL luckow

                                    @nj The only negative point as far as I can see so far: Your Odoo version is too new ๐Ÿ˜‰
                                    The OCA module shop for version 15 is almost empty.
                                    https://odoo-community.org/shop?version=19

                                    luckowL Online
                                    luckowL Online
                                    luckow
                                    translator
                                    wrote on last edited by
                                    #42

                                    @luckow look at https://odoo-community.org/shop?version=19 9 days later! The Odoo-community was busy ๐Ÿ™‚

                                    Pronouns: he/him | Primary language: German

                                    L 1 Reply Last reply
                                    2
                                    • luckowL luckow

                                      @luckow look at https://odoo-community.org/shop?version=19 9 days later! The Odoo-community was busy ๐Ÿ™‚

                                      L Offline
                                      L Offline
                                      LoudLemur
                                      wrote on last edited by
                                      #43

                                      @luckow How much additional memory is Odoo using?

                                      luckowL 1 Reply Last reply
                                      0
                                      • L LoudLemur

                                        @luckow How much additional memory is Odoo using?

                                        luckowL Online
                                        luckowL Online
                                        luckow
                                        translator
                                        wrote on last edited by
                                        #44

                                        @LoudLemur this is package default:
                                        Memory Limit : 2.5 GB

                                        No idea if this is right or wrong. In my (few) test, the app is responsible.

                                        Pronouns: he/him | Primary language: German

                                        1 Reply Last reply
                                        1
                                        • BrutalBirdieB BrutalBirdie referenced this topic on
                                        • samirS Offline
                                          samirS Offline
                                          samir
                                          wrote on last edited by samir
                                          #45

                                          Hey,

                                          I'm cross-posting a message sent in the sponsoring odoo topic.
                                          For those interested in Odoo V10 CE, I've just updated my last script here :
                                          https://git.cloudron.io/altsyst/odoo10-ce-app

                                          I'm not maintaining it anymore, but it's working well for two years now (working with the ldap cloudron server).

                                          Enjoy ๐Ÿ™‚

                                          scookeS L 2 Replies Last reply
                                          5
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search