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 #tryton00:07
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton02:07
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton02:07
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton02:07
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton02:07
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton03:07
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton03:07
-!- csotelo__(~csotelo@190.234.41.50) has joined #tryton03:07
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton03:07
-!- yangoon(~mathiasb@109.250.131.193) has joined #tryton04:07
-!- kapilp(uid36151@gateway/web/irccloud.com/x-ksfswwywxcbyydbt) has joined #tryton06:07
-!- odicha(~odicha@91.142.107.66) has joined #tryton06:07
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:07
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:07
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 cdn08:07
cedksemarie: but then we could not support virtual path like latest or lts and it removes the possibility to get the *real*/uptodate download08:07
semarieyes08:07
-!- rpit(~rpit@h-213.61.178.154.host.de.colt.net) has joined #tryton08:07
semarieso, I assume downstream (linux/bsd distributions) should use downloads-cdn.t.o instead downloads.t.o. usually they track a specified version08:07
cedksemarie: it will be great08:07
cedksemarie: it will be asked on the next newsletter08:07
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton09:07
-!- Timitos(~kpreisler@2001:a61:5ac:c301:762b:62ff:fe84:ed7e) has joined #tryton09:07
-!- ubtel(~ubtel@ptr-fyom2pgyty5y2kk0si4.18120a2.ip6.access.telenet.be) has joined #tryton09:07
-!- rpit(~rpit@p5df0535b.dip0.t-ipconnect.de) has joined #tryton10:07
-!- rpit(~rpit@2003:a:1243:5b00:c025:1e3c:10b0:6ca3) has joined #tryton10:07
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton12:07
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-yiodivqeshzsbqzo) has joined #tryton12:07
-!- noosanon(~user@154.127.251.103) has joined #tryton12:07
-!- noosanon(~user@154.127.251.103) has joined #tryton13:07
-!- mariomop(~quassel@host208.181-14-168.telecom.net.ar) has joined #tryton13:07
-!- noosanon(~user@154.127.251.103) has joined #tryton13:07
noosanonhey guys13:07
-!- noosanon`(~user@154.127.251.103) has joined #tryton13:07
nicoenoosanon: hello13:07
-!- noosanon(~user@154.127.251.103) has joined #tryton13:07
noosanonnicoe: Hello13:07
noosanonI'm unable to insert the IBAN of an account with banking module...13:07
noosanonI've already validated it with an online tool13:07
noosanonbut on tryton it says that is invalid13:07
noosanonany ideas??13:07
semarieI think tryton uses python-stdnum for validating numbers (like iban)13:07
semarienoosanon: could you share the url of the online tool ?13:07
semarieand what is first two letters in your iban ? (the iso country code)13:07
noosanonyes of course13:07
noosanonhttps://www.ibancalculator.com/iban_validieren.html13:07
-!- noosanon(~user@154.127.251.103) has joined #tryton13:07
pokolisemarie: yes, we use python-stndum for iban validation http://hg.tryton.org/modules/bank/file/3520a2112c07/bank.py#l313:07
noosanonyeah, that's why I'd thought it'd be alright13:07
noosanonso it should be ok with IBAN numbers13:07
noosanonI've read the list of official countries who adopted IBAN numbers on wiki13:07
nicoenoosanon: what's the iban number?13:07
noosanonand Angola is in the list13:07
noosanonAO06 0051 0000 5563 5862 1417 613:07
semarieI am unsure if angola is supported by py-stdnum13:07
nicoenoosanon: apparently stdnum can not validate this number13:07
semarieno stdnum.ao, so AO... will not work13:07
pokolisemarie: but the country part will not be checked if stdnum is not able to do it13:07
pokolisemarie: https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/iban.py#L11613:07
nicoepokoli: this line is not reached because validate raise an InvalidComponent13:07
nicoepokoli: probably because _ibandb.info returns something about not knowing the country or something13:07
nicoeso noosanon you could contribute a patch to stdnum or insert the number without specifying that it's an iban13:07
cedkyes Angola is not in stdnum/iban.dat13:07
cedknoosanon: you can store it as other for now13:07
cedkbut the best would be to contribute to python-stdnum to include Angola13:07
noosanonyeah sure, for now I'll store it as other13:07
cedkAngola is in a second table: https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country13:07
noosanonbut I will contribute a patch to include Angola13:07
cedkso I think it is because Angola is not in the SWIFT listing13:07
cedkupdate/iban.py takes only from SWIFT13:07
cedkI think only SWIFT listing is official13:07
semariecedk: about cdn, should I fetch from downloads-cdn and fallback to downloads, or only downloads-cdn is enough ?13:07
cedksemarie: downloads-cdn is updated every day so you may have a window where content is not yet there13:07
noosanoncedk: according to https://www.bankswiftcode.org/, Angola is in the swift list13:07
noosanoncedk: https://www.bankswiftcode.org/angola/13:07
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:07
-!- noosanon(~user@154.127.251.103) has joined #tryton14:07
cedknoosanon: may not for the IBAN: https://www.swift.com/node/1197114:07
-!- noosanon(~user@154.127.251.103) has joined #tryton15:07
-!- smorillo(5ef87bd2@gateway/web/cgi-irc/kiwiirc.com/ip.94.248.123.210) has joined #tryton15:07
-!- kapilp(uid36151@gateway/web/irccloud.com/x-xrmaabkrjaejawpx) has joined #tryton15:07
-!- noosanon(~user@154.127.251.103) has joined #tryton15:07
-!- noosanon(~user@154.127.251.103) has joined #tryton15:07
-!- noosanon(~user@154.127.251.103) has joined #tryton15:07
-!- noosanon(~user@154.127.251.103) has joined #tryton16:07
noosanoncedk: so before doing anything, I should wait for Angola to be in the SWIFT listing??16:07
-!- noosanon(~user@154.127.251.103) has joined #tryton16:07
cedknoosanon: I do not know what are the rule the maintainer of python-stdnum applies16:07
cedkI'm just explaining why it is not there now16:07
cedknoosanon: see with him16:07
-!- noosanon`(~user@154.127.251.103) has joined #tryton16:07
-!- noosanon(~user@154.127.251.103) has joined #tryton16:07
pokolinoosanon: You should create an issue here: https://github.com/arthurdejong/python-stdnum/issues16:07
pokolinoosanon: or send an email to python-stdnum-users mailing list: https://arthurdejong.org/python-stdnum/lists16:07
-!- noosanon(~user@154.127.251.103) has joined #tryton19:07
-!- noosanon`(~user@154.127.251.103) has joined #tryton20:07
-!- noosanon`(~user@154.127.251.103) has joined #tryton20:07
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton20:07
-!- noosanon`(~user@154.127.251.103) has joined #tryton20:07
-!- noosanon(~user@154.127.251.103) has joined #tryton21:07
noosanonok guys, thank you so much for your help ;)21:07
noosanonI will update this topic when I have news from python-stdnum21:07
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:07
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:07
-!- nicoe(~nicoe@85.234.196.111) has joined #tryton22:07

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