Skip to main content

Adjutant-Odoo is a plugin for Adjutant which adds a few actions and views specific to the Odoo ERP system. These views can then be setup as active for your users, and the actions can be used with your existing taskviews. Or just as easily extend these views and actions for your own development.

Installing

To install:

python setup.py install

or

pip install adjutant-odoo

After installation is complete add odoo_actions and odoo_views to your ADDITIONAL_APPS in the Adjutant conf.

You can then use the Odoo actions as part of your Adjutant workflows, and setup the Odoo views from this package in your ACTIVE_TASKVIEWS. For example to introduce signups backed to Odoo you’d replace your other signup view in ACTIVE_TASKVIEWS with OpenStackSignUp.

You will also need to add some taskview settings for the new signups view:

signup:
    additional_actions:
        - NewProjectDefaultNetworkAction
    notifications:
        standard:
            EmailNotification:
                emails:
                    - signups@example.com
            RTNotification:
                queue: signups
        error:
            EmailNotification:
                emails:
                    - signups@example.com
            RTNotification:
                queue: signups
    default_region: RegionOne
    # If 'None' (null in yaml), will default to domain as parent.
    # If domain isn't set explicity, will use Adjutant's admin user domain.
    default_domain_id: default
    default_parent_id: null
    setup_network: True

Once active, and if debug is turned on, you can see the endpoint and test it with the browsable django-rest-framework api.

You will also need to add ‘adjutant-odoo’ plugin settings:

PLUGIN_SETTINGS:
    adjutant-odoo:
        odoorpc:
            odoo:
                hostname: <odoo_hostname>
                protocol: jsonrpc+ssl
                port: 443
                version: <odoo_version>
                database: <odoo_db_name>
                user: <odoo_username
                password: <odoo_password>

Metadata

Release files for adjutant-odoo 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adjutant-odoo 0.2.0
File Size Uploaded
adjutant-odoo-0.2.0.tar.gz 14.5 kB Details

Release files / adjutant-odoo-0.2.0.tar.gz

Download URL adjutant-odoo-0.2.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e570bb1575de22c0ff0c7b7129d91added0bcce702517f338d1ddaf9a1e273b7
BLAKE2b-256 checksum
How to use checksums
2fd4fa6f093803c8b9aa80fd9332a6ccb034027e4041ebbcf0c6f142b0a45d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.1a3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page