IRC logs of #tryton for Wednesday, 2017-11-15

chat.freenode.net #tryton log beginning Wed Nov 15 00:00:01 CET 2017
2017-11-15 00:10 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-15 00:55 -!- robinak(~quassel@unaffilated/robink) has joined #tryton
2017-11-15 01:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-15 02:21 -!- thaneor(~ldlc6@179.26.115.193) has joined #tryton
2017-11-15 02:25 -!- csotelo(~csotelo@2001:1388:49c6:e38e:5909:367d:2c75:981e) has joined #tryton
2017-11-15 04:44 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2017-11-15 07:47 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2017-11-15 08:27 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2017-11-15 08:38 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-11-15 08:43 -!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-11-15 08:44 -!- catonano(~user@151.50.143.241) has joined #tryton
2017-11-15 08:50 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-11-15 08:56 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-11-15 09:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-15 09:06 -!- xcodinas(~xcodinas@134.ip-5-196-28.eu) has joined #tryton
2017-11-15 09:06 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton
2017-11-15 09:20 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-15 09:26 -!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-11-15 09:42 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-11-15 10:01 -!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton
2017-11-15 10:05 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-11-15 10:24 -!- thaneor(~ldlc6@179.26.115.193) has joined #tryton
2017-11-15 11:21 -!- meigallodixital(~gonzalo@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-11-15 11:36 <sisalp> hello, FireFox 57 changes extension way. Is Tryton Timesheet application still compatible ?
2017-11-15 11:36 <cedk> sisalp: it should, have you issue?
2017-11-15 12:03 <sisalp> cedk: I've not tried FF57 yet, just worrying. Is timesheet application an extension ?
2017-11-15 12:25 <pokoli> sisalp: it's listed as extension on firefox addons: https://addons.mozilla.org/en-US/firefox/addon/tryton-chronos/
2017-11-15 12:25 <pokoli> sisalp: do you know what are the changes in firefox?
2017-11-15 12:25 <pokoli> I mean the ones related to extension way
2017-11-15 12:25 <semarie> pokoli: the new system is just incompatible with old one
2017-11-15 12:26 <semarie> ffx 57 is the first release with old system disabled
2017-11-15 12:26 <semarie> for me, chronos uses webextension (the new system), so it should be ok
2017-11-15 12:28 <semarie> and addons.mozilla.org think same: "Compatible with Firefox 57+"
2017-11-15 12:29 <pokoli> semarie: thanks for the clarifications :)
2017-11-15 13:31 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2017-11-15 13:35 -!- catonano(~user@151.50.143.241) has joined #tryton
2017-11-15 14:04 -!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton
2017-11-15 14:14 -!- thaneor(~ldlc6@179.26.115.193) has joined #tryton
2017-11-15 14:22 <semarie> how to run a scenario (rst file) ? I would like to manually test some cases
2017-11-15 14:23 -!- thaneor1(~ldlc6@179.26.109.118) has joined #tryton
2017-11-15 14:24 <pokoli> semarie: python -m doctest tests/scenario.rst
2017-11-15 14:25 <pokoli> semarie: you should set DB_NAME environment variable to the database you want to create
2017-11-15 14:27 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2017-11-15 14:28 <semarie> and TRYTOND_DATABASE_URI for the database if I want it to use postgresql I assume ?
2017-11-15 14:28 <semarie> I will check that. thanks pokoli
2017-11-15 14:36 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-11-15 14:38 -!- smarro(~sebastian@2800:af0:1028:2dc::4) has joined #tryton
2017-11-15 14:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-15 14:51 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-15 14:55 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-11-15 14:56 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-11-15 15:26 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton
2017-11-15 15:38 <pokoli> semarie: yes, you should set the database URI to
2017-11-15 15:38 <pokoli> semarie: or you can use TRYTOND_CONFIG to point to the configuration file where the URI is defined
2017-11-15 15:39 <semarie> I saw that. it works well :) thanks again
2017-11-15 15:43 <pokoli> you're welcome
2017-11-15 16:05 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-11-15 16:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-15 17:06 -!- afibanez(501c77aa@gateway/web/cgi-irc/kiwiirc.com/ip.80.28.119.170) has joined #tryton
2017-11-15 17:09 <afibanez> Hi all! I'm updating from 4.0 and I have a doubt... In the language code changes, why es_ES is now es, fr_FR is now fr, but it_IT stills it_IT?
2017-11-15 17:12 <cedk> afibanez: more generic
2017-11-15 17:13 <afibanez> yes, i'm agree with more generic locales, but why italian didn't chage?
2017-11-15 17:13 <afibanez> change*
2017-11-15 17:17 <cedk> afibanez: it will be good to change it also
2017-11-15 17:21 <afibanez> cedk: ok, so the changes will be in some steps and some day it_IT will be it?
2017-11-15 17:23 <cedk> afibanez: yes if someone do the work
2017-11-15 18:04 -!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-11-15 18:05 -!- smarro(~sebastian@2800:af0:1028:2dc::4) has joined #tryton
2017-11-15 18:30 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-11-15 18:30 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton
2017-11-15 18:56 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-11-15 18:57 -!- smarro(~sebastian@2800:af0:1028:2dc::4) has joined #tryton
2017-11-15 19:22 -!- cbrz(~zdenek@d172-219-182-116.abhsia.telus.net) has joined #tryton
2017-11-15 19:42 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-11-15 20:26 -!- mariomop(~quassel@181.110.77.43) has joined #tryton
2017-11-15 20:36 -!- cbrz(~zdenek@d172-219-182-116.abhsia.telus.net) has joined #tryton
2017-11-15 20:38 <cbrz> I'm getting "TypeError: cannot marshal <class 'collections.defaultdict'> objects" on my Tryton server when using proteus with XMLRPC
2017-11-15 20:39 <cbrz> Not sure if it is a bug. It was happening when I tried to attach a tax to invoice lines I was importing.
2017-11-15 20:40 <cbrz> I've removed that from my Proteus script and instead set my product to have a default tax using the Tryton client.
2017-11-15 20:40 <cbrz> Thought this would fix the problem, but when I run my updated script without the lines to append a tax, I still get the error.
2017-11-15 20:40 <cbrz> Help?
2017-11-15 20:47 <cedk> cbrz: can use defaultdict for value that going through RPC
2017-11-15 20:47 <cbrz> cedk: hmm.. I don't understand. Is it a problem with my Proteus script?
2017-11-15 20:59 <cedk> cbrz: I do not think. I guess your change to set default tax is probably using a defaultdict
2017-11-15 21:00 <cbrz> I get the same error if I import invoice with lines and attach a single tax to each line.
2017-11-15 21:01 <cbrz> If I add the tax in the Proteus script or use a product with a default tax, the Proteus script causes the defaultdict error on the server.
2017-11-15 21:01 <cbrz> Should I complete a bug report?
2017-11-15 21:10 <cedk> cbrz: be more precise about the request
2017-11-15 21:10 <cedk> cbrz: and also ensure you are running unmodified source code and with only standard module
2017-11-15 21:11 <cbrz> of course. The code is pure 4.6.0. no modifications except my Proteus script. All modules are standard.
2017-11-15 21:11 <cbrz> I'll create a bug report.
2017-11-15 21:12 <cbrz> Is that OK?
2017-11-15 21:12 <cedk> cbrz: what request are you doing?
2017-11-15 21:15 <cbrz> In the Proteus script?
2017-11-15 21:18 <cbrz> The section of code in my Proteus script that causes the error is:
2017-11-15 21:18 <cbrz> Account_Tax = Model.get('account.tax')
2017-11-15 21:18 <cbrz> (account_tax,) = Account_Tax.find(['name', '=', row['line_tax']])
2017-11-15 21:18 <cbrz> invoice_line.taxes.append(account_tax)
2017-11-15 21:19 <cbrz> When the append method is called, the trytond server logs the error about not being able to marshal the defaultdict.
2017-11-15 22:00 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-15 22:11 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-11-15 22:33 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-11-15 22:50 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!