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.2k 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.
  • 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
            • 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.

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

              @nj

              What is the latest on installing Odoo? Is it ready as a Cloudron Beta application yet?

              luckowL 1 Reply Last reply
              0
              • L LoudLemur

                @nj

                What is the latest on installing Odoo? Is it ready as a Cloudron Beta application yet?

                luckowL Offline
                luckowL Offline
                luckow
                translator
                wrote on last edited by
                #59

                @LoudLemur nope.
                but it's been working as a custom app on one of my instances for a few weeks. to get an idea of how odoo works and what you need to learn to implement an erp system in your company, it's top. as a reliable critical app for your company (without knowledge about content migration), you should wait until odoo is an official cloudron app.

                Pronouns: he/him | Primary language: German

                L 1 Reply Last reply
                3
                • luckowL luckow

                  @LoudLemur nope.
                  but it's been working as a custom app on one of my instances for a few weeks. to get an idea of how odoo works and what you need to learn to implement an erp system in your company, it's top. as a reliable critical app for your company (without knowledge about content migration), you should wait until odoo is an official cloudron app.

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

                  @luckow When that day happens, I shall be grinning from ear to ear! I shall probably be jumping up and down in joy too!

                  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.

                    M Offline
                    M Offline
                    msbt
                    App Dev
                    wrote on last edited by
                    #61

                    @nj thanks for your packaging efforts! I just tried to run odoo and it wouldn't start, it was always looping the First run. Initializing DB... bit. I've jumped in the terminal and ran the cmds manually and eventually figured out, that the /app/data needed chowning to the cloudron-user before it worked - which it now does! So all we need to do is add /app/data/ to https://github.com/njsubedi/cloudron-odoo/blob/main/start.sh#L17

                    M 1 Reply Last reply
                    2
                    • M msbt

                      @nj thanks for your packaging efforts! I just tried to run odoo and it wouldn't start, it was always looping the First run. Initializing DB... bit. I've jumped in the terminal and ran the cmds manually and eventually figured out, that the /app/data needed chowning to the cloudron-user before it worked - which it now does! So all we need to do is add /app/data/ to https://github.com/njsubedi/cloudron-odoo/blob/main/start.sh#L17

                      M Offline
                      M Offline
                      makemrproper
                      wrote on last edited by
                      #62

                      @msbt Odoo Community edition hosted on Cloudron would be a massive value add to the Cloudron portfolio. I totally recommend using Cloudron in a business to structure and improve processes. Unless your company has the budget to run Salesforce, or Service Now to do the same.

                      Cloudron fan
                      Paying Customer

                      L 1 Reply Last reply
                      3
                      • M makemrproper

                        @msbt Odoo Community edition hosted on Cloudron would be a massive value add to the Cloudron portfolio. I totally recommend using Cloudron in a business to structure and improve processes. Unless your company has the budget to run Salesforce, or Service Now to do the same.

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

                        @makemrproper There is a large and active development community for Odoo. I think it would be quite excited to hear about a Beta of Odoo on Cloudron and they could contribute quite a lot. Hopefully, the other great applications available on Cloudron would catch their notice too, and people would join us.

                        1 Reply Last reply
                        2
                        • nebulonN nebulon

                          Open source ERP and CRM

                          https://www.odoo.com/
                          https://github.com/odoo/odoo.

                          https://git.cloudron.io/cloudron/app-requests/issues/8

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

                          @nebulon
                          I hope we are still making progress on supporting Odoo Community Edition on Cloudron.

                          I think Cloudron users are aware of how powerful a tool Cloudron is. Odoo is a bit like Cloudron, in that it offers one click deployment of modules.

                          Unlike Cloudron, all the modules on Odoo are built to be interoperable. They push data to each other as needed, populating fields and helping you with auto-fill and reducing laboriousness of many manual tasks.

                          If you are familiar with Nextcloud (which is of course on Cloudron) then you will be right at home with Odoo.

                          mdreiraM 1 Reply Last reply
                          2
                          • L LoudLemur

                            @nebulon
                            I hope we are still making progress on supporting Odoo Community Edition on Cloudron.

                            I think Cloudron users are aware of how powerful a tool Cloudron is. Odoo is a bit like Cloudron, in that it offers one click deployment of modules.

                            Unlike Cloudron, all the modules on Odoo are built to be interoperable. They push data to each other as needed, populating fields and helping you with auto-fill and reducing laboriousness of many manual tasks.

                            If you are familiar with Nextcloud (which is of course on Cloudron) then you will be right at home with Odoo.

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

                            @LoudLemur I too hope to see odoo in Cloudron soon. A lot of things would be simplified for us.

                            1 Reply Last reply
                            0
                            • nebulonN nebulon

                              Open source ERP and CRM

                              https://www.odoo.com/
                              https://github.com/odoo/odoo.

                              https://git.cloudron.io/cloudron/app-requests/issues/8

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

                              @nebulon What is the latest on packaging Odoo for Cloudron? Is there any more progress?

                              mdreiraM 1 Reply Last reply
                              1
                              • L LoudLemur

                                @nebulon What is the latest on packaging Odoo for Cloudron? Is there any more progress?

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

                                @LoudLemur looks like no one is working on this 😢

                                It seems @nj and @samir managed to package it, but I have no idea how to test a custom app

                                L 1 Reply Last reply
                                0
                                • mdreiraM mdreira

                                  @LoudLemur looks like no one is working on this 😢

                                  It seems @nj and @samir managed to package it, but I have no idea how to test a custom app

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

                                  @mdreira

                                  Come on, Cloudron team, please help the last stage of having Odoo supported on Cloudron!

                                  1 Reply Last reply
                                  2
                                  • nebulonN nebulon

                                    Open source ERP and CRM

                                    https://www.odoo.com/
                                    https://github.com/odoo/odoo.

                                    https://git.cloudron.io/cloudron/app-requests/issues/8

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

                                    @nebulon

                                    This App request was made over 4 year ago. It is still a brilliant suggestion.

                                    Odoo 16 has just been released. You can see the new features in the following videos:

                                    Meet Odoo 16 - All the New Features:
                                    https://yewtu.be/watch?v=RVFZL3D9plg

                                    What is new in Odoo 16 - Keynote:
                                    https://yewtu.be/watch?v=UhEqLlbeLzM

                                    Odoo 16 Release Notes:
                                    https://www.odoo.com/odoo-16-release-notes

                                    girishG potemkin_aiP 2 Replies Last reply
                                    1
                                    • L LoudLemur

                                      @nebulon

                                      This App request was made over 4 year ago. It is still a brilliant suggestion.

                                      Odoo 16 has just been released. You can see the new features in the following videos:

                                      Meet Odoo 16 - All the New Features:
                                      https://yewtu.be/watch?v=RVFZL3D9plg

                                      What is new in Odoo 16 - Keynote:
                                      https://yewtu.be/watch?v=UhEqLlbeLzM

                                      Odoo 16 Release Notes:
                                      https://www.odoo.com/odoo-16-release-notes

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

                                      @LoudLemur Odoo is not an easy app to selfhost. And to add to that, it's non-trivial to make keep this app updated and help people migrate across versions (like they expect Cloudron apps to) with our current pricing model and target group. Odoo itself is a framework to run apps and each app has it's own updates. It's all very complex.

                                      Not to say we won't package this, but it's not a priority.

                                      mdreiraM timconsidineT L 3 Replies Last reply
                                      3
                                      • L LoudLemur

                                        @nebulon

                                        This App request was made over 4 year ago. It is still a brilliant suggestion.

                                        Odoo 16 has just been released. You can see the new features in the following videos:

                                        Meet Odoo 16 - All the New Features:
                                        https://yewtu.be/watch?v=RVFZL3D9plg

                                        What is new in Odoo 16 - Keynote:
                                        https://yewtu.be/watch?v=UhEqLlbeLzM

                                        Odoo 16 Release Notes:
                                        https://www.odoo.com/odoo-16-release-notes

                                        potemkin_aiP Offline
                                        potemkin_aiP Offline
                                        potemkin_ai
                                        wrote on last edited by potemkin_ai
                                        #71

                                        @LoudLemur do you possibly have a business case here?

                                        I mean that if you have Odoo working, it would allow you to do X, which will give you an opportunity do Y, so it will generate you Z amount of money and hence you are ready to pay W for that?

                                        L 1 Reply Last reply
                                        0
                                        • girishG girish

                                          @LoudLemur Odoo is not an easy app to selfhost. And to add to that, it's non-trivial to make keep this app updated and help people migrate across versions (like they expect Cloudron apps to) with our current pricing model and target group. Odoo itself is a framework to run apps and each app has it's own updates. It's all very complex.

                                          Not to say we won't package this, but it's not a priority.

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

                                          @girish Your answer already takes away all my hope. 😭

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