IRC logs of #tryton for Wednesday, 2019-07-24

chat.freenode.net #tryton log beginning Wed 24 Jul 2019 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:03
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton00:20
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton00:32
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton00:53
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton00:55
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton01:01
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton01:04
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton01:07
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton01:34
-!- yangoon(~mathiasb@109.250.131.193) has joined #tryton02:43
-!- kapilp(uid36151@gateway/web/irccloud.com/x-ksfswwywxcbyydbt) has joined #tryton04:46
-!- odicha(~odicha@91.142.107.66) has joined #tryton04:52
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton04:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:20
semariecedk: wouldn't be more simple to move the CNAME of downloads.tryton.org to cdn instead of adding a new CNAME ? it would permit to transparently move all users of downloads.tryton.org to cdn06:27
cedksemarie: but then we could not support virtual path like latest or lts and it removes the possibility to get the *real*/uptodate download06:28
semarieyes06:29
-!- rpit(~rpit@h-213.61.178.154.host.de.colt.net) has joined #tryton06:30
semarieso, I assume downstream (linux/bsd distributions) should use downloads-cdn.t.o instead downloads.t.o. usually they track a specified version06:31
cedksemarie: it will be great06:31
cedksemarie: it will be asked on the next newsletter06:32
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton07:11
-!- Timitos(~kpreisler@2001:a61:5ac:c301:762b:62ff:fe84:ed7e) has joined #tryton07:17
-!- ubtel(~ubtel@ptr-fyom2pgyty5y2kk0si4.18120a2.ip6.access.telenet.be) has joined #tryton07:36
-!- rpit(~rpit@p5df0535b.dip0.t-ipconnect.de) has joined #tryton08:08
-!- rpit(~rpit@2003:a:1243:5b00:c025:1e3c:10b0:6ca3) has joined #tryton08:36
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton10:13
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-yiodivqeshzsbqzo) has joined #tryton10:51
-!- noosanon(~user@154.127.251.103) has joined #tryton10:52
-!- noosanon(~user@154.127.251.103) has joined #tryton11:04
-!- mariomop(~quassel@host208.181-14-168.telecom.net.ar) has joined #tryton11:06
-!- noosanon(~user@154.127.251.103) has joined #tryton11:11
noosanonhey guys11:12
-!- noosanon`(~user@154.127.251.103) has joined #tryton11:14
nicoenoosanon: hello11:15
-!- noosanon(~user@154.127.251.103) has joined #tryton11:20
noosanonnicoe: Hello11:21
noosanonI'm unable to insert the IBAN of an account with banking module...11:21
noosanonI've already validated it with an online tool11:21
noosanonbut on tryton it says that is invalid11:21
noosanonany ideas??11:21
semarieI think tryton uses python-stdnum for validating numbers (like iban)11:25
semarienoosanon: could you share the url of the online tool ?11:26
semarieand what is first two letters in your iban ? (the iso country code)11:27
noosanonyes of course11:27
noosanonhttps://www.ibancalculator.com/iban_validieren.html11:28
-!- noosanon(~user@154.127.251.103) has joined #tryton11:29
pokolisemarie: yes, we use python-stndum for iban validation http://hg.tryton.org/modules/bank/file/3520a2112c07/bank.py#l311:32
noosanonyeah, that's why I'd thought it'd be alright11:32
noosanonso it should be ok with IBAN numbers11:34
noosanonI've read the list of official countries who adopted IBAN numbers on wiki11:34
nicoenoosanon: what's the iban number?11:35
noosanonand Angola is in the list11:35
noosanonAO06 0051 0000 5563 5862 1417 611:36
semarieI am unsure if angola is supported by py-stdnum11:37
nicoenoosanon: apparently stdnum can not validate this number11:37
semarieno stdnum.ao, so AO... will not work11:39
pokolisemarie: but the country part will not be checked if stdnum is not able to do it11:39
pokolisemarie: https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/iban.py#L11611:39
nicoepokoli: this line is not reached because validate raise an InvalidComponent11:42
nicoepokoli: probably because _ibandb.info returns something about not knowing the country or something11:43
nicoeso noosanon you could contribute a patch to stdnum or insert the number without specifying that it's an iban11:43
cedkyes Angola is not in stdnum/iban.dat11:44
cedknoosanon: you can store it as other for now11:44
cedkbut the best would be to contribute to python-stdnum to include Angola11:44
noosanonyeah sure, for now I'll store it as other11:46
cedkAngola is in a second table: https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country11:46
noosanonbut I will contribute a patch to include Angola11:47
cedkso I think it is because Angola is not in the SWIFT listing11:48
cedkupdate/iban.py takes only from SWIFT11:49
cedkI think only SWIFT listing is official11:49
semariecedk: about cdn, should I fetch from downloads-cdn and fallback to downloads, or only downloads-cdn is enough ?11:51
cedksemarie: downloads-cdn is updated every day so you may have a window where content is not yet there11:53
noosanoncedk: according to https://www.bankswiftcode.org/, Angola is in the swift list11:56
noosanoncedk: https://www.bankswiftcode.org/angola/11:56
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:04
-!- noosanon(~user@154.127.251.103) has joined #tryton12:07
cedknoosanon: may not for the IBAN: https://www.swift.com/node/1197112:34
-!- noosanon(~user@154.127.251.103) has joined #tryton13:01
-!- smorillo(5ef87bd2@gateway/web/cgi-irc/kiwiirc.com/ip.94.248.123.210) has joined #tryton13:16
-!- kapilp(uid36151@gateway/web/irccloud.com/x-xrmaabkrjaejawpx) has joined #tryton13:17
-!- noosanon(~user@154.127.251.103) has joined #tryton13:45
-!- noosanon(~user@154.127.251.103) has joined #tryton13:46
-!- noosanon(~user@154.127.251.103) has joined #tryton13:54
-!- noosanon(~user@154.127.251.103) has joined #tryton14:13
noosanoncedk: so before doing anything, I should wait for Angola to be in the SWIFT listing??14:18
-!- noosanon(~user@154.127.251.103) has joined #tryton14:19
cedknoosanon: I do not know what are the rule the maintainer of python-stdnum applies14:22
cedkI'm just explaining why it is not there now14:22
cedknoosanon: see with him14:22
-!- noosanon`(~user@154.127.251.103) has joined #tryton14:37
-!- noosanon(~user@154.127.251.103) has joined #tryton14:39
pokolinoosanon: You should create an issue here: https://github.com/arthurdejong/python-stdnum/issues14:57
pokolinoosanon: or send an email to python-stdnum-users mailing list: https://arthurdejong.org/python-stdnum/lists14:57
-!- noosanon(~user@154.127.251.103) has joined #tryton17:51
-!- noosanon`(~user@154.127.251.103) has joined #tryton18:22
-!- noosanon`(~user@154.127.251.103) has joined #tryton18:33
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton18:45
-!- noosanon`(~user@154.127.251.103) has joined #tryton18:54
-!- noosanon(~user@154.127.251.103) has joined #tryton19:07
noosanonok guys, thank you so much for your help ;)19:08
noosanonI will update this topic when I have news from python-stdnum19:09
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:16
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:01
-!- nicoe(~nicoe@85.234.196.111) has joined #tryton20:26

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