by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Florian Keil
@criseas_gitlab
Hello Guys,
does anyone know for a list of rights behind the ACL Roles ? I cant find sth what fits.
Yves MALATESTA
@malatestay
Hello, i update an external module 'Clever All In One Report Templates' and installed in flectra 1.6. we no issue. All flectra work well module included but i lose 'web_settings_dashboard.main'. and all technical menu. Some body have an idea ?
develroo
@develroo

Guys.. some reason I am unable to login as admin user now.. Normal users can login but I keep seeing this in the log and it bounces back with wrong password (which is right password)

2020-01-28 20:35:00,848 1 WARNING mycompany root: Remote with ip 10.4.0.30 could not be found
2020-01-28 20:35:04,861 1 WARNING mycompany root: Remote with ip 10.4.0.30 could not be found
2020-01-28 20:35:04,942 1 INFO mycompany flectra.addons.base.res.res_users: Login failed for db:mycompany login:flectraadmin@mycompany.net from 10.4.0.30

What does remote with ip mean ? Did I some how blacklist myself from access ?
Kok Wai Gie
@woshikie
Has anyone managed to configure flectra incoming and outgoing email using Gmail's imap/pop3?
ugintl
@ugintl
Any update on flectra mobile apps?
ugintl
@ugintl

@parthivgls @tonyanytime

Any update on flectra mobile apps?

Matthew Longfield
@matthewlongfield
Can anyone tell me how to override the startup behavior for the flectrahq/flectra docker image? Flectra launches with this (from ps -ax | grep flectra) "python3 /opt/flectra/flectra-bin --db_host db --db_port 5432 --db_user flectra --db_password flectra" what I actually need to do is supply the config file when it launches, but I can't stop flectra-bin with kill and I don't know how it gets started in the first place. service flectra stop has no effect
Matthew Longfield
@matthewlongfield

I was ultimately able to do a workaround to get the --config added to flectra-bin startup.
I modified the /opt/flectra/entrypoint.sh file in the running container and commented out the existing exec lines and added the override. I’m not very good at shell scripting and it’s probably a hack, but it get’s the job done, and hopefully points someone with a similar issue in the right direction

case “$1” in
– | flectra)
shift
if [[ “$1” == “scaffold” ]] ; then
exec /opt/flectra/flectra-bin “$@”
else
exec /opt/flectra/flectra-bin --config /etc/flectra/flectra.conf --logfile /var/log/flectra/flectra-server.log
fi
;;
-)
exec /opt/flectra/flectra-bin --config /etc/flectra/flectra.conf --logfile /var/log/flectra/flectra-server.log
;;
)
exec “$@”
esac

exit 1

Yadav Lamichhane
@omegazyadav
Hello! I am having issue while integrating a custom module in dockerized flectra. Basically I mounted the custom module directory to the /mnt/extra-addoons of a container. Then I updated the application list which should be added into it but I am out of luck. If you guys have any idea regarding this, it would be quite helpful.
Matthew Longfield
@matthewlongfield
@omegazyadav all the docker images I've seen so far for flectra don't read a config file in /etc/flectra/flectra.conf and use a default plugin folder of /opt/flectra/flectra/addons - you' might have to either adjust the entrypoint.sh like I discussed just previous to your post to point to a config file that you can modify to include the /mnt/extra-addons path, or put your plugin in the /opt/flectra/flectra/addons folder - I generally use 'docker exec -u0 -it flectra-container-name /bin/bash' to shell into the container and then use 'ps -ax | grep flectra' to see what was passed to the command that started the flectra service. hopefully this helps - other more experienced folks please pipe in if you have a better way.
Yadav Lamichhane
@omegazyadav
This is more than enough, now I am able to solve the issue either way that you have pointed. Thanks a bunch @matthewlongfield
Hackbard
@Hackbard
hi there, i'm pretty new to flectra. Can i deactivate the demo data when i install a addon?
Hackbard
@Hackbard
When i start flectra the first time, it installs the demo data and i have no database configurator to uncheck it
Hackbard
@Hackbard
Hi there
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
@Yakulu
Matthew Longfield
@matthewlongfield
@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
[options]
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
Hackbard
@Hackbard
great thank you ;)
is /start just a point for the demo flectra?
Matthew Longfield
@matthewlongfield
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 = 'http://192.168.0.163:7073'

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

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

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
@Yakulu
If you want to use XMLRPC from Python, you may use the library OdooRPC, which make things seamlessly
Hackbard
@Hackbard
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
@Yakulu
Hackbard
@Hackbard
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
@Yakulu
Not a simple move indeed ;)
Hackbard
@Hackbard
but i'm verry happy that someone is answering here ;)
Fabien Bourgeois
@Yakulu
Please note that there are more people on the Telegram channel
Hackbard
@Hackbard
oh ... where was that mentioned?
Fabien Bourgeois
@Yakulu
I'm not sure it is here. Gitter was the official channel until Telegram. There a few active people here now.
Hackbard
@Hackbard
maybe some one should edit the flectrahq page an link to it ;)
Matthew Longfield
@matthewlongfield
@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
Hackbard
@Hackbard
we are using the rest api module right now :)
but we want to try the json/xml rpc too
Fabien Bourgeois
@Yakulu
RPC offers more but is less generic, depends on your needs so.
bitsquaretechno
@bitsquaretechno
Hello, How can i configure Mailgun for Outgoing mail server
bitsquaretechno
@bitsquaretechno
@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
bitsquaretechno
@bitsquaretechno
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
bitsquaretechno
@bitsquaretechno
smtplib.SMTPServerDisconnected: please run connect() first
Reese Jenner
@voarsh_gitlab

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

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

MERS
@IngMERS_twitter
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