Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
how can i use the xmlrpc? i have a clean install of flectra and want to use the xml rpc but i can not call the /start point as mentioned in the documentation
my flectra version 1.6.4
hope someone can help
Fabien Bourgeois
Matthew Longfield
@Hackbard the biggest and most important thing you need to do to make it work is to make sure the config file specified in your -c setting has the correct value in dbfilter - if the database is named flectra then the below should work - also doublecheck db_host, db_name & db_password. After restarting the server with these new config values you should be able to connect with Postman or cURL. My sample config file to follow
addons_path = /opt/flectra/flectra/addons
admin_passwd = admin
app_store = install
backup = False
backup_zip = False
csv_internal_sep = ,
data_dir = /opt/flectra/.local/share/Flectra
db_host = db
db_maxconn = 64
db_name = flectra
db_password = flectra
db_port = 5432
db_sslmode = prefer
db_template = template1
db_user = flectra
dbfilter = flectra
demo = {}
destination = False
email_from = False
geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb
http_enable = True
http_interface =
http_port = 7073
import_partial =
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 60
limit_time_real = 120
limit_time_real_cron = -1
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = info
logfile = /var/log/flectra/flectra-server.log
logrotate = True
longpolling_port = 7072
max_cron_threads = 2
osv_memory_age_limit = 1.0
osv_memory_count_limit = False
pg_path = None
pidfile = None
proxy_mode = True
reportgz = False
restore = False
restore_zip = False
server_wide_modules = web
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_commit = False
test_enable = False
test_file = False
test_report_directory = False
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 0
great thank you ;)
is /start just a point for the demo flectra?
Matthew Longfield
I don't know where you're getting /start from. I'm sending a python example that might help you get a bead on a simple connection test

import xmlrpc.client as xmlrpclib

username = 'admin' #the user
password = 'admin' #the password of the user
db = 'flectra' #the database
url = ''

common = xmlrpclib.ServerProxy('{}/xmlrpc/2/common'.format(url))
print (common.version())

uid = common.authenticate(db, username, password, {})

models = xmlrpclib.ServerProxy('{}/xmlrpc/2/object'.format(url))

print (models.execute_kw(db, uid, password,
'res.users', 'check_access_rights',
['read'], {'raise_exception': False}))

Fabien Bourgeois
If you want to use XMLRPC from Python, you may use the library OdooRPC, which make things seamlessly
great hin thanks you all.
yeah start was confusing. got it from the flectra docs ;)
is there a list with changes to odoo? flectra was a fork of odoo 11 or?
Fabien Bourgeois
nice, sorry for some dump questions. i only worked with python for some crawlers ;) just coding 16 years with php :P
and the way to find things in the documentation is sometimes a little bit hard.
Fabien Bourgeois
Not a simple move indeed ;)
but i'm verry happy that someone is answering here ;)
Fabien Bourgeois
Please note that there are more people on the Telegram channel
oh ... where was that mentioned?
Fabien Bourgeois
I'm not sure it is here. Gitter was the official channel until Telegram. There a few active people here now.
maybe some one should edit the flectrahq page an link to it ;)
Matthew Longfield
@Hackbard you may want to install and experiment with the 'Rest API for Flectra' module - vs using XMLRPC or JSON-RPC. Unless you already have a codebase in PHP for doing what you want. My 2cents
we are using the rest api module right now :)
but we want to try the json/xml rpc too
Fabien Bourgeois
RPC offers more but is less generic, depends on your needs so.
Hello, How can i configure Mailgun for Outgoing mail server
@parthivgls I have installed Flectra 1.6 in Ubuntu 18.04.4 LTS (Linode VPS Server). When I have try to configure outgoing mail server then It's take loading and give error like Connection Test Failed! Here is what we got instead:
timed out
I am getting this error when send mail
SMTPServerDisconnected: please run connect() first
I have set outgoing mail server and test successfully but when I send mail getting error
smtplib.SMTPServerDisconnected: please run connect() first
Reese Jenner

maybe some one should edit the flectrahq page an link to it ;)

Agree. I think Flectra needs more dev team engagement... ghost town.

Hello @everybody ...Sorry for asking something so simple, but I would like to know where I can find a guide on how to install the latest version of flectra. Or alternatively, install an older version and then update it. I am using an EC2 instance on AWS with Ubuntu 18. Thanks
@IngMERS_twitter I can help you to install Flectra
Hi guys ! Have you same problem of me when installing ? I have "Release is not signed".
On Debian 10
Kale Bulic
I have problem with activating unit of measue in flectra erp free trial version
I just solved it xD,sorry for disturbing