IRC logs of #tryton for Tuesday, 2019-01-22

chat.freenode.net #tryton log beginning Tue Jan 22 00:00:01 CET 2019
-!- csotelo(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton00:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:01
-!- morfeokmg(~Mutter@fixed-187-190-38-30.totalplay.net) has joined #tryton03:01
-!- yangoon1(~mathiasb@i59F52F2D.versanet.de) has joined #tryton04:01
-!- udono(~udono@188.210.61.125) has joined #tryton05:01
-!- thaneor(~lenovo3@179.26.116.187) has joined #tryton06:01
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton07:01
-!- rpit(~rpit@p200300C88F2690000966D3D110E27369.dip0.t-ipconnect.de) has joined #tryton07:01
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:01
-!- Timitos(~kpreisler@tmo-086-167.customers.d1-online.com) has joined #tryton09:01
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton09:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:01
-!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton10:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:01
-!- csotelo(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton11:01
-!- mariomop(~quassel@host109.201-253-199.telecom.net.ar) has joined #tryton11:01
-!- rpit(~rpit@h-213.61.178.154.host.de.colt.net) has joined #tryton12:01
cedkpokoli: do you see how we could implement multiselection field?12:01
pokolicedk: like the multiselection widget but with some buttons to add/remove new values?12:01
cedkpokoli: the widget should be the multiselection widget12:01
cedkpokoli: it is more about storing12:01
cedkpokoli: for me the definition should be like Selection but with a storage model name to store the values12:01
cedkpokoli: like a Many2Many but the target is a char not a Many2One12:01
pokoliACTION bbl12:01
-!- t2arc(~t2arc@85.100.60.70) has joined #tryton13:01
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton13:01
-!- Timitos(~kpreisler@tmo-096-64.customers.d1-online.com) has joined #tryton13:01
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton14:01
-!- smorillo(8965d4d8@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.212.216) has joined #tryton15:01
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton15:01
andrespolitihi, i'm trying to do a search by name in country pool, but the name field is translatable. The user inputs a spanish name but the backend searches in english, so the search fails. How can i search in the proper language?15:01
cedkandrespoliti: the ORM always search in the language set in the context16:01
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton16:01
-!- smorillo(8965d4d8@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.212.216) has joined #tryton16:01
-!- Timitos(~kpreisler@tmo-096-64.customers.d1-online.com) has joined #tryton17:01
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton17:01
-!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) has joined #tryton17:01
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton17:01
-!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) has joined #tryton17:01
pokolicedk: for me what you propose is something similar to an EAV model18:01
pokolicedk: is not better to use Arrays when possible for storing Chars and Integer values?18:01
pokoliindeed I agree that for a list of Many2One is better to use a xxx2Many field18:01
-!- smorillo(8965d4d8@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.212.216) has joined #tryton18:01
cedkpokoli: not sure it is bad because the options are limited18:01
cedkpokoli: also this is indexable while array requires special indexes and operators18:01
-!- thaneor1(~lenovo3@r179-25-171-69.dialup.adsl.anteldata.net.uy) has joined #tryton18:01
pokolicedk: I see on benefit: using a separate table will be more flexible as the target field can have extra constraints (using a pyson domain for example). I imagine this will be harder to define using an Array field19:01
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton22:01
csotelohi all22:01
csotelois there a way to do automatic adjustment. I mean. I have an issue related to a sale on foreign currency, when I do a sale on foreign currency or payment on foreign currency, cause of change type, less than 0.10, then extra payment of 0.0x is required, is there a way to make a round and push difference to the adjustment? bests22:01
cedkcsotelo: you must use a write-off when doing reconciliation22:01
csotelocedk, sorry for this dumb question? is there a way to do it without the wizard?22:01
csoteloI mean, on payment registering ..22:01
cedkcsotelo: not for now22:01
csoteloI am looking the way on do that with out the wizrad :/22:01
csotelocedk, people... I have notice one think on date widgets related to year, as example, a birth date of some is '1980-01-01', if I write on a date widget '80/01/01', it gives me '2080/01/01' instead of '1980/01/01', is this a default behavior or is there a way to configure it?23:01
csotelothanks23:01
cedkcsotelo: see dateutil library23:01
cedkcsotelo: but people can not expect to have strict data when encoding fuzzy one23:01
csotelocedk, you are completely right23:01
cedkcsotelo: but I guess the parse use the current century to fill missing data23:01
cedkcsotelo: you can read https://discuss.tryton.org/t/best-practice-for-multi-currency-set-up/98923:01
csotelocedk, thanks!!23:01
-!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton23:01

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