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

chat.freenode.net #tryton log beginning Fri Dec 16 00:00:01 CET 2016
-!- kstenger(~karla@r190-133-126-216.dialup.adsl.anteldata.net.uy) has joined #tryton01:42
-!- smarro(~sebastian@181.16.7.104) has joined #tryton01:42
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton02:05
-!- kstenger1(~karla@r190-133-236-58.dialup.adsl.anteldata.net.uy) has joined #tryton02:25
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:29
-!- thaneor(~ldlc6@179.26.20.210) has joined #tryton05:20
-!- JosDzGx(~Thunderbi@187.188.72.36) has joined #tryton07:02
-!- JanGB(~jan@ipservice-092-208-143-049.092.208.pools.vodafone-ip.de) has joined #tryton08:00
-!- udono(~udono@tmo-111-181.customers.d1-online.com) has joined #tryton08:15
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:23
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:57
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:07
-!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton09:09
-!- rpit(~rpit@aftr-37-24-150-149.unity-media.net) has joined #tryton09:17
-!- Doflamingo(b2c5ec57@gateway/web/cgi-irc/kiwiirc.com/ip.178.197.236.87) has joined #tryton09:57
DoflamingoHello there. What is the meaning of a "Party" and how is it different from a "Company"?10:01
DoflamingoI can only select english in "Administration->Users->Preferences"10:02
cedkDoflamingo: Company is ours, Party is any others10:03
Doflamingocdek: ok thanks10:03
Doflamingocdek: is it possible to Change the language to a different one then english?10:04
Doflamingocedk: german for example?10:04
Doflamingocedk: Some of the UI (i talk of sao) in in german... but some is not10:05
Doflamingocedk: especially the lefthand part stays in english10:05
cedkDoflamingo: yes it is10:06
pokoliDoflamingo: Administration -> Localization -> Languages , you should mark there the languages you want as translatable10:07
pokoliDoflamingo: and then on user preferences you should be able to select the default one10:07
cedkDoflamingo: 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 preferences10:07
Doflamingocedk: ok I did mark it as translatable and was able to choose the language for the user10:18
Doflamingocedk: but how do I update the database?10:18
Doflamingocedk: it is still in english after relog and also after trytond restart10:18
cedkDoflamingo: you must update the database to load the new terms10:18
Doflamingocedk: yes but how do I update the database :)10:19
cedkDoflamingo: same as initialize: http://doc.tryton.org/4.2/trytond/doc/topics/setup_database.html#initialize-a-database10:20
Doflamingocedk: that did the trick. Thank you!10:26
-!- mamcode_(~mamcode@190-204-38-187.dyn.dsl.cantv.net) has joined #tryton10:37
-!- mamcode(~mamcode@190-204-38-187.dyn.dsl.cantv.net) has joined #tryton10:39
cedkDoflamingo: added in the documentation: https://tryton-rietveld.appspot.com/3179100211:01
Doflamingo*thumbs up11:09
-!- Doflamingo(d9a2c88d@gateway/web/cgi-irc/kiwiirc.com/ip.217.162.200.141) has joined #tryton11:26
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton11:32
-!- mariomop(~quassel@181.93.212.240) has joined #tryton11:35
-!- JanGB(~jan@ipservice-092-208-143-049.092.208.pools.vodafone-ip.de) has joined #tryton11:54
pokolihi, i have a strange behaviour with some modules test suite12:26
pokoliwhen runing from run-test.py scripts they return the valid error code (0: OK, 1: FAIL)12:26
pokolibut when running with setup.py (or tox) the exit code is always 0, regarding if it failed or not12:26
pokolianyone have found something similar?12:27
pokolifor example: https://travis-ci.org/trytonspain/trytond-account_financial_statement/jobs/18449392612:28
pokoliindeed the same is happening on drone: https://drone.tryton.org/trypod.tryton.org/tryton/trytond/default/f162421efbaedcd0c4b03e17d44aedcf5a1d020f12:30
pokolicedk: ^12:35
cedkACTION wtf12:45
pokolicedk: indeed i can reproduce it on my laptop with: DB_NAME=':memory:' TRYTOND_CONIFIG= python setup.py test12:47
nicoeI have the same issue, I cleaned the DB_CACHE and it arose12:48
nicoealso for sqlite12:48
cedkPython setup stack is broken12:49
nicoeI am reading the unittest code right now also12:49
cedkindeed it seems that an exception in setupClass does not fail the test12:50
nicoeWell result.wasSuccessful() returns false12:55
pokoliindeed i started to see this strange behaviour on the builds of this week. So maybe is some upstream change13:00
pokolibut I don't know what upstreap package13:00
cedkpokoli: I suspect a tox issue13:01
pokolicedk: that was my first though, see: https://github.com/tox-dev/tox/issues/42413:01
pokolicedk: but i can reproduce with without using tox :$13:02
cedkrunning "python setup.py test" return 1 as exit code13:02
cedkpokoli: are you sure about https://github.com/tox-dev/tox/issues/424#issuecomment-26701637313:04
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:04
pokolicedk: that's my case. But i had (not now) tox installed a system package13:07
cedkpokoli: do not understand13:08
pokolicedk: i have 0 as exit code when running python setup.py test13:08
pokolicedk: but this may be related to having tox installed as system package13:08
cedkpokoli: tox has nothing to do in "setup.py test"13:09
cedkACTION starts to smell like a setuptools issue indeed13:11
pokolicedk: on my laptop setup.py returns 0 (but the test is failing)13:11
cedkpokoli: which version of setuptools?13:13
-!- Doflamingo(d9a2c88d@gateway/web/cgi-irc/kiwiirc.com/ip.217.162.200.141) has joined #tryton13:13
pokolicedk: 32.0.013:14
cedkpokoli: new release from yesterday13:14
pokolicedk: but i think it was introduced on a earlier release13:15
pokolicedk: 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)13:16
cedkpokoli: do not understand13:17
pokolicedk: The first time i've seen this issue was this monday on Travis-ci13:17
pokolicedk: an that's was just after the 31.0.0 release13:18
cedkI think it is 30.2.113:20
cedkACTION did bisect search13:20
cedkhow do we do in github to see commits between two release?13:21
pokoliACTION testing with 30.2.013:22
cedkhttps://github.com/pypa/setuptools/commit/53b47e1dfa9dfb1e8b94172a4650409fc03d404813:22
pokolicedk: exit code is 1 with 30.2.0 and yes I think this is the culprit13:23
cedkreported: https://github.com/pypa/setuptools/issues/89113:36
cedkpokoli: now could you please fix the trytond failure, I think it is linked to your wizard tests13:40
pokolicedk: indeed the wizard tests are not still commited: https://tryton-rietveld.appspot.com/32831002/13:41
pokolicedk: but, yes i can have a look on the issue13:41
cedkindeed it is d0767cadfa8313:46
cedkindeed it is b8d76b07910f13:49
pokolicedk: yes it is but I don't know how to fix it13:59
cedkpokoli: I have one and I just run the test14:00
cedkpokoli: https://bugs.tryton.org/msg3078114:05
pokolicedk: indeed we should stop commiting until drone is fixing, shouldn't we?14:08
cedkpokoli: I think so14:11
pokolicedk: ok, i'm sending an email to the mailing list14:11
cedkindeed I would like to see the reaction of the maintainers to https://github.com/pypa/setuptools/issues/89114:11
cedkthe doc does say anything about the exit code: https://setuptools.readthedocs.io/en/latest/setuptools.html#test-build-package-and-run-a-unittest-suite14:12
-!- Doflamingo(d9a2c88d@gateway/web/cgi-irc/kiwiirc.com/ip.217.162.200.141) has joined #tryton14:13
cedkpokoli: another option will be to be able to mask some releases14:26
cedkwe have a devpi-server for cache but I do not know if we can mask packages14:27
cedkcan not find a way14:32
cedkit is a petty because it is the second time we have such problem14:32
pokolicedk: but we are (by far) better covered to errors than before14:47
pokolicedk: Could you upload to the devpyserver a custom package with the change reverted and a higger ersion?14:47
pokolis/ersion/version/14:48
-!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton15:06
-!- silwol(silwolmatr@gateway/shell/matrix.org/x-lvhaikphseytdaft) has joined #tryton15:15
cedkpokoli: I do not know15:22
cedkpokoli: it is standard devpy without any configuration15:23
cedkPR: https://github.com/pypa/setuptools/pull/89215:40
cedkso it seems it is going to be fixed15:41
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton15:42
-!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton15:58
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton15:59
-!- silwol(silwolmatr@gateway/shell/matrix.org/x-xgcovqkgrwetzeyy) has joined #tryton16:09
-!- tryingtryton(940027d9@gateway/web/freenode/ip.148.0.39.217) has joined #tryton16:09
tryingtrytonIs it possible to see how many sales were made to a particular customer with Tryton?16:09
-!- robink(~quassel@unaffilated/robink) has joined #tryton16:13
-!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has left #tryton16:30
cedkpokoli: looks like there will be a release soon: https://github.com/pypa/setuptools/commit/bf665ffb84aa72010240d735b5f45db32d60bdde16:34
cedkpokoli: release: https://pypi.python.org/pypi/setuptools/32.1.016:42
cedkI rerun the normally failed commit to see16:43
-!- JanGB(~jan@ipservice-092-208-143-049.092.208.pools.vodafone-ip.de) has joined #tryton16:59
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton17:04
-!- mathesis(~mathesis@187.148.129.9) has joined #tryton17:15
-!- thaneor1(~ldlc6@r179-25-170-229.dialup.adsl.anteldata.net.uy) has joined #tryton17:22
-!- robink_(~quassel@unaffilated/robink) has joined #tryton17:30
-!- thaneor(~ldlc6@r179-25-170-229.dialup.adsl.anteldata.net.uy) has joined #tryton17:39
-!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton18:22
-!- kstenger(~karla@r186-48-37-98.dialup.adsl.anteldata.net.uy) has joined #tryton19:07
tryingtrytonIs it possible to see how many sales were logged by a specific user with Tryton?19:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:13
tryingtrytonIs it possible to see how many sales were made to a particular customer with Tryton?21:20
kstengertryingtryton: did you try filter by party?22:53
tryingtrytonI 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.22:54
kstengertryingtryton: 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 state22:58
kstengertryingtryton: use quotes for the name of the party if it has spaces22:58
tryingtrytonBut there's no way for a convenient quantity and amount to be shown per party?23:00

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!