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.
  • 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 Offline
              luckowL Offline
              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 Offline
                  luckowL Offline
                  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 Offline
                      luckowL Offline
                      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 Offline
                          luckowL Offline
                          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
                            • samirS samir

                              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 Offline
                              scookeS Offline
                              scooke
                              wrote on last edited by
                              #46

                              @samir Is the install process the same as the other recently shared Odoo?

                              A life lived in fear is a life half-lived

                              samirS 1 Reply Last reply
                              0
                              • samirS samir

                                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 πŸ™‚

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

                                @samir Thank you very much for this. I know you are no longer maintaining this, but is it possible before you leave the project, if it does not take too much time, to incorporate the new script suggested here:

                                https://git.cloudron.io/altsyst/odoo-ce-app/-/issues/1

                                mdreiraM samirS 2 Replies Last reply
                                1
                                • L LoudLemur

                                  @samir Thank you very much for this. I know you are no longer maintaining this, but is it possible before you leave the project, if it does not take too much time, to incorporate the new script suggested here:

                                  https://git.cloudron.io/altsyst/odoo-ce-app/-/issues/1

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

                                  @girish Would it be possible to pick up the slack and add Odoo or Flectra in the near future to Cloudron? This would be amazing.

                                  1 Reply Last reply
                                  2
                                  • scookeS scooke

                                    @samir Is the install process the same as the other recently shared Odoo?

                                    samirS Offline
                                    samirS Offline
                                    samir
                                    wrote on last edited by
                                    #49

                                    @scooke the install process is the cloudron custom app process, described in the doc

                                    1 Reply Last reply
                                    0
                                    • L LoudLemur

                                      @samir Thank you very much for this. I know you are no longer maintaining this, but is it possible before you leave the project, if it does not take too much time, to incorporate the new script suggested here:

                                      https://git.cloudron.io/altsyst/odoo-ce-app/-/issues/1

                                      samirS Offline
                                      samirS Offline
                                      samir
                                      wrote on last edited by samir
                                      #50

                                      @LoudLemur The current script is based on the Yenthe666 script, I will publish an odoo12-ce-app very soon. It's pretty easy to adapt the script for odoo13 if you want it, though I've heard (to confirm) that the odoo based on even version are usually more stable than the odd one... I tend to pass the odd version, waiting for the even one.

                                      In my opinion, it makes sense to have separate repo for each odoo version. It's not obvious to update a odoo version, since it requires a special script to update the database (and other stuff...)

                                      1 Reply Last reply
                                      4
                                      • samirS Offline
                                        samirS Offline
                                        samir
                                        wrote on last edited by
                                        #51

                                        I've just published the cloudron custom app odoo 12 CE here :
                                        https://git.cloudron.io/altsyst/odoo12-ce-app/

                                        1 Reply Last reply
                                        6
                                        • samirS Offline
                                          samirS Offline
                                          samir
                                          wrote on last edited by samir
                                          #52

                                          For using the cloudron ldap :

                                          1. Create first the user in odoo with an empty password
                                          2. open the ldap parameters in odoo (as admin, config>settings)
                                          3. enter into an odoo terminal and get the cloudron ldap parameters
                                          4. fill in the ldap cloudron parameters (ldap server address, binddn, port, password)
                                          5. For LDAP base : ou=users,dc=cloudron
                                          6. restart odoo app (or cloudron, I don't remember)
                                          doodlemania2D 1 Reply Last reply
                                          4
                                          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