forked from Pexego/PXGO_00053_2013_VT
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbase-odoo-pgcontrib-it.cfg
242 lines (222 loc) · 10.2 KB
/
base-odoo-pgcontrib-it.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
[sources]
anybox.recipe.odoo = git https://github.com/anybox/anybox.recipe.odoo/ branch=master
supervisor = git https://github.com/Supervisor/supervisor/ branch=master
[scripts]
recipe = zc.recipe.egg:scripts
eggs = ${buildout:eggs}
dependent-scripts = true
[postgres]
recipe = hexagonit.recipe.cmmi
url = http://ftp.postgresql.org/pub/source/v${settings:postgres_version}/postgresql-${settings:postgres_version}.tar.bz2
keep-compile-dir = false
configure-options = --with-pgport=${odoo:options.db_port}
make-options = world
make-targets = install-world
[postgres-conf]
recipe = collective.recipe.template
input = ${buildout:templates-directory}/postgresql.conf.in
output = ${buildout:config-directory}/postgresql.conf
[pg-hba-conf]
recipe = collective.recipe.template
input = ${buildout:templates-directory}/pg_hba.conf.in
output = ${buildout:config-directory}/pg_hba.conf
[pg-ident-conf]
recipe = collective.recipe.template
input = ${buildout:templates-directory}/pg_ident.conf.in
output = ${buildout:config-directory}/pg_ident.conf
[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
include-dirs = ${postgres:location}/include
library-dirs = ${postgres:location}/lib
rpath = ${postgres:location}/lib
[numpy]
recipe = collective.recipe.cmd
cmds =
tmpdir=`mktemp -d`
cd $tmpdir
unzip -x ${buildout:packages}/numpy-1.13.1.zip
${buildout:directory}/bin/buildout setup numpy-1.13.1 install
on_install = true
[initdb]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
test -e ${buildout:directory}/data ||
${postgres:location}/bin/initdb ${buildout:directory}/data
test -e ${buildout:bin-directory}/psql ||
ln -s ${postgres:location}/bin/psql ${buildout:bin-directory}
echo ""
echo "To start PosrgreSQL and Supervisord run:"
echo "$ supervisord"
echo ""
echo "To create the database run:"
echo "$ psql -d postgres -c 'CREATE DATABASE ${odoo:options.db_name}'"
echo ""
echo "To shutdown Supervisord with all deamons:"
echo "$ supervisorctl shutdown run:"
echo ""
echo "To Restart Postgres run:"
echo "$ supervisorctl restart postgres"
echo ""
echo "To start Odoo run:"
echo "$ start_odoo"
echo ""
sleep 2
sleep 10
${postgres:location}/bin/createdb ${odoo:options.db_name}
if [ ${settings:odoo_unaccent} = True ]; then
${postgres:location}/bin/psql -d ${odoo:options.db_name} -c 'CREATE EXTENSION IF NOT EXISTS unaccent'
fi
[odoo]
recipe = anybox.recipe.odoo:server
vcs-clear-retry = True
version = git https://github.com/OCA/OCB.git odoo 11.0
addons = local project-addons
git https://github.com/OCA/reporting-engine.git odoo-repos/reporting-engine 11.0
git https://github.com/OCA/mis-builder.git odoo-repos/mis-builder 11.0
git https://github.com/OCA/l10n-italy.git odoo-repos/italy 11.0
git https://github.com/OCA/l10n-spain.git odoo-repos/spain 11.0
git https://github.com/OCA/bank-statement-import.git odoo-repos/bank-statement-import 11.0
git https://github.com/OCA/partner-contact.git odoo-repos/partner-contact 11.0
git https://github.com/OCA/product-attribute.git odoo-repos/product-attribute 11.0
git https://github.com/OCA/server-tools.git odoo-repos/server-tools 11.0
git https://github.com/OCA/server-ux.git odoo-repos/server-ux 11.0
git https://github.com/OCA/bank-payment.git odoo-repos/bank-payment 11.0
git https://github.com/OCA/account-payment.git odoo-repos/account-payment 11.0
git https://github.com/OCA/account-financial-reporting.git odoo-repos/account-financial-reporting 11.0
git https://github.com/OCA/account-financial-tools.git odoo-repos/account-financial-tools 11.0
git https://github.com/OCA/web.git odoo-repos/web 11.0
git https://github.com/OCA/account-invoicing.git odoo-repos/account-invoicing 11.0
git https://github.com/OCA/account-invoice-reporting.git odoo-repos/account-invoice-reporting 11.0
git https://github.com/OCA/purchase-workflow.git odoo-repos/purchase-workflow 11.0
git https://github.com/OCA/report-print-send.git odoo-repos/report-print-send 11.0
git https://github.com/OCA/queue.git odoo-repos/queue 11.0
git https://github.com/OCA/connector.git odoo-repos/connector 11.0
git https://github.com/OCA/sale-workflow.git odoo-repos/sale-workflow 11.0
git https://github.com/OCA/bank-statement-reconcile.git odoo-repos/bank-statement-reconcile 11.0
git https://github.com/OCA/product-variant.git odoo-repos/product-variant 11.0
git https://github.com/OCA/stock-logistics-warehouse.git odoo-repos/stock-logistics-warehouse 11.0
git https://github.com/OCA/stock-logistics-workflow.git odoo-repos/stock-logistics-workflow 11.0
git https://github.com/OCA/social.git odoo-repos/social 11.0
git https://github.com/OCA/stock-logistics-reporting.git odoo-repos/stock-logistics-reporting 11.0
git https://github.com/OCA/community-data-files.git odoo-repos/community-data-files 11.0
git https://github.com/OCA/crm.git odoo-repos/crm 11.0
git https://github.com/OCA/currency.git odoo-repos/currency 11.0
git https://github.com/OCA/account-analytic.git odoo-repos/analytic 11.0
git https://github.com/OCA/rma.git odoo-repos/rma 11.0
git https://github.com/OCA/edi.git odoo-repos/edi 11.0
git https://github.com/OCA/intrastat.git odoo-repos/intrastat 11.0
git https://github.com/OCA/credit-control.git odoo-repos/credit-control 472724ce85cbd9b80564a2eb9a44e71eac64341d
git https://github.com/OCA/project.git odoo-repos/project 11.0
git https://github.com/OCA/contract.git odoo-repos/contract 11.0
git https://github.com/Comunitea/external_modules.git odoo-repos/external 11.0
git https://github.com/OCA/server-brand.git odoo-repos/server-brand 11.0
git https://github.com/OCA/connector-telephony.git odoo-repos/connector-telephony 11.0
git https://github.com/gityopie/odoo-addons.git odoo-repos/gityopie_addons 11.0
git https://github.com/OCA/server-auth.git odoo-repos/server-auth 11.0
local parts/odoo/addons/
merges = git origin odoo-repos/rma pull/130/head ; crm_rma_location
git origin odoo-repos/rma pull/129/head ; crm_claim_rma_code
git origin odoo-repos/crm pull/193/head ; crm_claim_type
git https://github.com/Comunitea/stock-logistics-warehouse.git odoo-repos/stock-logistics-warehouse 11.0-mig-_stock_reserve
git https://github.com/Comunitea/stock-logistics-warehouse.git odoo-repos/stock-logistics-warehouse 11.0-mig-stock_reserve_sale
git https://github.com/Comunitea/account-invoicing.git odoo-repos/account-invoicing 11.0_fix_invoice_merge_pr ; account_invoice_merge
git origin odoo-repos/stock-logistics-workflow pull/606/head ; purchase_stock_picking_invoice_link
git origin odoo-repos/italy pull/1969/head ; refactoring from 12
git origin odoo-repos/italy pull/1404/head ; Remove newlines from base64 file before decoding
git origin odoo-repos/italy pull/680/head ; l10n_it_ricevute_bancarie
git https://github.com/Comunitea/bank-payment.git odoo-repos/bank-payment 11.0-account_payment_order-allow-negative ; Allow refunds in payment order
eggs = unidecode
ipdb
PyPDF2
unicodecsv
anybox.recipe.odoo
zeep
requests
pyopenssl
suds-jurko
peewee<3.0.0
paramiko<2.0.0
wtf-peewee<3.0.0
Flask<0.13
Flask-XML-RPC-Re
flask-peewee<0.7
pycups
apscheduler
matplotlib<2.0.0
openupgradelib
scipy==1.0.0
seaborn<0.9.0
Shapely==1.5.9
xlrd
psycogreen
phonenumbers
cachetools<3.0.0
chardet
zpl2
pandas<0.15.2
pyxb==1.2.6
codicefiscale
requests_oauthlib
asn1crypto
options.db_host = ${settings:postgres_host}
options.admin_passwd = ${settings:odoo_admin_passwd}
options.db_name = ${settings:postgres_db_name}
options.db_user = ${settings:postgres_user}
options.db_password = ${settings:postgres_password}
options.db_maxconn = ${settings:postgres_maxconn}
options.db_port = ${settings:postgres_port}
options.http_port = ${settings:odoo_xmlrpc_port}
options.workers = ${settings:odoo_workers}
options.limit_time_cpu = ${settings:odoo_limit_time_cpu}
options.limit_time_real = ${settings:odoo_limit_time_real}
options.log_level = ${settings:odoo_log_level}
options.unaccent = ${settings:odoo_unaccent}
options.without_demo = ${settings:odoo_without_demo}
options.pg_path = ${settings:odoo_pg_path}
options.dbfilter =${settings:odoo_dbfilter}
options.limit_memory_hard = ${settings:odoo_limit_memory_hard}
options.limit_memory_soft = ${settings:odoo_limit_memory_soft}
options.longpolling_port = ${settings:odoo_longpolling_port}
options.server_wide_modules=web,queue_job
options.proxy_mode = ${settings:odoo_proxy_mode}
options.list_db = ${settings:odoo_list_db}
queue_job.channels=root:2
[env]
recipe = gocept.recipe.env
[static-analysis]
recipe = zc.recipe.egg
eggs = flake8
[supervisor]
recipe = collective.recipe.supervisor
supervisord-conf = ${buildout:directory}/etc/supervisord.conf
logfile = ${buildout:directory}/var/log/supervisord.log
pidfile = ${buildout:directory}/var/supervisord.pid
loglevel = info
logfile_odoo = ${buildout:directory}/var/log/odoo-stdout.log
port = ${settings:supervisor_port}
serverurl = ${settings:supervisor_url}:${supervisor:port}
programs =
20 odoo (autostart=true) "${buildout:directory}/bin/start_odoo" [ --logfile "${:logfile_odoo}"] ${buildout:directory} true
50 flask ${buildout:directory}/bin/start_flask_app.sh
[prepare-flask-script]
recipe = collective.recipe.genshi
input = ${buildout:templates-directory}/start_flask_app.in
output = ${buildout:bin-directory}/start_flask_app.sh
[create-flask-script]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
chmod a+x ${buildout:bin-directory}/start_flask_app.sh
[supervisor-cron]
recipe = z3c.recipe.usercrontab
times = @reboot
command = ${buildout:bin-directory}/supervisord
[py]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
interpreter = py
scripts = py