IRC logs of #tryton for Thursday, 2014-12-18

chat.freenode.net #tryton log beginning Thu Dec 18 00:00:02 CET 2014
2014-12-18 01:00 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2014-12-18 02:12 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 03:04 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 03:26 -!- digitalsatori1(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 03:37 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-12-18 04:29 -!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2014-12-18 04:50 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 06:01 -!- yangoon(~mathiasb@p549F35BA.dip0.t-ipconnect.de) has joined #tryton
2014-12-18 06:29 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-12-18 06:40 -!- frispete(~frispete@p54A93026.dip0.t-ipconnect.de) has joined #tryton
2014-12-18 06:40 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 06:45 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 06:45 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 06:55 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2014-12-18 07:31 -!- pilou(~pilou@181.204.19.93.rev.sfr.net) has joined #tryton
2014-12-18 07:31 -!- pilou(~pilou@pdpc/supporter/active/pilou) has joined #tryton
2014-12-18 07:43 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-12-18 07:44 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2014-12-18 08:23 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-12-18 08:29 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 08:36 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 08:43 -!- ytz(~ytz@opfw01.options-it.com) has joined #tryton
2014-12-18 09:11 -!- horn(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2014-12-18 09:12 -!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton
2014-12-18 09:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-12-18 09:13 <horn> is this a bug or a setting somewhere: field input 17.12.2014 00:00 - line.field returns 2014-12-16 23:00:00
2014-12-18 09:13 <horn> one hour offset
2014-12-18 09:14 <Timitos> horn: does your server run on utc?
2014-12-18 09:18 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 09:31 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 09:33 <cedk> horn: depend if you see that from the client, yes
2014-12-18 09:33 <cedk> horn: but if you look at the input in the client and look at the value in the DB, it is probably correct
2014-12-18 09:34 <cedk> horn: datetime are stored in UTC while displayed in user timezone
2014-12-18 09:34 <horn> Timitos, cedk: I'll check
2014-12-18 09:37 <horn> Timitos, cedk: db is 2014-12-16 23:00:00 - client is 17.12.2014 00:00
2014-12-18 09:38 <Timitos> horn: so if your client runs on GMT+1 and your server runs on UTC everything seems to be fine
2014-12-18 09:39 <cedk> horn: if you are annoyed but the day shift, probably you don't want datetime but date
2014-12-18 09:39 <Timitos> horn: there has been an change in 3.2, that the server always uses UTC internally
2014-12-18 09:39 <Timitos> horn: i donĀ“t know an which version you are
2014-12-18 09:40 <horn> Timitos, cedk: no problem - the issue comes from a search-wizard - so user puts in the client gmt+1 and I have to transfer it to utc
2014-12-18 09:41 <horn> Timitos, cedk: [status=resolved] :)
2014-12-18 09:42 <cedk> horn: you don't have to transfer anything, the client does it normally
2014-12-18 09:43 <horn> cedk: yes - but the data resulting from the wizard is in users timezone
2014-12-18 09:43 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 09:44 <cedk> horn: timezone doesn't care, it is always the same time
2014-12-18 09:44 <cedk> horn: as far as you compare using the same timezone
2014-12-18 09:51 <horn> cedk: ok - fixed - thanks a lot!
2014-12-18 10:13 -!- Streward(~quassel@85.183.31.24) has joined #tryton
2014-12-18 10:14 -!- bechamel(~Adium@109.129.109.86) has joined #tryton
2014-12-18 10:21 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-12-18 10:23 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 10:25 -!- bechamel(~Adium@109.129.109.86) has joined #tryton
2014-12-18 10:35 -!- nicoe(~nicoe@2a02:a03f:301d:5b00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2014-12-18 10:37 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-12-18 10:43 -!- bechamel(~Adium@109.129.109.86) has joined #tryton
2014-12-18 10:44 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 10:45 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 10:52 -!- digitalsatori(~Thunderbi@116.234.157.92) has joined #tryton
2014-12-18 11:13 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2014-12-18 11:32 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-12-18 11:54 <prksh> pokoli: from 3.2 all types of field can have domain. How do I put on selection?
2014-12-18 11:54 <pokoli> prksh: which domain do you want?
2014-12-18 11:55 <pokoli> prksh: domain=[('selection_name', '=', 'your_value')]
2014-12-18 11:55 <pokoli> prksh: but I imagine you want Eval
2014-12-18 11:55 <pokoli> prksh: but it's better to explain what do you want to achieve
2014-12-18 11:56 <prksh> pokoli: I have two selection fields and some combination of input is not acceptable. I wan to limit it throguh domain
2014-12-18 11:57 <prksh> pokoli: not sure this is the right approach
2014-12-18 11:57 <pokoli> prksh: it's doable
2014-12-18 11:58 <prksh> pokoli: through domain?
2014-12-18 12:00 <pokoli> prksh: yes, you need something similar to http://hg.tryton.org/modules/stock/rev/442e0c91de59
2014-12-18 12:01 <pokoli> prksh: so when you have you allowed combinations you need to build the domain based on the allowed combinations and assign to both fields
2014-12-18 12:02 <prksh> pokoli: you are always a saviour :)
2014-12-18 12:02 <prksh> thanks
2014-12-18 12:03 <pokoli> prksh: happy to help :)
2014-12-18 12:10 -!- mariomop(~quassel@host110.186-125-103.telecom.net.ar) has joined #tryton
2014-12-18 12:40 <prksh> pokoli: is it possible to order records based on some function field?
2014-12-18 12:40 <prksh> pokoli: or some custom logic
2014-12-18 12:42 <pokoli> prksh: yes you have to define a order_field method http://doc.tryton.org/3.4/trytond/doc/ref/models/fields.html#ordering
2014-12-18 12:44 <pokoli> prksh: some example on account module http://hg.tryton.org/modules/account/file/de3789903fee/move.py#l1111
2014-12-18 13:32 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2014-12-18 13:35 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2014-12-18 13:44 <kstenger> is there no tag to download client 3.3 ? does someone know what revision it would correspond to?
2014-12-18 13:45 <Timitos> kstenger: for dev versions there is no download provided. why not using 3.4?
2014-12-18 13:47 <kstenger> because I still have some servers using 3.3 :)
2014-12-18 13:47 <kstenger> nevermind, I think I know how to find it out, thanks
2014-12-18 13:48 <kstenger> so, it means odd numbers are development versions, right Timitos?
2014-12-18 13:48 <pokoli> kstenger: yes, odd numbers are development versions
2014-12-18 13:48 <Timitos> kstenger: 3.3 is rather undefined. you need to figure out at what date you pulled the source for the server so that you can determin the correct changeset of the tryton client
2014-12-18 13:48 <Timitos> kstenger: yes
2014-12-18 13:49 <kstenger> ok, thanks!
2014-12-18 13:53 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 15:03 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-12-18 15:15 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-12-18 15:19 -!- hiaselhans1(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2014-12-18 15:37 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton
2014-12-18 16:00 -!- RGTechNurse(~RGTechNur@190.190.163.183) has joined #tryton
2014-12-18 16:01 <RGTechNurse> Hi! When trying to print a sale report I get this window poping up http://snag.gy/EzZAG.jpg
2014-12-18 16:02 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-12-18 16:02 <pokoli> RGTechNurse: do you have libreoffice/openoffice installed?
2014-12-18 16:03 <RGTechNurse> pokoli: yes! and it is running while trying to open the report
2014-12-18 16:03 <pokoli> RGTechNurse: it seems that your system is configured to open odt files with xArchiver, so that's what you see in the screen
2014-12-18 16:04 <RGTechNurse> basically what it is showed on the print screen I pasted on the link
2014-12-18 16:05 <RGTechNurse> so you say it is a file assoc. problem?
2014-12-18 16:06 <RGTechNurse> pokoli: yeap. you got it! txs
2014-12-18 16:06 <pokoli> RGTechNurse: yes :)
2014-12-18 16:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-12-18 16:58 -!- smarro(~sebastian@181.16.21.18) has joined #tryton
2014-12-18 17:14 -!- sunny_dealmeida(~quassel@203.115.77.195) has joined #tryton
2014-12-18 17:33 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2014-12-18 17:53 -!- hiaselhans1(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2014-12-18 17:54 -!- prksh(~prksh@1.39.27.234) has joined #tryton
2014-12-18 17:56 -!- meanmicio(~meanmicio@63.Red-83-52-105.dynamicIP.rima-tde.net) has joined #tryton
2014-12-18 17:56 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-12-18 17:59 -!- prksh(~prksh@1.39.25.253) has joined #tryton
2014-12-18 18:04 -!- prksh_(~prksh@1.39.27.154) has joined #tryton
2014-12-18 18:23 -!- prksh(~prksh@1.39.27.154) has joined #tryton
2014-12-18 18:25 -!- udono(~udono@ip-178-202-33-125.hsi09.unitymediagroup.de) has joined #tryton
2014-12-18 18:35 <pokoli> hi, its possible to hide the label and the buttons of a One2Many field?
2014-12-18 18:39 -!- prksh_(~prksh@1.39.25.153) has joined #tryton
2014-12-18 18:40 <cedk> pokoli: no
2014-12-18 18:41 <pokoli> cedk: I have a use case where i think it may be usefull
2014-12-18 18:41 <pokoli> cedk: we have a One2Many size=1, without tree form and a unique_contraint on the target field
2014-12-18 18:42 <pokoli> without tree view sorry
2014-12-18 18:42 <pokoli> cedk: do you think we can introduce this?
2014-12-18 18:54 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2014-12-18 18:54 <cedk> pokoli: I don't think because you can still remove the entry
2014-12-18 18:54 <pokoli> cedk: that's basically what i want to prevent, to not remove the entry ;)
2014-12-18 18:55 <cedk> pokoli: and you should also be able to add
2014-12-18 18:55 <pokoli> cedk: registry it's added on default
2014-12-18 18:56 <pokoli> cedk: depending on the context
2014-12-18 19:03 <cedk> pokoli: even default is not necessary enforced
2014-12-18 19:04 <cedk> pokoli: I think it is wrong to try to fool the user about the design
2014-12-18 19:05 -!- prksh(~prksh@1.39.25.153) has joined #tryton
2014-12-18 19:19 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2014-12-18 19:41 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-12-18 20:17 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2014-12-18 20:30 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-12-18 20:56 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2014-12-18 21:00 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-12-18 21:05 -!- ytz(~ytz@90.197.83.148) has joined #tryton
2014-12-18 21:07 <horn> mh - still experimenting with datetime in tryton: for creating a record I need to make it explizit timezone aware
2014-12-18 21:08 <horn> this I get working but now the calendarwidget is showing the datetimes in utc ...
2014-12-18 22:56 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton

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