IRC logs of #tryton for Friday, 2016-12-16

chat.freenode.net #tryton log beginning Fri Dec 16 00:00:01 CET 2016
2016-12-16 01:42 -!- kstenger(~karla@r190-133-126-216.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 01:42 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-12-16 02:05 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2016-12-16 02:25 -!- kstenger1(~karla@r190-133-236-58.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 02:29 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-16 05:20 -!- thaneor(~ldlc6@179.26.20.210) has joined #tryton
2016-12-16 07:02 -!- JosDzGx(~Thunderbi@187.188.72.36) has joined #tryton
2016-12-16 08:00 -!- JanGB(~jan@ipservice-092-208-143-049.092.208.pools.vodafone-ip.de) has joined #tryton
2016-12-16 08:15 -!- udono(~udono@tmo-111-181.customers.d1-online.com) has joined #tryton
2016-12-16 08:23 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-12-16 08:57 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-12-16 09:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-16 09:09 -!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-12-16 09:17 -!- rpit(~rpit@aftr-37-24-150-149.unity-media.net) has joined #tryton
2016-12-16 09:57 -!- Doflamingo(b2c5ec57@gateway/web/cgi-irc/kiwiirc.com/ip.178.197.236.87) has joined #tryton
2016-12-16 10:01 <Doflamingo> Hello there. What is the meaning of a "Party" and how is it different from a "Company"?
2016-12-16 10:02 <Doflamingo> I can only select english in "Administration->Users->Preferences"
2016-12-16 10:03 <cedk> Doflamingo: Company is ours, Party is any others
2016-12-16 10:03 <Doflamingo> cdek: ok thanks
2016-12-16 10:04 <Doflamingo> cdek: is it possible to Change the language to a different one then english?
2016-12-16 10:04 <Doflamingo> cedk: german for example?
2016-12-16 10:05 <Doflamingo> cedk: Some of the UI (i talk of sao) in in german... but some is not
2016-12-16 10:05 <Doflamingo> cedk: especially the lefthand part stays in english
2016-12-16 10:06 <cedk> Doflamingo: yes it is
2016-12-16 10:07 <pokoli> Doflamingo: Administration -> Localization -> Languages , you should mark there the languages you want as translatable
2016-12-16 10:07 <pokoli> Doflamingo: and then on user preferences you should be able to select the default one
2016-12-16 10:07 <cedk> Doflamingo: but you have to activate the language in the translation administration, update the database to load the new terms and select the language in your user preferences
2016-12-16 10:18 <Doflamingo> cedk: ok I did mark it as translatable and was able to choose the language for the user
2016-12-16 10:18 <Doflamingo> cedk: but how do I update the database?
2016-12-16 10:18 <Doflamingo> cedk: it is still in english after relog and also after trytond restart
2016-12-16 10:18 <cedk> Doflamingo: you must update the database to load the new terms
2016-12-16 10:19 <Doflamingo> cedk: yes but how do I update the database :)
2016-12-16 10:20 <cedk> Doflamingo: same as initialize: http://doc.tryton.org/4.2/trytond/doc/topics/setup_database.html#initialize-a-database
2016-12-16 10:26 <Doflamingo> cedk: that did the trick. Thank you!
2016-12-16 10:37 -!- mamcode_(~mamcode@190-204-38-187.dyn.dsl.cantv.net) has joined #tryton
2016-12-16 10:39 -!- mamcode(~mamcode@190-204-38-187.dyn.dsl.cantv.net) has joined #tryton
2016-12-16 11:01 <cedk> Doflamingo: added in the documentation: https://tryton-rietveld.appspot.com/31791002
2016-12-16 11:09 <Doflamingo> *thumbs up
2016-12-16 11:26 -!- Doflamingo(d9a2c88d@gateway/web/cgi-irc/kiwiirc.com/ip.217.162.200.141) has joined #tryton
2016-12-16 11:32 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-12-16 11:35 -!- mariomop(~quassel@181.93.212.240) has joined #tryton
2016-12-16 11:54 -!- JanGB(~jan@ipservice-092-208-143-049.092.208.pools.vodafone-ip.de) has joined #tryton
2016-12-16 12:26 <pokoli> hi, i have a strange behaviour with some modules test suite
2016-12-16 12:26 <pokoli> when runing from run-test.py scripts they return the valid error code (0: OK, 1: FAIL)
2016-12-16 12:26 <pokoli> but when running with setup.py (or tox) the exit code is always 0, regarding if it failed or not
2016-12-16 12:27 <pokoli> anyone have found something similar?
2016-12-16 12:28 <pokoli> for example: https://travis-ci.org/trytonspain/trytond-account_financial_statement/jobs/184493926
2016-12-16 12:30 <pokoli> indeed the same is happening on drone: https://drone.tryton.org/trypod.tryton.org/tryton/trytond/default/f162421efbaedcd0c4b03e17d44aedcf5a1d020f
2016-12-16 12:35 <pokoli> cedk: ^
2016-12-16 12:45 <cedk> ACTION wtf
2016-12-16 12:47 <pokoli> cedk: indeed i can reproduce it on my laptop with: DB_NAME=':memory:' TRYTOND_CONIFIG= python setup.py test
2016-12-16 12:48 <nicoe> I have the same issue, I cleaned the DB_CACHE and it arose
2016-12-16 12:48 <nicoe> also for sqlite
2016-12-16 12:49 <cedk> Python setup stack is broken
2016-12-16 12:49 <nicoe> I am reading the unittest code right now also
2016-12-16 12:50 <cedk> indeed it seems that an exception in setupClass does not fail the test
2016-12-16 12:55 <nicoe> Well result.wasSuccessful() returns false
2016-12-16 13:00 <pokoli> indeed i started to see this strange behaviour on the builds of this week. So maybe is some upstream change
2016-12-16 13:00 <pokoli> but I don't know what upstreap package
2016-12-16 13:01 <cedk> pokoli: I suspect a tox issue
2016-12-16 13:01 <pokoli> cedk: that was my first though, see: https://github.com/tox-dev/tox/issues/424
2016-12-16 13:02 <pokoli> cedk: but i can reproduce with without using tox :$
2016-12-16 13:02 <cedk> running "python setup.py test" return 1 as exit code
2016-12-16 13:04 <cedk> pokoli: are you sure about https://github.com/tox-dev/tox/issues/424#issuecomment-267016373
2016-12-16 13:04 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-12-16 13:07 <pokoli> cedk: that's my case. But i had (not now) tox installed a system package
2016-12-16 13:08 <cedk> pokoli: do not understand
2016-12-16 13:08 <pokoli> cedk: i have 0 as exit code when running python setup.py test
2016-12-16 13:08 <pokoli> cedk: but this may be related to having tox installed as system package
2016-12-16 13:09 <cedk> pokoli: tox has nothing to do in "setup.py test"
2016-12-16 13:11 <cedk> ACTION starts to smell like a setuptools issue indeed
2016-12-16 13:11 <pokoli> cedk: on my laptop setup.py returns 0 (but the test is failing)
2016-12-16 13:13 <cedk> pokoli: which version of setuptools?
2016-12-16 13:13 -!- Doflamingo(d9a2c88d@gateway/web/cgi-irc/kiwiirc.com/ip.217.162.200.141) has joined #tryton
2016-12-16 13:14 <pokoli> cedk: 32.0.0
2016-12-16 13:14 <cedk> pokoli: new release from yesterday
2016-12-16 13:15 <pokoli> cedk: but i think it was introduced on a earlier release
2016-12-16 13:16 <pokoli> cedk: reading https://github.com/pypa/setuptools/commits/master I think its from 31.0.0 (as It was when i first noticed the error on travis)
2016-12-16 13:17 <cedk> pokoli: do not understand
2016-12-16 13:17 <pokoli> cedk: The first time i've seen this issue was this monday on Travis-ci
2016-12-16 13:18 <pokoli> cedk: an that's was just after the 31.0.0 release
2016-12-16 13:20 <cedk> I think it is 30.2.1
2016-12-16 13:20 <cedk> ACTION did bisect search
2016-12-16 13:21 <cedk> how do we do in github to see commits between two release?
2016-12-16 13:22 <pokoli> ACTION testing with 30.2.0
2016-12-16 13:22 <cedk> https://github.com/pypa/setuptools/commit/53b47e1dfa9dfb1e8b94172a4650409fc03d4048
2016-12-16 13:23 <pokoli> cedk: exit code is 1 with 30.2.0 and yes I think this is the culprit
2016-12-16 13:36 <cedk> reported: https://github.com/pypa/setuptools/issues/891
2016-12-16 13:40 <cedk> pokoli: now could you please fix the trytond failure, I think it is linked to your wizard tests
2016-12-16 13:41 <pokoli> cedk: indeed the wizard tests are not still commited: https://tryton-rietveld.appspot.com/32831002/
2016-12-16 13:41 <pokoli> cedk: but, yes i can have a look on the issue
2016-12-16 13:46 <cedk> indeed it is d0767cadfa83
2016-12-16 13:49 <cedk> indeed it is b8d76b07910f
2016-12-16 13:59 <pokoli> cedk: yes it is but I don't know how to fix it
2016-12-16 14:00 <cedk> pokoli: I have one and I just run the test
2016-12-16 14:05 <cedk> pokoli: https://bugs.tryton.org/msg30781
2016-12-16 14:08 <pokoli> cedk: indeed we should stop commiting until drone is fixing, shouldn't we?
2016-12-16 14:11 <cedk> pokoli: I think so
2016-12-16 14:11 <pokoli> cedk: ok, i'm sending an email to the mailing list
2016-12-16 14:11 <cedk> indeed I would like to see the reaction of the maintainers to https://github.com/pypa/setuptools/issues/891
2016-12-16 14:12 <cedk> the doc does say anything about the exit code: https://setuptools.readthedocs.io/en/latest/setuptools.html#test-build-package-and-run-a-unittest-suite
2016-12-16 14:13 -!- Doflamingo(d9a2c88d@gateway/web/cgi-irc/kiwiirc.com/ip.217.162.200.141) has joined #tryton
2016-12-16 14:26 <cedk> pokoli: another option will be to be able to mask some releases
2016-12-16 14:27 <cedk> we have a devpi-server for cache but I do not know if we can mask packages
2016-12-16 14:32 <cedk> can not find a way
2016-12-16 14:32 <cedk> it is a petty because it is the second time we have such problem
2016-12-16 14:47 <pokoli> cedk: but we are (by far) better covered to errors than before
2016-12-16 14:47 <pokoli> cedk: Could you upload to the devpyserver a custom package with the change reverted and a higger ersion?
2016-12-16 14:48 <pokoli> s/ersion/version/
2016-12-16 15:06 -!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 15:15 -!- silwol(silwolmatr@gateway/shell/matrix.org/x-lvhaikphseytdaft) has joined #tryton
2016-12-16 15:22 <cedk> pokoli: I do not know
2016-12-16 15:23 <cedk> pokoli: it is standard devpy without any configuration
2016-12-16 15:40 <cedk> PR: https://github.com/pypa/setuptools/pull/892
2016-12-16 15:41 <cedk> so it seems it is going to be fixed
2016-12-16 15:42 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-12-16 15:58 -!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 15:59 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2016-12-16 16:09 -!- silwol(silwolmatr@gateway/shell/matrix.org/x-xgcovqkgrwetzeyy) has joined #tryton
2016-12-16 16:09 -!- tryingtryton(940027d9@gateway/web/freenode/ip.148.0.39.217) has joined #tryton
2016-12-16 16:09 <tryingtryton> Is it possible to see how many sales were made to a particular customer with Tryton?
2016-12-16 16:13 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2016-12-16 16:30 -!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has left #tryton
2016-12-16 16:34 <cedk> pokoli: looks like there will be a release soon: https://github.com/pypa/setuptools/commit/bf665ffb84aa72010240d735b5f45db32d60bdde
2016-12-16 16:42 <cedk> pokoli: release: https://pypi.python.org/pypi/setuptools/32.1.0
2016-12-16 16:43 <cedk> I rerun the normally failed commit to see
2016-12-16 16:59 -!- JanGB(~jan@ipservice-092-208-143-049.092.208.pools.vodafone-ip.de) has joined #tryton
2016-12-16 17:04 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-12-16 17:15 -!- mathesis(~mathesis@187.148.129.9) has joined #tryton
2016-12-16 17:22 -!- thaneor1(~ldlc6@r179-25-170-229.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 17:30 -!- robink_(~quassel@unaffilated/robink) has joined #tryton
2016-12-16 17:39 -!- thaneor(~ldlc6@r179-25-170-229.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 18:22 -!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 19:07 -!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-16 19:17 <tryingtryton> Is it possible to see how many sales were logged by a specific user with Tryton?
2016-12-16 21:13 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-16 21:20 <tryingtryton> Is it possible to see how many sales were made to a particular customer with Tryton?
2016-12-16 22:53 <kstenger> tryingtryton: did you try filter by party?
2016-12-16 22:54 <tryingtryton> I can see all the parties who bought products in the Parties associated to Sales, but I'm not sure to see historical purchases from those parties.
2016-12-16 22:58 <kstenger> tryingtryton: you can open the sales window and use the filter "Party: JonDoe" to see JonDoe's sales. Also in the tabs you will see the count of the sales for each state
2016-12-16 22:58 <kstenger> tryingtryton: use quotes for the name of the party if it has spaces
2016-12-16 23:00 <tryingtryton> But there's no way for a convenient quantity and amount to be shown per party?

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