Skip to content

mistiru/django-odoo-orm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Odoo ORM

Django Odoo ORM is a Django app to provide a fully setup ORM to Odoo in any Django project. This project adds nothing but an app that sets the connection up at startup.

Last version Python versions Django versions Licence

Quick start

  1. Add "django_odoo_orm" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
    # ...
    'django_odoo_orm',
]
  1. Add "django_odoo_orm.context_processors.odoo_connection" to your TEMPLATES setting like this:
TEMPLATES = [
    {
        # ...
        'OPTIONS': {
            'context_processors': [
                # ...
                'django_odoo_orm.context_processors.odoo_connection',
            ],
        },
    },
]

About

A kind of Python ORM for Odoo XML-RPC API inspired by Django ORM.

Resources

License

Stars

Watchers

Forks

Languages