v 16.0 Third Party 47
Download for v 16.0 Deploy on Odoo.sh
Lines of code 351
Technical Name micro_saas
LicenseAGPL-3
Websitehttps://github.com/davidmonterocrespo24/odoo_micro_saas
Also available in version v 15.0
You bought this module and need support? Click here!
Lines of code 351
Technical Name micro_saas
LicenseAGPL-3
Websitehttps://github.com/davidmonterocrespo24/odoo_micro_saas
Also available in version v 15.0

    Micro SaaS - Odoo Docker Instance Management


  • The Micro SaaS - Odoo Docker Instance Management module is a powerful and flexible solution for efficiently deploying multiple Odoo instances within Docker containers. Designed for businesses requiring an agile development and testing environment, along with the ability to manage several Odoo instances, this module simplifies development environment management and enhances collaboration in software projects.

Odoo Next

Visit us:
https://odoonext.com/

Functionality:

Key Features:

  • Quick Instance Deployment: Easily start and stop Odoo instances with a single click. The module automatically assigns available ports and clones repositories with the corresponding branches.
  • Repository Management: Efficiently manage source code repositories. Associate Git repositories with each instance and control the branches used in each environment.
  • Custom Configuration: Configure and personalize Odoo instances according to your needs. Each instance has its own odoo.conf configuration file, making it easy to tailor to your projects.
  • Activity Logging: Maintain a detailed log of all activities related to instances, including starting, stopping, and restarting Docker containers. Simplify troubleshooting and event tracking.
  • Intuitive Views: Enjoy intuitive and functional views that facilitate the management and monitoring of your instances. The Kanban view provides a quick overview, while the form view allows for detailed configurations.
  • Docker Compatibility: Leverage the power of Docker for efficient container management. This module seamlessly integrates with Docker, ensuring optimal deployment and resource management.
  • Key Benefits:

  • Time Savings: Reduce the time spent configuring and managing Odoo instances by automating repetitive tasks.
  • Enhanced Productivity: Facilitate collaboration among development teams in software projects by providing separate and configurable development environments.
  • Complete Control: Centrally manage and monitor your Odoo instances, maintaining a comprehensive record of activities.
  • Flexibility: Easily adapt instances to individual project needs by customizing configuration files.
  • Scalability: Scale vertically by adding new instances as needed, without complications or disruptions to existing projects.



  • Installation Guide: Docker, Docker Compose, and Git

    Docker:

    1. Visit the official Docker website for installation instructions: Docker Installation Guide: https://docs.docker.com/get-docker/.
    2. Choose the appropriate installation method for your operating system (Windows, macOS, or Linux).
    3. After installation, verify Docker's successful installation by running docker --version.

    Docker Compose:

    1. Docker Compose simplifies the management of multi-container Docker applications. To install Docker Compose:
    2. Follow the official Docker Compose installation guide: Docker Compose Installation: https://docs.docker.com/compose/install.
    3. Select the instructions relevant to your operating system.
    4. Confirm the installation by running docker-compose --version.

    Git:

    1. Git is a distributed version control system. To install Git:
    2. Visit the Git website and download the appropriate installer for your OS: Git Downloads: https://git-scm.com/downloads.
    3. Follow the installation instructions provided.
    4. Verify Git's installation by running git --version.

    Community Support and Contribution

    We're thrilled to offer this module to the community as a free resource for efficient Odoo Docker instance management. We welcome contributions, feedback, and suggestions from the community to enhance and improve this tool further.

    Your support can help us create more features, improve stability, and make it even more valuable for users worldwide. Please feel free to get involved by reporting issues, submitting pull requests, or providing feedback on how we can make this module even better.

    Together, we can make a positive impact on the Odoo community and simplify development processes for all users. Thank you for your support!

    For more information, please contact us at davidmonterocrespo24@gmail.com

    GitHub Repository: https://github.com/davidmonterocrespo24/odoo_micro_saas



    Please log in to comment on this module

    • The author can leave a single reply to each comment.
    • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
    • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
    Please choose a rating from 1 to 5 for this module.
    by
    David Montero Crespo
    on 9/19/23, 6:46 PM Author



    other error when starting docker
    by
    Humanoide servicios para la pyme, S.L.N.E.
    on 9/23/23, 2:48 AM
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/odoo/http.py", line 1584, in _serve_db
        return service_model.retrying(self._serve_ir_http, self.env)
      File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying
        result = func()
      File "/usr/lib/python3/dist-packages/odoo/http.py", line 1611, in _serve_ir_http
        response = self.dispatcher.dispatch(rule.endpoint, args)
      File "/usr/lib/python3/dist-packages/odoo/http.py", line 1815, in dispatch
        result = self.request.registry['ir.http']._dispatch(endpoint)
      File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
        result = endpoint(**request.params)
      File "/usr/lib/python3/dist-packages/odoo/http.py", line 697, in route_wrapper
        result = endpoint(self, *args, **params_ok)
      File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 46, in call_button
        action = self._call_kw(model, method, args, kwargs)
      File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
        return call_kw(request.env[model], method, args, kwargs)
      File "/usr/lib/python3/dist-packages/odoo/api.py", line 461, in call_kw
        result = _call_kw_multi(method, model, args, kwargs)
      File "/usr/lib/python3/dist-packages/odoo/api.py", line 448, in _call_kw_multi
        result = method(recs, *args, **kwargs)
      File "/mnt/extra-addons/otros/micro_saas/models/odoo_docker_instance.py", line 183, in start_instance
        self._update_docker_compose_file(http_port, longpolling_port)
      File "/mnt/extra-addons/otros/micro_saas/models/odoo_docker_instance.py", line 107, in _update_docker_compose_file
        os.makedirs(instance_data_path)
      File "/usr/lib/python3.9/os.py", line 225, in makedirs
        mkdir(name, mode)
    PermissionError: [Errno 13] Permission denied: '/mnt/extra-addons/otros/micro_saas/data/trabucosaas'



    this error appear when you asign repositories
    by
    Humanoide servicios para la pyme, S.L.N.E.
    on 9/23/23, 2:47 AM

    RPC_ERROR
    Odoo Server Error
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/odoo/http.py", line 1584, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
    File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying
    result = func()
    File "/usr/lib/python3/dist-packages/odoo/http.py", line 1611, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
    File "/usr/lib/python3/dist-packages/odoo/http.py", line 1815, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
    File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
    result = endpoint(**request.params)
    File "/usr/lib/python3/dist-packages/odoo/http.py", line 697, in route_wrapper
    result = endpoint(self, *args, **params_ok)
    File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
    return self._call_kw(model, method, args, kwargs)
    File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
    File "/usr/lib/python3/dist-packages/odoo/api.py", line 461, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
    File "/usr/lib/python3/dist-packages/odoo/api.py", line 448, in _call_kw_multi
    result = method(recs, *args, **kwargs)
    File "/usr/lib/python3/dist-packages/odoo/models.py", line 6532, in onchange
    todo = [
    File "/usr/lib/python3/dist-packages/odoo/models.py", line 6535, in
    if name not in done and snapshot0.has_changed(name)
    File "/usr/lib/python3/dist-packages/odoo/models.py", line 6318, in has_changed
    return self[name] != record[name]
    File "/usr/lib/python3/dist-packages/odoo/models.py", line 5891, in __getitem__
    return self._fields[key].__get__(self, type(self))
    File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1157, in __get__
    self.recompute(record)
    File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1365, in recompute
    apply_except_missing(self.compute_value, recs)
    File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1338, in apply_except_missing
    func(records)
    File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1387, in compute_value
    records._compute_field_value(self)
    File "/usr/lib/python3/dist-packages/odoo/models.py", line 4215, in _compute_field_value
    fields.determine(field.compute, self)
    File "/usr/lib/python3/dist-packages/odoo/fields.py", line 97, in determine
    return needle(*args)
    File "/mnt/extra-addons/otros/micro_saas/models/odoo_docker_instance.py", line 30, in _compute_addons_path
    repo_path = name_repo_url = line.repository_id.name.split('/')[-1]
    AttributeError: 'bool' object has no attribute 'split'

    The above server error caused the following client error:
    null


    Not working lot of errors
    by
    Humanoide servicios para la pyme, S.L.N.E.
    on 9/20/23, 6:24 AM

    Not working lot of errors


    Not working in my case

    Re: Not working lot of errors
    by
    David Montero Crespo
    on 9/20/23, 8:55 AM Author

    Hello

    I would appreciate it if you reported the bug on github.

    Copy the bug or describe it at https://github.com/davidmonterocrespo24/odoo_micro_saas


    Greetings