IRC logs of #tryton for Thursday, 2016-11-24

chat.freenode.net #tryton log beginning Thu Nov 24 00:00:01 CET 2016
2016-11-24 00:32 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2016-11-24 02:33 -!- mamcode_(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton
2016-11-24 02:40 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2016-11-24 02:43 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2016-11-24 04:18 -!- kstenger(~karla@r167-56-243-120.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-24 05:57 -!- xcodinas(~xcodinas@5.134.115.102) has joined #tryton
2016-11-24 06:31 -!- thaneor(~ldlc6@179.26.2.216) has joined #tryton
2016-11-24 06:37 -!- morfeokmg(~smuxi@189.146.49.106) has joined #tryton
2016-11-24 08:07 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-11-24 08:55 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-11-24 09:14 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-11-24 09:17 -!- rpit(~rpit@2a02:908:e678:4f00:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-11-24 09:26 -!- nicoe(~nicoe@87.215.31.146) has joined #tryton
2016-11-24 09:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-11-24 10:17 -!- giovanni_(~giovanni@90.63.246.25) has joined #tryton
2016-11-24 11:18 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2016-11-24 11:21 -!- Benjamin___(0116a082@gateway/web/freenode/ip.1.22.160.130) has joined #tryton
2016-11-24 11:22 <Benjamin___> how to omit limit field & get all data?
2016-11-24 11:23 <cedk> Benjamin___: you should be more precise in your question
2016-11-24 11:23 <cedk> Benjamin___: and give context
2016-11-24 11:45 <Benjamin___> cedk, I want to get all data without specifying limit or offset
2016-11-24 11:47 <cedk> Benjamin___: so don't set limit nor offset
2016-11-24 11:51 <Benjamin___> cedk, it is not working for me :( please check here http://pastebin.com/BiYjUA0U
2016-11-24 11:55 <mrichez> hi, how is define the title in a wizard view ?
2016-11-24 11:55 <cedk> Benjamin___: it is because you pass empty list for limit instead of an integer or None
2016-11-24 11:56 -!- mariomop(~quassel@host147.186-124-247.telecom.net.ar) has joined #tryton
2016-11-24 11:57 <mrichez> see this screenshot in the purchase_request wizard to create a purchase from multiple purchase_requests : https://snag.gy/Lt3Cud.jpg
2016-11-24 11:58 <mrichez> i don't know where (product_name@warehouse, ...) is defined ?
2016-11-24 11:59 <cedk> mrichez: it is the rec_name of the records used to run the wizard aka active_ids
2016-11-24 11:59 <cedk> mrichez: so here it is the rec_name of the request selected
2016-11-24 12:00 <cedk> mrichez: see issue5933
2016-11-24 12:01 <mrichez> cedk: ok thanks !
2016-11-24 12:02 <cedk> mrichez: maybe request rec_name could be improved?
2016-11-24 12:03 <mrichez> cedk: indeed, and the wizard view too (when many purchase_requests are selected, it's a bit confusing)
2016-11-24 12:06 <cedk> mrichez: it is limited to the 5 first records but in your example product names are quite long
2016-11-24 12:07 <mrichez> cedk: it was just a test, we took for example purchase_request without product, so it takes the description (that could be quite long)
2016-11-24 12:11 <cedk> mrichez: I see, so maybe the description when used in rec_name should be shorted
2016-11-24 12:11 <mrichez> cedk: yes, will add an issue for that
2016-11-24 12:12 -!- meigallodixital_(~meigallod@172.94.112.67) has joined #tryton
2016-11-24 12:17 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-11-24 12:25 -!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-11-24 12:27 -!- smarro(~sebastian@cust-127-46-13-200.trynet.com.ar) has joined #tryton
2016-11-24 12:28 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-11-24 12:53 -!- morfeokmg(~smuxi@189.146.49.106) has joined #tryton
2016-11-24 13:29 -!- morfeokmg(~smuxi@189.146.49.106) has joined #tryton
2016-11-24 13:57 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-11-24 14:19 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2016-11-24 14:19 -!- vezjakv(5a9dcba1@gateway/web/freenode/ip.90.157.203.161) has joined #tryton
2016-11-24 14:21 <vezjakv> hi trytonistas, question regarding Pootle translation server: how to upload translation files? I cannot find import link for offline translations, only download.
2016-11-24 14:31 <cedk> vezjakv: normally you should have below the download an upload link
2016-11-24 14:32 <cedk> vezjakv: for which language?
2016-11-24 14:32 <vezjakv> Slovenian, there's no such link, is permission problem?
2016-11-24 14:35 <cedk> vezjakv: indeed, there is no admin for slovenian
2016-11-24 14:36 <vezjakv> cedk: I was last year, seems to be reset. anyway, can it be fixed?
2016-11-24 14:37 <cedk> vezjakv: should be fixed now
2016-11-24 14:37 <vezjakv> cedk: ql, upload link appeared, thanks!
2016-11-24 14:43 <rpit> I put a relation on sale.line to sale.line. When I open this relation from sale-view with right mouse click there is no sale.line shown. Anybody knows how to show?
2016-11-24 15:06 <pokoli> rpit: could you clarify? Which kind of relation? Many2One?
2016-11-24 15:07 <pokoli> rpit: maybe you should upload your code to some pastebin, so we can check it
2016-11-24 15:08 <pokoli> rpit: because I'm not sure to fully understand you
2016-11-24 15:12 <vezjakv> cedk: I have uploaded zip po files. How long does it normally take to see modifications in Pootle? e.g. I've completed ir module, but still shows fuzzy items.
2016-11-24 15:12 -!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton
2016-11-24 15:14 <rpit> pokoli: I defined the relate_keyword in xml, see http://pastebin.com/UeBRTnWL
2016-11-24 15:15 <pokoli> rpit: of course if you define a relate action in sale.line domain you won't see it in sale_view, because you are seeing the sale model an not the sale_line
2016-11-24 15:15 <pokoli> rpit: you should define the realate_action on the sale_view
2016-11-24 15:16 <pokoli> rpit: another think: You are missing the domain on the act_window, and it should use active_ids (or active_id) to filter the target records and only show the related ones
2016-11-24 15:18 <rpit> pokoli: I am seeing the relate action with a right click on the sale.line and I can click it. It opens the related sale.line view, but only with an empty sale.line.
2016-11-24 15:18 <rpit> pokoli: I know about the domain, but I tried without, to see sale.lines
2016-11-24 15:20 <pokoli> rpit: so if the problem is the number of lines show, that's controled with the domain
2016-11-24 15:20 <pokoli> rpit: and empty domain should all the lines in the system
2016-11-24 15:21 <pokoli> rpit: BTW, could you check in Administration -> Action -> Windows that the domain is the correct one and the record is not out of sync?
2016-11-24 15:21 <rpit> pokoli: There is only one empty line shown, with or without domain doesn't matter
2016-11-24 15:21 <pokoli> rpit: do you use a custom view for the action?
2016-11-24 15:22 <pokoli> rpit: which fields are showing in the view (see the tree header)
2016-11-24 15:24 <rpit> pokoli: It'S not the tree. With ir.action.act_window.view I defined only a form. The form is shown with the usual fields plus Sale
2016-11-24 15:30 -!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton
2016-11-24 15:31 <rpit> pokoli: It's Tryton 3.4. Perhaps the context for the parent_sale is not set and then there is nothing to show
2016-11-24 15:31 -!- kstenger(~karla@r167-56-243-120.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-24 15:33 -!- silwol[m](silwolmatr@gateway/shell/matrix.org/x-zwjeunndqgklmiaj) has joined #tryton
2016-11-24 15:35 <pokoli> rpit: that's quite strange. So you see the form with all the fields without any content?
2016-11-24 15:35 <cedk> vezjakv: normally the UI auto-reload as far as there are jobs in the queue
2016-11-24 15:36 <rpit> pokoli: yes
2016-11-24 15:36 <pokoli> rpit: btw, what are you tryting to do is strange so... as the relate can return more than 1 record normally you should open the tree view
2016-11-24 15:36 <pokoli> rpit: and if you want to access only one record, you can use the edit button
2016-11-24 15:39 <rpit> pokoli: there is no edit button for the sale.line and with the domain I will see only one line. It is to see the history of the sale.line
2016-11-24 15:41 <cedk> rpit: your code is just a relate that create a new record
2016-11-24 15:42 <rpit> cedk: No way to see the origin of related record?
2016-11-24 15:49 <vezjakv> cedk: hm, strange, e.g. Pootle ir module shows 63 fuzzy items, but when I download zip, ir.po in it has no fuzzy items.
2016-11-24 15:51 <cedk> vezjakv: I just downloaded it and I see "Count" being marked as fuzy
2016-11-24 15:52 <cedk> rpit: you have to put a domain: [('id', '=', Eval('active_id', -1))]
2016-11-24 15:52 <cedk> rpit: but I do not see the point to make a relate to the same record you are already
2016-11-24 15:54 <vezjakv> cedk: correct, my bad, sorry. diff'ing wrong file.
2016-11-24 15:59 <vezjakv> cedk: it seems that uploaded file is not considered, I've unfuzzied Create User, Create Date, Write User, Write Date, but in Pootle still fuzzy.
2016-11-24 16:00 <cedk> vezjakv: are you sure you upload on the right file and that header stays?
2016-11-24 16:00 <cedk> vezjakv: indeed I never do offline translation because I find it uncollabortive and I like the helps of the pootle
2016-11-24 16:02 <rpit> cedk: With domain I tried first: The same result
2016-11-24 16:03 <rpit> cedk: I want to see the history of the sale line and there is no other way I think (sale.line is historized)
2016-11-24 16:04 -!- morfeokmg(~smuxi@189.146.49.106) has joined #tryton
2016-11-24 16:08 <pokoli> rpit: you will have to ask the user on which date want to see the user, so you need a wizard
2016-11-24 16:08 <pokoli> rpit: and then you should set the _datetime key in the context to browse the record with the valid history
2016-11-24 16:08 <pokoli> rpit: but btw, you can get the same with a relate from sale to all the lines, and you will have the history avilable there
2016-11-24 16:11 <vezjakv> cedk: I've uploaded the same downloaded zip with updated .po files, and x-pot-revision incremented 0 -> 1. it worked on my previous tryton releases.
2016-11-24 16:13 <vezjakv> cedk: uploaded single ir.po, not updating anything. status still says "... uploaded 1 hour ago". Anyway, probably won't make it to translate remaining using online UI until tomorrow's due date
2016-11-24 16:13 <rpit> pokoli, cedk: Thank you for your help!
2016-11-24 16:14 <vezjakv> cedk: thanks for support
2016-11-24 16:15 <pokoli> vezjakv: I managed to upload and download the zip file for pootle in this translation period
2016-11-24 16:15 <pokoli> vezjakv: What I did is: extracted the zip, used sed to replace some translations, compressed and reuploaded
2016-11-24 16:16 <pokoli> vezjakv: everything worked well, so you have to make sure that the po files headers are not touched
2016-11-24 16:16 <pokoli> vezjakv: don't know if it helps
2016-11-24 16:17 <cedk> vezjakv: I do not know if it is correct to change the revision number
2016-11-24 16:17 <vezjakv> pokoli: so headers shouldn't be touched, e.g. Last Translator, X-Pot-Revision?
2016-11-24 16:17 <cedk> vezjakv: pootle could maybe use it to know against which revision it should make the diff
2016-11-24 16:18 -!- udono(~udono@ip-178-202-243-21.hsi09.unitymediagroup.de) has joined #tryton
2016-11-24 16:19 <vezjakv> cedk: ok, will try with untouched headers, and let u know
2016-11-24 16:20 -!- kstenger1(~karla@r167-56-238-194.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-24 16:23 <vezjakv> pokoli: is single .po upload also working?
2016-11-24 16:24 <pokoli> vezjakv: I think i did not use it, but if the zip is working it should work
2016-11-24 16:28 <vezjakv> pokoli: 1 : when I download from Pootle, it's ~1.4MB, when doing my zip it's ~250kB
2016-11-24 16:40 <cedk> pokoli: could you push review32821002
2016-11-24 16:41 <pokoli> vezjakv: it shold be more or less the same size. 1.4Mb was moreless the size I uploaded downloaded
2016-11-24 16:45 <pokoli> cedk: done
2016-11-24 16:46 <pokoli> cedk: i uploaded the tryton change also for issue6053
2016-11-24 16:46 <pokoli> cedk: I was waiting to finish all the issue in order to push all together
2016-11-24 16:50 <cedk> pokoli: you can not push them now
2016-11-24 16:53 <pokoli> cedk: I thought they where a bug fix also, but i can wait til next week ;)
2016-11-24 16:58 -!- morfeokmg(~smuxi@189.146.49.106) has joined #tryton
2016-11-24 17:06 <cedk> pokoli: having a better error message for programer is a feature
2016-11-24 17:10 <vezjakv> cedk: problem might relate to Pootle merge method (https://pootle.readthedocs.io/en/stable-2.5.1/features/offline.html), it marks all fuzzy if conflict, in my case I've used first POT (2016-11-05) as base, but now it's 2016-11-24
2016-11-24 17:11 <vezjakv> cedk: is there a safe way to load new .po files and use my existing translations located in my postgres db?
2016-11-24 17:11 -!- morfeokmg(~smuxi@200.39.26.216) has joined #tryton
2016-11-24 17:12 <cedk> vezjakv: do not understand
2016-11-24 17:14 <vezjakv> cedk: I've downloaded .po files on 2016-11-05 and translated them in Tryton, but meanwhile .po got updated (dpd, ups, ...). if I update new .po files (via module update) will it overwrite my translations in Tryton (in db)?
2016-11-24 17:15 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2016-11-24 17:16 <cedk> vezjakv: I do not think you can reuse the generate po file to upload to pootle
2016-11-24 17:16 <cedk> vezjakv: or you have to do the merge of the pofile yourself
2016-11-24 17:20 <vezjakv> cedk: I have uploaded .po file, but since Pootle uses merge method it populates only untranslated ones, others will be marked as fuzzy because I've used 1st version of .po files while Pootle has new ones. there's another merge method called overwrite which overcomes this problem, but unfortunately not set
2016-11-24 17:33 <cedk> vezjakv: but you can not override because your initial file is no more up to date
2016-11-24 17:35 <vezjakv> cedk: yes, aware of that problem, that's why merge is in place. so no other option than starting fresh translating from latest pofiles, or merge manually (too much work probably for that)
2016-11-24 17:41 <cedk> vezjakv: or just use the UI to validate the fuzzy, it is pretty fast with keyboard onlye
2016-11-24 17:42 <vezjakv> cedk: u mean Pootle UI or Tryton UI?
2016-11-24 17:43 <cedk> vezjakv: pootle UI
2016-11-24 17:43 <cedk> vezjakv: there is no more any need to use tryton for standard translation
2016-11-24 17:45 -!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton
2016-11-24 17:46 <vezjakv> cedk: might be, but I find very useful in Tryton to use consistent wording across modules since you can easily use another translation for same original text
2016-11-24 17:48 <vezjakv> cedk: if this feature would be in Pootle I would immediately switch, of course. Pootle has advantages, like no hassle for offline translation uploads :)
2016-11-24 17:50 <cedk> vezjakv: Pootle provide suggestion base on existing translations and you can create a terminology
2016-11-24 17:50 <cedk> vezjakv: and you can search on translation in Pootle like you do in Tryton
2016-11-24 17:54 <vezjakv> cedk: what I miss is sort/filter on Type, Field, Module, Original Text, Translation and then compare if they are consistent. As u suggested Terminology might be helpful. A challenge might be when same original can mean different in context of Field/Type, at least in our language
2016-11-24 17:57 <vezjakv> cedk: nevertheless, thank you. I'll sort it out somehow, if not this release then next one :) (it's only 6months). Unfortunately something came in this time and I couldn't allocate enough time to translate in time.
2016-11-24 18:00 -!- morfeokmg(~smuxi@201.103.128.114) has joined #tryton
2016-11-24 18:32 -!- thaneor1(~ldlc6@r167-56-51-183.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-24 18:47 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2016-11-24 19:16 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-11-24 19:38 -!- mamcode(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton
2016-11-24 20:33 -!- smarro(~sebastian@cust-226-46-13-200.trynet.com.ar) has joined #tryton
2016-11-24 21:04 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2016-11-24 21:08 -!- mamcode_(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton
2016-11-24 21:33 -!- oxidworks(~johannes@ip1f12da82.dynamic.kabel-deutschland.de) has joined #tryton
2016-11-24 22:10 -!- morfeokmg(~smuxi@201.103.128.114) has joined #tryton
2016-11-24 22:31 -!- mariomop(~quassel@host147.186-124-247.telecom.net.ar) has joined #tryton
2016-11-24 22:50 -!- mamcode_(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton
2016-11-24 22:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-11-24 23:34 -!- mamcode_(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton

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