IRC logs of #tryton for Monday, 2019-12-09

chat.freenode.net #tryton log beginning Mon 09 Dec 2019 12:00:01 AM CET
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:18
-!- thaneor(~lenovo3@r179-25-187-235.dialup.adsl.anteldata.net.uy) has joined #tryton01:48
-!- yangoon1(~mathiasb@i59F4BE4A.versanet.de) has joined #tryton03:20
-!- thaneor1(~lenovo3@r179-24-60-156.dialup.adsl.anteldata.net.uy) has joined #tryton05:28
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:52
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:23
-!- rpit(~rpit@dslb-088-071-172-129.088.071.pools.vodafone-ip.de) has joined #tryton07:46
-!- josesalvador(~josesalva@84.124.29.26.static.user.ono.com) has joined #tryton08:10
-!- Timitos(~kpreisler@2001:a61:5c9:6801:762b:62ff:fe84:ed7e) has joined #tryton08:21
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:54
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton10:18
-!- mariomop(~quassel@181.228.29.59) has joined #tryton10:42
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-iuvzwobidzwzhzkn) has joined #tryton11:45
mrichezhi, can i use this kind of notation in domain evaluation :  Eval('context', {}).get('company.party', -1)) ?  or should i use a function field to get party used for the company ?12:02
cedkmrichez: in context there are no instances, only basic types like int, str etc.12:07
mrichezcedk: ok thanks12:08
-!- udono(~udono@238-141-067-156.ip-addr.inexio.net) has joined #tryton12:13
mrichezWondering why rec_name for bank_account is self.numbers[0].number (http://hg.tryton.org/modules/bank/file/tip/bank.py#l61) ? because when you use this view http://hg.tryton.org/modules/bank/file/tip/view/bank_account_number_list.xml , it displays the number account in each column. Wouldn't it be better to have also bank name in account rec_name ?13:48
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:19
cedkmrichez: I think it is because we thought it was enough14:29
cedkmrichez: but it may be a good idea to add the bank name14:29
mrichezcedk: so it would be [bank name]first account number ?14:34
mrichezcedk: don't if it's necessary to have account number and not just bank name ?14:35
cedkmrichez: it is required to have something that uniquely identify the account14:44
mrichezcedk: ok but nothing prevents to have two similar accounts... (bank name, first same number account and then another number account), should currency be involved too in the rec_name ?14:49
mrichezcedk: maybe should i open a discuss about this... ?14:52
cedkmrichez: if you have two times the same number, it is any away the same account14:58
mrichezcedk: indeed15:01
-!- josesalvador(~josesalva@170.253.41.74) has joined #tryton15:54
-!- thaneor(~lenovo3@179.26.11.171) has joined #tryton17:31
-!- rpit(~rpit@dslb-088-071-172-129.088.071.pools.vodafone-ip.de) has joined #tryton18:34
-!- udono(~udono@238-141-067-156.ip-addr.inexio.net) has joined #tryton19:06
-!- Pilou(~Pilou@rogoth.ir5.eu) has joined #tryton19:15
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton19:15
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton19:17
-!- mariomop(~quassel@181.228.29.59) has joined #tryton20:01

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