blob: 96eb6989d01d18450a00dd84cbb162d76e51c19b (
plain)
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
|
# Stock trytond.conf file based on doc/topics/configuration.rst.
# The defaults are listed as per the documentation.
# =============================
# Configuration file for Tryton
# =============================
# The configuration file controls some aspects of the behavior of Tryton.
# The file uses a simple ini-file format. It consists of sections, led by a
# '[section]' header and followed by 'name = value' entries.
# Defines the behavior of the web interface.
[web]
# Defines the couple of host (or IP address) and port number separated by a
# colon to listen on.
listen = localhost:8000
# Defines the hostname.
#hostname =
# Defines the root path served by `GET` requests.
#root = /var/www/localhost/tryton
# Defines how the database is managed.
[database]
# Contains the URI to connect to the SQL database. The URI follows the RFC-3986.
# The typical form is: database://username:password@host:port/
# The available databases are:
# PostgreSQL
# pyscopg2 supports two type of connections:
# - TCP/IP connection: `postgresql://user:password@localhost:5432/`
# - Unix domain connection: `postgresql://username:password@/`
# SQLite
# The only possible URI is: `sqlite://`
# MySQL
# Same as for PostgreSQL.
#uri = sqlite://
# The directory where Tryton stores files and so the user running trytond
# must have write access on this directory.
#path = /var/lib/trytond/
# A boolean value to list available databases.
list = True
# The number of retries when a database operational error occurs during a
# request.
retry = 5
# The main language of the database that will be used for storage in the main
# table for translations.
language = en_US
# Defines size of various cache.
[cache]
# The number of different models kept in the cache per transaction.
model = 200
# The number of records loaded kept in the cache of the list.
record = 2000
# The number of field to load with an `eager` :attr:`Field.loading`.
field = 100
# This section allows to override the default generated table name for a
# :class:`ModelSQL`. The main goal is to bypass limitation on the name length of
# the database backend.
# For example::
# [table]
# account.invoice.line = acc_inv_line
# account.invoice.tax = acc_inv_tax
#[table]
# Activates SSL_ on all network protocols.
#[ssl]
# The path to the private key.
#privatekey =
# The path to the certificate.
#certificate =
[email]
# The SMTP-URL to connect to the SMTP server which is extended to support SSL
# and STARTTLS. The available protocols are:
# - smtp: simple SMTP
# - smtp+tls: SMTP with STARTTLS
# - smtps: SMTP with SSL
uri = smtp://localhost:25
# Defines the default `From` address for emails sent by Tryton.
#from =
[session]
# The time in seconds until a session expires.
timeout = 600
# The server password used to authenticate from the client for database
# management tasks. It is encrypted using using the Unix crypt(3) routine.
# A password can be generated using this command line:
# python -c 'import getpass,crypt,random,string; print crypt.crypt(getpass.getpass(), "".join(random.sample(string.ascii_letters + string.digits, 8)))'
#super_pwd =
[report]
# The parameters for `unoconv`.
unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext
|