Commit Graph

112 Commits

Author SHA1 Message Date
Guewen Baconnier 59fab426e1 Add a server environment mixin
To automatically convert fields into fields reading values from the
environment. Until now, every module reimplements the same computed
field.
2018-07-24 09:31:47 +02:00
Maxime Chambreuil 5cdc84821a
Merge pull request #12 from guewen/add-config-from-env
Add SERVER_ENV_CONFIG to configure vars from env. variable
2018-07-23 08:37:18 -05:00
Guewen Baconnier 9e98c79a31 Improve documentation regarding variables 2018-07-23 12:48:19 +02:00
Guewen Baconnier 3b074b1061 Add SERVER_ENV_CONFIG_SECRET alongside SERVER_ENV_CONFIG
Allows to isolate the secrets in your deployment
2018-07-23 11:13:26 +02:00
Guewen Baconnier 8a075db418 Add SERVER_ENV_CONFIG to configure vars from env. variable 2018-07-19 09:17:06 +02:00
Stéphane Bidoul (ACSONE) 122da19cd2
trigger Travis build to generate .pot 2018-06-23 18:22:47 +02:00
Stéphane Bidoul (ACSONE) 2e5a563637
remove obsolete .pot files [ci skip] 2018-06-15 23:41:34 +02:00
Pedro M. Baeza 2ca6817e4b
Merge pull request #11 from acsone/11.0-server_environment_remove_dependency_tbi
[11.0] [REF] Server Environment: remove dependency on server_environment_files
2018-06-06 09:26:37 +02:00
Thomas Binsfeld 7cedac6dfb [REF] Server Environment: remove dependency on server_environement_files
From https://github.com/OCA/server-env/issues/10
2018-06-04 16:15:24 +02:00
OCA Git Bot b90a0697b5 [ADD] setup.py [ci skip] 2018-04-19 11:54:03 +02:00
OCA Git Bot 56c9379e4d [UPD] addons table in README.md 2018-03-31 02:40:42 +02:00
Stéphane Bidoul (ACSONE) 9fd1e0296f
server_environment: bump version
To trigger rebuild following change in setup.py
2018-03-30 20:15:59 +02:00
Stéphane Bidoul (ACSONE) 8dfe6c3dca
Merge pull request #9 from acsone/11.0-fix_override_server_env_files_dependcy-bwi
[FIX] server_environment_file does not exist as a packaged addon
2018-03-30 18:32:08 +02:00
Benjamin Willig c2d68cf81d [FIX] server_environment_file does not exist as a packaged addon 2018-02-21 10:17:49 +01:00
OCA Git Bot b0bcc2d699 [ADD] setup.py 2018-01-25 04:36:39 +01:00
OCA Git Bot e2b0b90310 [UPD] addons table in README.md 2018-01-25 02:40:51 +01:00
Guewen Baconnier bc83dd514d
Merge pull request #8 from simahawk/server_environment_ir_config-MIG
[MIG][11.0] server_environment_ir_config_parameter
2018-01-24 14:48:19 +01:00
Thierry Ducrest ed571581c6 [MIG][11.0] server_environment_ir_config_parameter 2018-01-24 12:39:18 +01:00
OCA Git Bot e913559a9e [ADD] setup.py 2018-01-23 04:36:45 +01:00
OCA Git Bot e4cd84dcd6 [UPD] addons table in README.md 2018-01-23 02:41:11 +01:00
Guewen Baconnier 80813dea95
Merge pull request #7 from simahawk/11.0-mig-mail_environment
[11.0][MIG] mail_environment
2018-01-19 10:41:13 +01:00
OCA Transbot f69a9e3894 OCA Transbot updated translations from Transifex 2018-01-16 15:29:53 +01:00
Adrien Peiffer (ACSONE) 3ef843f2ea [FIX] server_environment_ir_config_parameter: missing return. 2018-01-16 15:29:53 +01:00
Stéphane Bidoul (ACSONE) c25933813e [FIX] missing sudo in server_environment_ir_config_param
Without this sudo get_param would fail when the first user reading a parameter that has changed in the configuration file does not have write access to system parameters.
2018-01-16 15:29:53 +01:00
Denis Roussel 0742d816ac [10.0][FIX] server_environment_ir_config_parameter Avoid loading import
Odoo loads modules that contain static directory, so it wanted to load server_environment_files but it does not exist
2018-01-16 15:15:46 +01:00
Stéphane Bidoul (ACSONE) e650ca0c11 server_environment_ir_config_parameter: migrate to 10.0 2018-01-16 15:15:46 +01:00
Stéphane Bidoul (ACSONE) b1b6edf607 server_environment_ir_config_parameter: update roadmap 2018-01-16 15:15:46 +01:00
Stéphane Bidoul (ACSONE) 819b324ec8 server_environment_ir_config_param: silently replace values by config values
This is much more robust that raising an error, and let modules
load ir.config_parameter from xml data files, while still enforcing
values from the config files.
2018-01-16 15:15:46 +01:00
Stéphane Bidoul (ACSONE) 6eb4f39ca7 server_environment_ir_config_parameter: handle empty values better 2018-01-16 15:15:46 +01:00
Stéphane Bidoul (ACSONE) dc993a9ba7 server_environment_ir_config_parameter: work around double ormcache issue 2018-01-16 15:15:46 +01:00
Stéphane Bidoul (ACSONE) aab9f4250f server_environment_ir_config_parameter 2018-01-16 15:15:46 +01:00
Simone Orsi 03fe64687a [11.0][MIG] mail_environment 2018-01-16 10:55:06 +01:00
OCA Transbot 7a38be1fd7 OCA Transbot updated translations from Transifex 2018-01-16 10:25:39 +01:00
Stéphane Bidoul (ACSONE) cdd6f36190 [FIX] mail_environment must not depend on server_environment_files
Depending on server_environment is enough
2018-01-16 10:25:39 +01:00
Yannick Vaucher 9bdbe7024d README.rst - Fix layout 2018-01-16 10:25:39 +01:00
Guewen Baconnier 6fe18f7e72 Migrate mail_environment to 10.0 2018-01-16 10:25:39 +01:00
Pedro M. Baeza 032fba2317 [MIG] pre migration changes
[MIG] Rename manifest files
2018-01-16 10:25:39 +01:00
Alexandre Fayolle b7f9171688 9.0 migration of mail_environment 2018-01-16 10:25:39 +01:00
Pedro M. Baeza 8a4193d2cd [MIG] Make modules uninstallable 2018-01-16 10:25:38 +01:00
Stéphane Bidoul 408fed727c [UPD] prefix versions with 8.0 2018-01-16 10:25:38 +01:00
Holger Brunn 85ecd9a176 [FIX] like #230, but for mail_environment 2018-01-16 10:25:38 +01:00
Yannick Vaucher 43ab3645e2 Add missing default oca icons 2018-01-16 10:25:38 +01:00
Alexandre Fayolle 1b63789af5 fix runbot warning
rename *_xml entries in manifest
2018-01-16 10:25:38 +01:00
Alexandre Fayolle 06e1180a84 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2018-01-16 10:25:38 +01:00
Guewen Baconnier fd2908330a mail_eniroment misc improvements
* Move mail_environment in root folder
* Use absolute imports for openerp and new Model classes
* Use cr argument instead of cursor, propagate context
* Update fields, remove deprecated 'method' argument, change 'states'
  otherwise the fields are not readonly (seems that the 'states' of the
  original field is kept.
* Activate the installable flag
* Indentation of the view with 2 spaces
* Remove only the attrs attribute instead of redefining the whole field
* pep8
* crm is not a dependency for mail_environment
* Fix typo in manifest
2018-01-16 10:25:38 +01:00
Jose Morales e3be39de76 [IMP] 7.0 no view type required 2018-01-16 10:25:38 +01:00
Joel Grand-Guillaume 7484700e85 [FIX] Add fnct_search on type in order to avoid error when ir.cron run the fetch task 2018-01-16 10:25:38 +01:00
@ 5fc130baf1 [IMP] mail_environment misc 2018-01-16 10:25:38 +01:00
Joël Grand-Guillaume a539cdabe5 [add] mail_environment 2018-01-16 10:25:38 +01:00
OCA Git Bot df612d9e3d [ADD] setup.py 2018-01-12 04:36:49 +01:00