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

chat.freenode.net #tryton log beginning Thu Mar 24 00:00:02 CET 2016
2016-03-24 00:11 -!- shrox(shrox@nat/iiit/x-nuyjbiyeubdfnbkx) has joined #tryton
2016-03-24 00:11 <shrox> cedk: Reminder to review my proposal! :P
2016-03-24 00:13 <cedk> shrox: I did
2016-03-24 00:13 <cedk> shrox: I'm just thinking that maybe it could go faster than expected to write the converter
2016-03-24 00:14 <shrox> cedk: We could add secondary goals if you think so.
2016-03-24 00:14 <cedk> shrox: maybe you could have this as extra: https://discuss.tryton.org/t/replace-genshi-by-kajiki-in-relatorio/79
2016-03-24 00:14 <cedk> shrox: indeed it will depend on how different are the two formats
2016-03-24 00:15 <cedk> I think it doesn't hurt to have a plan B
2016-03-24 00:17 <shrox> cedk: I don't mind at all. Since I'm free for the next two days (though I have less than 24 hours remaining now to submit the final proposal), I could read up on this and add at least a rough idea of what needs to be done for this.
2016-03-24 00:17 <shrox> cedk: How soon do you think will I be able to finish the converter?
2016-03-24 00:18 <cedk> shrox: I think you could have it for the mid-term
2016-03-24 00:23 <shrox> cedk: I'll modify the timeline, but to be on the safer side estimate the completion of the converter by July 1. Would that be okay?
2016-03-24 00:24 <cedk> shrox: OK
2016-03-24 00:28 <shrox> cedk: Shall do. It's 5 am right now for me. By 11:59 pm I shall hopefully have enough information about the genshi migration project to be able to have written a fair enough proposal.
2016-03-24 00:30 <cedk> shrox: sounds good
2016-03-24 00:31 <shrox> cedk: Do you think I could finish the genshi project on time? Or better, with time left?
2016-03-24 00:31 <shrox> cedk: I've mentioned in my 'other commitments' that I would love a week or so's time to go traveling.
2016-03-24 00:33 <cedk> shrox: I don't think it should be a goal to finish it but more prepare the path to the migration
2016-03-24 00:34 <cedk> shrox: so I don't think it will be a problem that you go for traveling
2016-03-24 00:34 <shrox> cedk: Okay, that would be amazing! Thanks :)
2016-03-24 00:37 <cedk> shrox: also don't forget to work on your patch
2016-03-24 00:38 <cedk> we freeze the development for the coming release on Monday and I would like to have this fix in it
2016-03-24 00:39 <shrox> cedk: I know. I'll get it done.
2016-03-24 00:39 <shrox> cedk: Or do it, rather. Haha.
2016-03-24 01:06 <shrox> cedk: Have a look at this please? http://pastebin.ubuntu.com/15483957/
2016-03-24 01:06 <shrox> cedk: I'm unable to figure out how to figure out the reason why the tests are failing
2016-03-24 01:06 <shrox> cedk: If there are any common pointers that I'm unaware of, do let me know
2016-03-24 01:57 -!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton
2016-03-24 04:52 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-24 05:55 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-24 07:00 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-24 07:40 -!- frispete(~frispete@p54A91CA8.dip0.t-ipconnect.de) has joined #tryton
2016-03-24 08:11 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-03-24 08:40 -!- xrg_(~panos@194.219.107.170.dsl.dyn.forthnet.gr) has joined #tryton
2016-03-24 08:40 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-03-24 08:42 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-03-24 09:14 -!- nicoe(~nicoe@87.215.31.146) has joined #tryton
2016-03-24 09:19 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-24 09:21 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-03-24 09:45 <shrox> cedk: Can you please have a look at this - http://pastebin.ubuntu.com/15485847/
2016-03-24 09:51 <cedk> shrox: you must update the proteus code
2016-03-24 09:54 <shrox> cedk: I'm not sure what you mean by proteus code. I thought it was a dependency that I should update via pip when you mentioned it earlier.
2016-03-24 09:54 <cedk> shrox: you must use the same series for proteus: http://hg.tryton.org/proteus
2016-03-24 09:58 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-24 09:59 <shrox> cedk: Should I clone this to /trytond?
2016-03-24 10:00 <cedk> shrox: not to /trytond
2016-03-24 10:00 <cedk> shrox: it is a separate python module
2016-03-24 10:00 <cedk> shrox: it should just be in your PYTHONPATH
2016-03-24 10:09 <shrox> cedk: That solved it. Thanks!
2016-03-24 10:09 <shrox> cedk: How did you figure that that was the reason?
2016-03-24 10:10 <shrox> cedk: I had installed proteus via pip, why did that not work?
2016-03-24 10:12 <cedk> shrox: because we recently changed how Transaction is managed
2016-03-24 10:12 <cedk> shrox: so old version of proteus are no more working
2016-03-24 10:14 <shrox> cedk: Ah. Haha. Okay.
2016-03-24 10:20 <prayashm> cedk: Hello, could you give a look at my proposal too? :)
2016-03-24 10:31 <cedk> prayashm: put some comments
2016-03-24 10:43 <shrox> cedk: I have updated resubmitted my patch. Please review it.
2016-03-24 11:07 <cedk> shrox: I think you must update your mercurial repository because codereview shows strange changes
2016-03-24 11:11 <shrox> cedk: what seems to be wrong?
2016-03-24 11:11 <shrox> cedk: Got this message - patch is not applicable
2016-03-24 11:12 <shrox> cedk: And just when all the tests had passed..
2016-03-24 11:12 <cedk> shrox: normally, just doing: hg pull -u is enough
2016-03-24 11:18 <shrox> cedk: Done. And updated.
2016-03-24 11:41 <cedk> shrox: you can ignore the F403 error but not the E501
2016-03-24 11:44 <cedk> shrox: don't forget comments on 20871002
2016-03-24 11:48 <cedk> shrox: I think it is almost there, just fix the last remarks
2016-03-24 11:48 <cedk> shrox: also did you also run the test on account_invoice module?
2016-03-24 11:55 <shrox> cedk: I did.
2016-03-24 11:55 <shrox> cedk: I'll make the minor changes in a while.
2016-03-24 11:58 <shrox> cedk: Is this okay for the changelog? - 'Add tax_rounding configuration'
2016-03-24 11:59 <cedk> shrox: maybe just: Move tax Rounding configuration from account_invoice
2016-03-24 11:59 <shrox> cedk: Okay.
2016-03-24 11:59 <cedk> shrox: and similar for account_invoice but 'to account'
2016-03-24 12:00 <shrox> cedk: I made the changes to account_invoice but forgot to submit the patch. Will do so in some time. Have to go now.
2016-03-24 12:00 <shrox> cedk: Thanks for the help!
2016-03-24 13:32 <udono> hi, any idea if and how proteus is able to correctly show data from history-activated Models?
2016-03-24 13:35 <cedk> udono: just set _datetime in the context
2016-03-24 13:36 <nicoe> udono: you must use the context to pass the date
2016-03-24 13:36 <nicoe> udono: IIRC there is a context manager
2016-03-24 13:38 <udono> cedk: you mean _timestamp instead of _datetime?
2016-03-24 13:39 <cedk> udono: no I mean _datetime
2016-03-24 13:58 -!- abcd(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-24 13:59 -!- toshad(uid150688@gateway/web/irccloud.com/x-eqeozjekuejibrrp) has joined #tryton
2016-03-24 14:04 <udono> nicoe: yes, there is a context manager http://hg.tryton.org/proteus/file/2c8992d9e064/proteus/tests/test_context.py
2016-03-24 14:04 <udono> cedk, nicoe Thanks
2016-03-24 14:21 -!- fil__(581821d3@gateway/web/freenode/ip.88.24.33.211) has joined #tryton
2016-03-24 14:23 <fil__> Hi all, can anybody please help me with this importation issue? i get a log error from import_csv related to defaultUOM: http://pastebin.com/raw/hb97BUhF
2016-03-24 14:25 <cedk> fil__: what error?
2016-03-24 14:26 <fil__> http://pastebin.com/raw/eAgxvKdm
2016-03-24 14:26 <fil__> this above is the import log..
2016-03-24 14:27 <cedk> fil__: you can not import many2one value using /
2016-03-24 14:28 <fil__> using "/"?
2016-03-24 14:28 <fil__> can i configure a default value for that field, or make it not required?
2016-03-24 14:29 <cedk> fil__: no
2016-03-24 14:29 <cedk> fil__: the header "Default UOM/name" should be "Default UOM"
2016-03-24 14:30 <udono> fil__: and the name is Unit not unit
2016-03-24 14:31 <fil__> did the fixes but the error persists: Field Default UOM is required but not value found in record ['testtesteteste', 'goods', '10,000', '25,000', 'Unit', 'fixed']. Record skipped!
2016-03-24 14:32 <fil__> fixed the file header also...
2016-03-24 14:33 <udono> fil__: prices maybe 10.0 or 25.0?!
2016-03-24 14:35 <fil__> did what you said, changed the profile configuration for .=decimal separator and ,=thousands separator. still get same error with UOM...รง
2016-03-24 14:37 -!- mariomop(~quassel@181.90.84.220) has joined #tryton
2016-03-24 14:37 <udono> fil__: and without decimal or thousands separator, like 10000 25000?
2016-03-24 14:37 <udono> without using
2016-03-24 14:38 <fil__> Same defaultUOM error
2016-03-24 14:38 <udono> fil__: no idea
2016-03-24 14:39 <cedk> fil__: do you import product or variant?
2016-03-24 14:40 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-24 14:40 <fil__> i am trying to importo the product
2016-03-24 14:41 <fil__> there is somethin going on with the many2on default_uom field...
2016-03-24 14:42 <cedk> fil__: do you say it is just "Default UOM" and nothing under
2016-03-24 14:42 <cedk> see https://bugs.tryton.org/issue5427
2016-03-24 14:43 <fil__> rec_name is my product template name
2016-03-24 14:44 <fil__> right?
2016-03-24 14:44 <fil__> it is the first field i try to import...
2016-03-24 14:44 <cedk> fil__: I'm talking about Default UOM
2016-03-24 14:45 <fil__> so i canot create many2one field value, and this value is needed?
2016-03-24 14:47 <fil__> this makes me think that module import_csv canot work for products...
2016-03-24 14:47 <cedk> fil__: you can not create but you can link
2016-03-24 14:47 <cedk> fil__: many2one is link
2016-03-24 14:47 <cedk> fil__: I think you must post a screenshot of your configuration otherwise we will never understand what selection you are doning
2016-03-24 14:49 <fil__> ok
2016-03-24 14:51 <fil__> http://pasteboard.co/2vpB5PcT.png
2016-03-24 14:52 <fil__> you meant the import_csv profile configuration right?
2016-03-24 14:55 <cedk> fil__: I don't know what is this screen, I never saw it
2016-03-24 14:55 <cedk> fil__: i guess you are not using the standard CSV import of Tryton
2016-03-24 14:58 -!- nina(~nina@177.19.245.134) has joined #tryton
2016-03-24 14:58 <fil__> right i am using a module named import_csv. using the standard CSV import i get this error http://pastebin.com/raw/tLwg5mtM using this configuration: http://pasteboard.co/2vq3Skwx.png
2016-03-24 15:00 <cedk> fil__: don't select "Default UOM/Name" but only "Default UOM"
2016-03-24 15:01 <cedk> fil__: and for number you must use the Python format aka English format so '.' for decimal separator and no thousand separator
2016-03-24 15:01 <udono> fil__: in the standard csv import skip 1 line, when you have a line with field names
2016-03-24 15:01 <fil__> it worked now...
2016-03-24 15:01 <fil__> thanks guys!
2016-03-24 15:04 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2016-03-24 15:06 <cedk> fil__: where does it import_csv come from?
2016-03-24 15:24 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2016-03-24 15:32 <fil__> sorry i was eating lunch... will post you a link...
2016-03-24 15:33 <fil__> https://bitbucket.org/zikzakmedia/trytond-csv_import
2016-03-24 15:34 <fil__> udono: link above for the import module. In the spanish documentation there are explanations... suposely it should work for imports that are a bit more complex... but i have to figure out what goes wrong with it...
2016-03-24 15:42 <cedk> fil__: if you are migrating data from old system, I strongly encourage to write a script with proteus
2016-03-24 15:43 <cedk> fil__: script are much better because you can test and reproduce case but also you can version control it, you can collaborate on it etc.
2016-03-24 15:44 <cedk> I personnaly think that any attempt to create a kind of ETL is a waste of time, Python is the ETL for Tryton
2016-03-24 15:45 <fil__> i am adding products from a calc spreadsheet, i am interested in learning how to use proteus, i found this documentation to start: http://pastebin.com/raw/gngiE3ak do you suggest other sources for me to study?
2016-03-24 15:49 <cedk> fil__: http://videos.tryton.org/tuba2015/NicolasEvrard-ANewbieIntroductionToProteus.html
2016-03-24 15:49 <cedk> fil__: and I suggest to read the README of proteus from the same series
2016-03-24 15:49 <cedk> fil__: http://downloads.tryton.org/TUB2013/proteus.pdf
2016-03-24 15:50 <fil__> cool thanks!
2016-03-24 16:16 -!- shrox(shrox@nat/iiit/x-zfioongdwcbsrbrg) has joined #tryton
2016-03-24 16:17 <shrox> cedk: I've made whatever changes you wanted me to make.
2016-03-24 16:18 <cedk> shrox: OK I will take a look
2016-03-24 16:19 <shrox> cedk: I hope it can finally get incorporated. Will be a relief :P
2016-03-24 16:20 -!- faaaad(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-24 16:24 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-24 16:29 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-24 16:52 -!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton
2016-03-24 16:54 <udono> cedk: nicoe I wrote a scenario test for account_invoice_history http://pastebin.com/6Y2ua0F9 but at the end I have a problem with history and proteus.
2016-03-24 16:55 <udono> cedk: nicoe: Is there transparent handling of history implemented in proteus? Do I always need to set the context by my self?
2016-03-24 16:57 <cedk> udono: yes but I don't think it is so much work to do it
2016-03-24 16:58 <cedk> udono: it is just about using the context manager to set _datetime
2016-03-24 16:58 <cedk> udono: why don't you write scenario for trunk?
2016-03-24 16:59 <udono> cedk: I will transpose it later
2016-03-24 16:59 <udono> to tip
2016-03-24 17:00 <cedk> udono: OK I think I understand what you mean
2016-03-24 17:00 <cedk> udono: you want transparent managemtn on datetime_field on Many2One
2016-03-24 17:00 <udono> cedk: yes, exactly
2016-03-24 17:01 <cedk> udono: I think it makes sense to add it to proteus
2016-03-24 17:02 <cedk> ACTION bbl
2016-03-24 17:45 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-03-24 18:36 -!- ccaz(~ccr@125-117-190-109.dsl.ovh.fr) has joined #tryton
2016-03-24 18:36 -!- ccaz(~ccr@125-117-190-109.dsl.ovh.fr) has left #tryton
2016-03-24 18:40 <fil__> cedk i am expanding the fields to import untill, when i try to import the suppliers information: http://pasteboard.co/2vEjcxSc.png i get this error: http://pastebin.com/raw/CFdv68jJ , i am using this csv: http://pastebin.com/JUhAwmgA anyone knows how to fix it?
2016-03-24 19:09 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-03-24 21:04 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has left #tryton
2016-03-24 22:21 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-24 23:14 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-24 23:19 <fil__> cedk: i am expanding the fields to import, when i got to suppliers info i got this: http://pastebin.com/raw/CFdv68jJ , using this csv: http://pastebin.com/JUhAwmgA , and this configuration: http://pasteboard.co/2vEjcxSc.png do you know how to deal with it?
2016-03-24 23:23 -!- lmef(~luiz@179.234.180.58) has joined #tryton
2016-03-24 23:31 <cedk> fil__: for me, it makes no sense to have a column "Suppliers"
2016-03-24 23:33 <fil__> ok, what i want is to add a party as a supplier for the product, with its supplier name and code, this is what i meant with that column
2016-03-24 23:34 <cedk> fil__: but you already are creating suppliers with the two other columns
2016-03-24 23:35 <fil__> but in none of them i fill the name of the supplier
2016-03-24 23:36 <cedk> fil__: so add a column "Suppliers/Party"
2016-03-24 23:38 <fil__> will check
2016-03-24 23:42 <fil__> cedk: it doesn't accept "Suppliers/Party" it says that occured an error procesing file at field Suppliers/Party
2016-03-24 23:55 <cedk> fil__: the value must be the rec_name of an existing party
2016-03-24 23:56 <fil__> yes
2016-03-24 23:59 <fil__> i am using this name: http://pasteboard.co/2vZt133W.png

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