The module allows to create different wordpress configurations for different companies.
Table of contents
One configuration record should be created for each company. (in Settings/Technical menu/Wordpress configuration)
Upon installation, the module tries to create a default configuration for the current company by reading the following values in Odoo's config file:
wordpress_host
: the server url of your wordpress installation (ex: wordpress.local)wordpress_user
: a wordpress user which have read/write access to the childpoolwordpress_pwd
: the password of the wordpress user
The get_config method fetch the config for the current company or the one passed through company_id
`python wp_config = env['wordpress.configuration'].get_config() # use: wp_config.host, wp_config.user, wp_config.password
`
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- Compassion CH
This module is part of the CompassionCH/compassion-modules project on GitHub.
You are welcome to contribute.