chat.freenode.net #tryton log beginning Wed 24 Jul 2019 12:00:01 AM CEST | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:03 | |
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton | 00:20 | |
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton | 00:32 | |
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton | 00:53 | |
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton | 00:55 | |
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton | 01:01 | |
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton | 01:04 | |
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton | 01:07 | |
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton | 01:34 | |
-!- yangoon(~mathiasb@109.250.131.193) has joined #tryton | 02:43 | |
-!- kapilp(uid36151@gateway/web/irccloud.com/x-ksfswwywxcbyydbt) has joined #tryton | 04:46 | |
-!- odicha(~odicha@91.142.107.66) has joined #tryton | 04:52 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 04:55 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:20 | |
semarie | cedk: 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 cdn | 06:27 |
---|---|---|
cedk | semarie: but then we could not support virtual path like latest or lts and it removes the possibility to get the *real*/uptodate download | 06:28 |
semarie | yes | 06:29 |
-!- rpit(~rpit@h-213.61.178.154.host.de.colt.net) has joined #tryton | 06:30 | |
semarie | so, I assume downstream (linux/bsd distributions) should use downloads-cdn.t.o instead downloads.t.o. usually they track a specified version | 06:31 |
cedk | semarie: it will be great | 06:31 |
cedk | semarie: it will be asked on the next newsletter | 06:32 |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 07:11 | |
-!- Timitos(~kpreisler@2001:a61:5ac:c301:762b:62ff:fe84:ed7e) has joined #tryton | 07:17 | |
-!- ubtel(~ubtel@ptr-fyom2pgyty5y2kk0si4.18120a2.ip6.access.telenet.be) has joined #tryton | 07:36 | |
-!- rpit(~rpit@p5df0535b.dip0.t-ipconnect.de) has joined #tryton | 08:08 | |
-!- rpit(~rpit@2003:a:1243:5b00:c025:1e3c:10b0:6ca3) has joined #tryton | 08:36 | |
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton | 10:13 | |
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-yiodivqeshzsbqzo) has joined #tryton | 10:51 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 10:52 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 11:04 | |
-!- mariomop(~quassel@host208.181-14-168.telecom.net.ar) has joined #tryton | 11:06 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 11:11 | |
noosanon | hey guys | 11:12 |
-!- noosanon`(~user@154.127.251.103) has joined #tryton | 11:14 | |
nicoe | noosanon: hello | 11:15 |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 11:20 | |
noosanon | nicoe: Hello | 11:21 |
noosanon | I'm unable to insert the IBAN of an account with banking module... | 11:21 |
noosanon | I've already validated it with an online tool | 11:21 |
noosanon | but on tryton it says that is invalid | 11:21 |
noosanon | any ideas?? | 11:21 |
semarie | I think tryton uses python-stdnum for validating numbers (like iban) | 11:25 |
semarie | noosanon: could you share the url of the online tool ? | 11:26 |
semarie | and what is first two letters in your iban ? (the iso country code) | 11:27 |
noosanon | yes of course | 11:27 |
noosanon | https://www.ibancalculator.com/iban_validieren.html | 11:28 |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 11:29 | |
pokoli | semarie: yes, we use python-stndum for iban validation http://hg.tryton.org/modules/bank/file/3520a2112c07/bank.py#l3 | 11:32 |
noosanon | yeah, that's why I'd thought it'd be alright | 11:32 |
noosanon | so it should be ok with IBAN numbers | 11:34 |
noosanon | I've read the list of official countries who adopted IBAN numbers on wiki | 11:34 |
nicoe | noosanon: what's the iban number? | 11:35 |
noosanon | and Angola is in the list | 11:35 |
noosanon | AO06 0051 0000 5563 5862 1417 6 | 11:36 |
semarie | I am unsure if angola is supported by py-stdnum | 11:37 |
nicoe | noosanon: apparently stdnum can not validate this number | 11:37 |
semarie | no stdnum.ao, so AO... will not work | 11:39 |
pokoli | semarie: but the country part will not be checked if stdnum is not able to do it | 11:39 |
pokoli | semarie: https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/iban.py#L116 | 11:39 |
nicoe | pokoli: this line is not reached because validate raise an InvalidComponent | 11:42 |
nicoe | pokoli: probably because _ibandb.info returns something about not knowing the country or something | 11:43 |
nicoe | so noosanon you could contribute a patch to stdnum or insert the number without specifying that it's an iban | 11:43 |
cedk | yes Angola is not in stdnum/iban.dat | 11:44 |
cedk | noosanon: you can store it as other for now | 11:44 |
cedk | but the best would be to contribute to python-stdnum to include Angola | 11:44 |
noosanon | yeah sure, for now I'll store it as other | 11:46 |
cedk | Angola is in a second table: https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country | 11:46 |
noosanon | but I will contribute a patch to include Angola | 11:47 |
cedk | so I think it is because Angola is not in the SWIFT listing | 11:48 |
cedk | update/iban.py takes only from SWIFT | 11:49 |
cedk | I think only SWIFT listing is official | 11:49 |
semarie | cedk: about cdn, should I fetch from downloads-cdn and fallback to downloads, or only downloads-cdn is enough ? | 11:51 |
cedk | semarie: downloads-cdn is updated every day so you may have a window where content is not yet there | 11:53 |
noosanon | cedk: according to https://www.bankswiftcode.org/, Angola is in the swift list | 11:56 |
noosanon | cedk: https://www.bankswiftcode.org/angola/ | 11:56 |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 12:04 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 12:07 | |
cedk | noosanon: may not for the IBAN: https://www.swift.com/node/11971 | 12:34 |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 13:01 | |
-!- smorillo(5ef87bd2@gateway/web/cgi-irc/kiwiirc.com/ip.94.248.123.210) has joined #tryton | 13:16 | |
-!- kapilp(uid36151@gateway/web/irccloud.com/x-xrmaabkrjaejawpx) has joined #tryton | 13:17 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 13:45 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 13:46 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 13:54 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 14:13 | |
noosanon | cedk: 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 #tryton | 14:19 | |
cedk | noosanon: I do not know what are the rule the maintainer of python-stdnum applies | 14:22 |
cedk | I'm just explaining why it is not there now | 14:22 |
cedk | noosanon: see with him | 14:22 |
-!- noosanon`(~user@154.127.251.103) has joined #tryton | 14:37 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 14:39 | |
pokoli | noosanon: You should create an issue here: https://github.com/arthurdejong/python-stdnum/issues | 14:57 |
pokoli | noosanon: or send an email to python-stdnum-users mailing list: https://arthurdejong.org/python-stdnum/lists | 14:57 |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 17:51 | |
-!- noosanon`(~user@154.127.251.103) has joined #tryton | 18:22 | |
-!- noosanon`(~user@154.127.251.103) has joined #tryton | 18:33 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 18:45 | |
-!- noosanon`(~user@154.127.251.103) has joined #tryton | 18:54 | |
-!- noosanon(~user@154.127.251.103) has joined #tryton | 19:07 | |
noosanon | ok guys, thank you so much for your help ;) | 19:08 |
noosanon | I will update this topic when I have news from python-stdnum | 19:09 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 19:16 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 20:01 | |
-!- nicoe(~nicoe@85.234.196.111) has joined #tryton | 20:26 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!