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 #tryton | 23:22 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:21 | |
-!- morfeokmg(~Mutter@fixed-187-190-38-30.totalplay.net) has joined #tryton | 02:20 | |
-!- yangoon1(~mathiasb@i59F52F2D.versanet.de) has joined #tryton | 03:29 | |
-!- udono(~udono@188.210.61.125) has joined #tryton | 04:14 | |
-!- thaneor(~lenovo3@179.26.116.187) has joined #tryton | 05:44 | |
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 06:38 | |
-!- rpit(~rpit@p200300C88F2690000966D3D110E27369.dip0.t-ipconnect.de) has joined #tryton | 06:54 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 07:58 | |
-!- Timitos(~kpreisler@tmo-086-167.customers.d1-online.com) has joined #tryton | 08:18 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 08:59 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 09:06 | |
-!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton | 09:18 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 09:54 | |
-!- csotelo(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton | 10:06 | |
-!- mariomop(~quassel@host109.201-253-199.telecom.net.ar) has joined #tryton | 10:43 | |
-!- rpit(~rpit@h-213.61.178.154.host.de.colt.net) has joined #tryton | 11:13 | |
cedk | pokoli: do you see how we could implement multiselection field? | 11:26 |
---|---|---|
pokoli | cedk: like the multiselection widget but with some buttons to add/remove new values? | 11:33 |
cedk | pokoli: the widget should be the multiselection widget | 11:38 |
cedk | pokoli: it is more about storing | 11:38 |
cedk | pokoli: for me the definition should be like Selection but with a storage model name to store the values | 11:39 |
cedk | pokoli: like a Many2Many but the target is a char not a Many2One | 11:39 |
pokoli | ACTION bbl | 11:40 |
-!- t2arc(~t2arc@85.100.60.70) has joined #tryton | 12:15 | |
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 12:20 | |
-!- Timitos(~kpreisler@tmo-096-64.customers.d1-online.com) has joined #tryton | 12:36 | |
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 13:09 | |
-!- smorillo(8965d4d8@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.212.216) has joined #tryton | 14:26 | |
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton | 14:57 | |
andrespoliti | hi, 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? | 14:59 |
cedk | andrespoliti: the ORM always search in the language set in the context | 15:04 |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 15:35 | |
-!- smorillo(8965d4d8@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.212.216) has joined #tryton | 15:48 | |
-!- Timitos(~kpreisler@tmo-096-64.customers.d1-online.com) has joined #tryton | 16:06 | |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 16:34 | |
-!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) has joined #tryton | 16:44 | |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 16:49 | |
-!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) has joined #tryton | 16:57 | |
pokoli | cedk: for me what you propose is something similar to an EAV model | 17:03 |
pokoli | cedk: is not better to use Arrays when possible for storing Chars and Integer values? | 17:03 |
pokoli | indeed I agree that for a list of Many2One is better to use a xxx2Many field | 17:04 |
-!- smorillo(8965d4d8@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.212.216) has joined #tryton | 17:10 | |
cedk | pokoli: not sure it is bad because the options are limited | 17:14 |
cedk | pokoli: also this is indexable while array requires special indexes and operators | 17:14 |
-!- thaneor1(~lenovo3@r179-25-171-69.dialup.adsl.anteldata.net.uy) has joined #tryton | 17:46 | |
pokoli | cedk: 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 field | 18:50 |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 21:01 | |
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 21:33 | |
csotelo | hi all | 21:39 |
csotelo | is 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? bests | 21:39 |
cedk | csotelo: you must use a write-off when doing reconciliation | 21:48 |
csotelo | cedk, sorry for this dumb question? is there a way to do it without the wizard? | 21:52 |
csotelo | I mean, on payment registering .. | 21:53 |
cedk | csotelo: not for now | 21:53 |
csotelo | I am looking the way on do that with out the wizrad :/ | 21:53 |
csotelo | cedk, 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? | 22:01 |
csotelo | thanks | 22:01 |
cedk | csotelo: see dateutil library | 22:02 |
cedk | csotelo: but people can not expect to have strict data when encoding fuzzy one | 22:02 |
csotelo | cedk, you are completely right | 22:04 |
cedk | csotelo: but I guess the parse use the current century to fill missing data | 22:04 |
cedk | csotelo: you can read https://discuss.tryton.org/t/best-practice-for-multi-currency-set-up/989 | 22:06 |
csotelo | cedk, thanks!! | 22:09 |
-!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton | 22:34 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!