IRC logs of #tryton for Monday, 2016-06-06

chat.freenode.net #tryton log beginning Mon Jun 6 00:00:02 CEST 2016
2016-06-06 00:02 -!- prayashm(~prayashm@103.194.232.184) has joined #tryton
2016-06-06 00:02 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-06 02:06 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-06 05:15 -!- frispete_(~frispete@p54A90FC4.dip0.t-ipconnect.de) has joined #tryton
2016-06-06 07:30 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-06-06 08:17 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-06-06 08:19 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-06 08:33 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-06-06 08:34 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-06-06 08:40 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-06-06 08:56 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-06-06 09:08 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2016-06-06 09:35 -!- frispete_(~frispete@p54A918CC.dip0.t-ipconnect.de) has joined #tryton
2016-06-06 09:52 -!- frispete(~frispete@p54A91578.dip0.t-ipconnect.de) has joined #tryton
2016-06-06 10:25 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2016-06-06 12:59 -!- mariomop(~quassel@181.90.130.210) has joined #tryton
2016-06-06 13:44 <pokoli> cedk: will be great if you can give me some help (when possible) with https://bugs.tryton.org/issue5608
2016-06-06 14:06 -!- shrox(shrox@nat/iiit/x-eqluaxomfxtwvyoj) has joined #tryton
2016-06-06 14:21 <dj_xatra> cedk: do you know if anything's happening with https://discuss.tryton.org/t/electronic-data-interchange-edi-support/89 ?
2016-06-06 14:22 <pokoli> dj_xatra: AFAIK there is no GSoC student assigned for this task
2016-06-06 14:24 <dj_xatra> Too bad. I had hoped we could get rid our own EDI spaghetti.
2016-06-06 14:25 <pokoli> dj_xatra: you can work on it yourself if you want :)
2016-06-06 14:41 <dj_xatra> We're going to need it eventually, so maybe I will.
2016-06-06 14:58 <dj_xatra> Are there any publicly available process/workflow models from organizations who use Tryton?
2016-06-06 14:58 <dj_xatra> I'd like to know more about how people are using Tryton in practice.
2016-06-06 15:03 <pokoli> dj_xatra: not as far as I know
2016-06-06 15:04 <pokoli> dj_xatra: maybe it was explained on some unconference
2016-06-06 15:06 <dj_xatra> Ack. I should make some time to watch more of the videos.
2016-06-06 15:10 <pokoli> dj_xatra: there is a tryton youtube channel https://www.youtube.com/channel/UChf1ExIVFrWuaHhVATibWXw
2016-06-06 15:56 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-06 16:17 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-06 16:28 <silwol> in the commission module, the only information I get in the formula is *amount*. Is there any chance I can use other data, e.g. list price of the sold product?
2016-06-06 16:29 <silwol> our commissions model is based on the difference to the list price (over list price means a higher percentage of the difference)
2016-06-06 16:31 <pokoli> silwol: yes, you can override get_context_fomula in order to add your custom variables
2016-06-06 16:31 <pokoli> silwol: see http://hg.tryton.org/modules/commission/file/tip/commission.py#l135
2016-06-06 16:31 <cedk> silwol: you can overrid InvoiceLine._get_commission_amount
2016-06-06 16:33 <silwol> ok, i'll investigate this. thx so far.
2016-06-06 16:58 -!- prayashm(~prayashm@unaffiliated/prayashm) has left #tryton
2016-06-06 16:59 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-06 17:07 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-06 17:07 <pokoli> prayashm: hi, you want to talk to me yesterday? I was not in front of the computer sorry :(
2016-06-06 17:08 <prayashm> pokoli: No worries. I had some questions.
2016-06-06 17:09 <pokoli> prayashm: so ask them now ;)
2016-06-06 17:09 <prayashm> pokoli: Pootle generates the tryton.dot and other locale specific .po files, right?
2016-06-06 17:10 <prayashm> pokoli: and we use them in the repos of tryton, sao?
2016-06-06 17:12 <pokoli> prayashm: yes. But you don't have to worry about translations
2016-06-06 17:12 <pokoli> prayashm: you only have to worry to mark your strings to be translatable
2016-06-06 17:13 <prayashm> pokoli: That is by passing them through Sao.i18n("string") method, isn't it?
2016-06-06 17:13 <pokoli> prayashm: so on the translation period they are uploaded to pootle and then translators can translate them and just before the release the are sincronized in the repository
2016-06-06 17:14 <pokoli> prayashm: Sao.i18n.gettext('string) yes ;)
2016-06-06 17:15 <prayashm> pokoli: yes yes! :)
2016-06-06 17:16 <prayashm> pokoli: Do I have to add "Export" and "Import" strings to messages.pot template for sao somewhere?
2016-06-06 17:16 <cedk> prayashm: no, developpers should not care about translations
2016-06-06 17:17 <cedk> prayashm: just use Sao.i18n for strings diplayed to the user
2016-06-06 17:17 <prayashm> cedk: thanks!
2016-06-06 17:19 <prayashm> pokoli: thanks to you too!
2016-06-06 17:24 <pokoli> cedk: thanks for poiting the issue, I was thinking on remove those strings also :)
2016-06-06 17:33 <cedk> pokoli: I think we should remove string from XML and use only the value of ir.model
2016-06-06 17:34 <cedk> pokoli: and the custom header method should also be removed
2016-06-06 17:34 <cedk> I think we the action context and the relate issue, we cover most of the need
2016-06-06 17:35 <pokoli> cedk: I'm wondering if we should remove directly string or deprecate it. As removing from xml will break all existing views
2016-06-06 17:35 <cedk> pokoli: what is the point to keep it if it is not used
2016-06-06 17:38 <cedk> pokoli: but if you speak about deprecated from rng validation, I don't know if such feature exists
2016-06-06 17:38 <cedk> but if we don't generate a warning, there is no point to deprecate
2016-06-06 17:40 <pokoli> cedk: I will search if existg some way to deprecate in rng
2016-06-06 17:44 <pokoli> cedk: for what I've found, you have to generate two rng files (via an xslt transformation) and validate on each one, which I think is not worth on this case
2016-06-06 17:53 <cedk> pokoli: I think also
2016-06-06 17:54 <cedk> pokoli: maybe a simple sed expression in the migration page is enough
2016-06-06 17:54 <pokoli> cedk: I think the sed expression will be ok, and it will be usefull for migrating base modules also
2016-06-06 17:55 <cedk> pokoli: for such change just reviewing the tryton/trytond + sed expression is enough
2016-06-06 17:55 <cedk> pokoli: we don't need to review the removal of attributes
2016-06-06 17:56 <pokoli> cedk: what do you mean by removal of attributes?
2016-06-06 17:57 <cedk> pokoli: removing string attribute
2016-06-06 17:57 <pokoli> cedk: ok, understood, but we have to remove it with the sed expresion
2016-06-06 18:06 <cedk> pokoli: yes
2016-06-06 18:06 <pokoli> ACTION leaves. Tomorrow more
2016-06-06 18:20 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-06 18:23 -!- bvillasanti1(~bvillasan@190.105.106.65) has joined #tryton
2016-06-06 19:03 -!- prayashm(~prayashm@45.114.49.77) has joined #tryton
2016-06-06 19:03 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-06 19:05 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-06-06 19:30 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-06-06 19:51 -!- zmijunkie(~Adium@i59F5E862.versanet.de) has joined #tryton
2016-06-06 20:10 -!- irclog(~irclog@moretus.b2ck.com) has joined #tryton
2016-06-06 22:06 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-06 22:11 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-06 22:33 <giesen> the download link for the 4.0 neso build for windows is broken... Is this a known issue?
2016-06-06 22:35 <cedk> giesen: yes: https://bugs.tryton.org/issue5529
2016-06-06 22:35 <cedk> giesen: also neso is probably going to be abandoned
2016-06-06 22:36 <cedk> giesen: https://groups.google.com/d/msgid/tryton/20160602213915.GX23431%40tetsuo
2016-06-06 22:42 <giesen> fair enough. I just wanted to try it out quickly with an all-in-one setup
2016-06-06 22:43 <giesen> but I can always spin up a vm
2016-06-06 22:44 <cedk> giesen: there is a demo server at http://demo.tryton.org/
2016-06-06 22:49 <giesen> yeah I played with it but it's a little on the pokey side... I'll just spin up a vm, not the end of the world

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