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 37.9k 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

    @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
                                • samirS samir

                                  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 Offline
                                  doodlemania2D Offline
                                  doodlemania2
                                  App Dev
                                  wrote on last edited by
                                  #53

                                  @samir Attempting from your script, stuck in a loop:
                                  Traceback (most recent call last):
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo-bin", line 5, in <module>
                                  Apr 08 12:52:02 import odoo
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/init.py", line 125, in <module>
                                  Apr 08 12:52:02 from . import modules
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/init.py", line 8, in <module>
                                  Apr 08 12:52:02 from . import db, graph, loading, migration, module, registry
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/loading.py", line 17, in <module>
                                  Apr 08 12:52:02 import odoo.modules.migration
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/migration.py", line 12, in <module>
                                  Apr 08 12:52:02 from odoo.modules.module import get_resource_path
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/module.py", line 25, in <module>
                                  Apr 08 12:52:02 from odoo import SUPERUSER_ID, api
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/api.py", line 1198, in <module>
                                  Apr 08 12:52:02 from odoo.modules.registry import Registry
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/registry.py", line 18, in <module>
                                  Apr 08 12:52:02 from odoo.sql_db import TestCursor
                                  Apr 08 12:52:02 File "/app/code/odoo-server/odoo/sql_db.py", line 49, in <module>
                                  Apr 08 12:52:02 import tools
                                  Apr 08 12:52:02 ImportError: No module named 'tools'
                                  Apr 08 12:52:10 => Ensure directories
                                  Apr 08 12:52:10 => Patch config file
                                  Apr 08 12:52:11 => Ensure data ownership

                                  samirS 1 Reply Last reply
                                  1
                                  • doodlemania2D doodlemania2

                                    @samir Attempting from your script, stuck in a loop:
                                    Traceback (most recent call last):
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo-bin", line 5, in <module>
                                    Apr 08 12:52:02 import odoo
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/init.py", line 125, in <module>
                                    Apr 08 12:52:02 from . import modules
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/init.py", line 8, in <module>
                                    Apr 08 12:52:02 from . import db, graph, loading, migration, module, registry
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/loading.py", line 17, in <module>
                                    Apr 08 12:52:02 import odoo.modules.migration
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/migration.py", line 12, in <module>
                                    Apr 08 12:52:02 from odoo.modules.module import get_resource_path
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/module.py", line 25, in <module>
                                    Apr 08 12:52:02 from odoo import SUPERUSER_ID, api
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/api.py", line 1198, in <module>
                                    Apr 08 12:52:02 from odoo.modules.registry import Registry
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/registry.py", line 18, in <module>
                                    Apr 08 12:52:02 from odoo.sql_db import TestCursor
                                    Apr 08 12:52:02 File "/app/code/odoo-server/odoo/sql_db.py", line 49, in <module>
                                    Apr 08 12:52:02 import tools
                                    Apr 08 12:52:02 ImportError: No module named 'tools'
                                    Apr 08 12:52:10 => Ensure directories
                                    Apr 08 12:52:10 => Patch config file
                                    Apr 08 12:52:11 => Ensure data ownership

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

                                    @doodlemania2 which script? Odoo 10 or odoo 12? Could you fill an issue on git directly to keep track of the issue? Thanks!

                                    doodlemania2D 1 Reply Last reply
                                    1
                                    • samirS samir

                                      @doodlemania2 which script? Odoo 10 or odoo 12? Could you fill an issue on git directly to keep track of the issue? Thanks!

                                      doodlemania2D Offline
                                      doodlemania2D Offline
                                      doodlemania2
                                      App Dev
                                      wrote on last edited by
                                      #55

                                      @samir that was from 12, will do so!

                                      1 Reply Last reply
                                      2
                                      • L Offline
                                        L Offline
                                        LoudLemur
                                        wrote on last edited by
                                        #56

                                        @girish Is this ready to be included as an experimental status Cloudron application yet?

                                        doodlemania2D 1 Reply Last reply
                                        0
                                        • L LoudLemur

                                          @girish Is this ready to be included as an experimental status Cloudron application yet?

                                          doodlemania2D Offline
                                          doodlemania2D Offline
                                          doodlemania2
                                          App Dev
                                          wrote on last edited by
                                          #57

                                          @LoudLemur I don't think so - at least not yet. Unable to get it to install cleanly on my CR server, but I think it's close.

                                          1 Reply Last reply
                                          1
                                          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