Muchas gracias, Jesús. Ese fichero lo explica casi todo, sobre todo si comparo con la versión anterior, pero creo que sería bueno distribuir un fichero de ejemplo como hacíais antes. Me parece que algunas entradas pueden suscitar dudas. La verdad es que después de mirarlo con calma creo que lo tengo todo bien, pero por si acaso he creado un fichero de ejemplo por si lo queréis colgar por ahí, y por si alguien detecta algún error:
# Defines the behavior of the JSON-RPC network interface. # More info on http://en.wikipedia.org/wiki/JSON-RPC [jsonrpc] # Defines a comma separated list of couples of host (or IP address) and port # number separated by a colon to listen on. #listen = localhost:8000 # Defines the hostname for this network interface. hostname = tryton.mydomain.com # Defines the root path to retrieve data for `GET` requests. #data = /var/www/localhost/tryton # Defines the behavior of the XML-RPC network interface. # More info on http://en.wikipedia.org/wiki/XML-RPC [xmlrpc] # Same as for `jsonrpc` except it has no default value. #listen = *:8069 # Define the behavior of the WebDAV network interface. # More info on http://en.wikipedia.org/wiki/WebDAV [webdav] # Same as for `jsonrpc` except it has no default value. #listen = *:8080 # Defines how the database is managed. [database] # Contains the URI to connect to the SQL database. The URI follows the RFC-3986. # More info on http://tools.ietf.org/html/rfc3986 uri = postgresql://user:password@localhost:5432/ # uri = sqlite:// # uri = mysql://user:password@localhost:3306/ # uri = mariadb://user:password@localhost:3306/ # 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 model kept in the cache per transaction. model = 200 # The number of record loaded kept in the cache of the list. # It can be changed locally using the `record_cache_size` key in `Transaction.context`. record = 2000 # The number of field to load with an `eager` `Field.loading`. field = 100 # Activates SSL on all network protocols # note:: SSL is activated by defining privatekey. # Please refer to SSL-CERT on how to use private keys and certficates. [ssl] # The path to the private key. #privatekey = /etc/ssl/private/ssl-cert-snakeoil.key # The path to the certificate. #certificate = /etc/ssl/certs/ssl-cert-snakeoil.pem [email] # The SMTP-URL_ to connect to the SMTP server which is extended to support SSL # and STARTTLS. # More info on: # SMTP-URL: http://tools.ietf.org/html/draft-earhart-url-smtp-00 # SSL: http://en.wikipedia.org/wiki/Secure_Sockets_Layer # SSL-CERT: https://docs.python.org/library/ssl.html# ssl.wrap_socket # STARTTLS: http://en.wikipedia.org/wiki/STARTTLS # The available protocols are: # # - smtp: simple SMTP # - smtp+tls: SMTP with STARTTLS # - smtps: SMTP with SSL #uri = smtp://localhost:25 #uri = smtp+tls://user:[email protected]:465 # Defines the default `From` address for emails sent by Tryton. #from = [email protected] [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 = your_password [report] # The parameters for `unoconv`. unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext
