IRC logs of #tryton for Tuesday, 2017-06-27

chat.freenode.net #tryton log beginning Tue Jun 27 00:00:01 CEST 2017
2017-06-27 00:35 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-27 01:18 -!- csotelo(~csotelo@2001:1388:49c6:5a64:7eac:5428:faa4:8ebe) has joined #tryton
2017-06-27 01:21 -!- kstenger(~karla@r190-133-121-143.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-27 02:01 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-27 02:12 -!- thaneor(~ldlc6@r179-25-37-61.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-27 04:20 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-27 05:54 -!- notizblock(~notizbloc@nblock.org) has joined #tryton
2017-06-27 07:09 -!- vbastos(~vbastos@120.29.9.2) has joined #tryton
2017-06-27 07:12 -!- pokoli_(~pokoli@mail.koolpi.com) has joined #tryton
2017-06-27 07:14 -!- oxidworks(~lounge-us@v2201609745737187.powersrv.de) has joined #tryton
2017-06-27 07:17 -!- pokoli(~pokoli@mail.koolpi.com) has joined #tryton
2017-06-27 07:41 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-06-27 07:59 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-06-27 08:17 -!- csotelo(~csotelo@190.235.233.40) has joined #tryton
2017-06-27 08:22 -!- Marleyx(~jordan@239.red-83-33-220.dynamicip.rima-tde.net) has joined #tryton
2017-06-27 08:59 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-06-27 09:05 <alexbodn> good morning
2017-06-27 09:05 <LordVan> morning
2017-06-27 09:08 <alexbodn> i wish to open an issue with a patch, but don't understand upload.py
2017-06-27 09:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-27 09:13 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-27 09:15 <pokoli> morning
2017-06-27 09:16 <pokoli> alexbodn: you can open the issue and attach the patch latter :)
2017-06-27 09:16 <alexbodn> hey pokoli, how are you?
2017-06-27 09:18 -!- Marleyx(~jordan@239.red-83-33-220.dynamicip.rima-tde.net) has joined #tryton
2017-06-27 09:20 <pokoli> alexbodn: I'm fine and you?
2017-06-27 09:21 <alexbodn> fine too pokoli, thanks :). wish you a good day
2017-06-27 09:30 -!- Timitos(~kpreisler@tmo-106-138.customers.d1-online.com) has joined #tryton
2017-06-27 09:58 <pokoli> hi, there is some way to test user_application methods?
2017-06-27 10:08 <alexbodn> pokoli: create issue points here: https://tryton-rietveld.appspot.com/use_uploadpy
2017-06-27 10:16 <pokoli> alexbodn: I use https://pypi.python.org/pypi/hgreview/0.4 to integrate it in mercurial
2017-06-27 10:31 <alexbodn> pokoli i found no issue is a new issue. if i set --rev, will the patch of this rev be sent?
2017-06-27 10:33 <pokoli> alexbodn: everything is explained on: https://github.com/rietveld-codereview/rietveld/wiki/upload.py-Usage
2017-06-27 10:38 <alexbodn> pokoli, it's upload.py again. why not hgreview?
2017-06-27 10:40 <pokoli> alexbodn: you have to install and configure hgreview if you want to use it
2017-06-27 10:40 <pokoli> alexbodn: i personally use hgreview, and I will recomend you it
2017-06-27 10:41 <alexbodn> pokoli i did install and configure hgreview as described on rietveld.
2017-06-27 10:42 <alexbodn> my questions were about hgreview
2017-06-27 10:42 <alexbodn> pokoli i found no issue is a new issue. if i set --rev, will the patch of this rev be sent?
2017-06-27 10:42 <alexbodn> in hgreview
2017-06-27 11:11 <pokoli> alexbodn: no, only uncommited patches are sent
2017-06-27 11:28 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-06-27 11:29 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2017-06-27 12:12 -!- alexbodn(~alex@213.57.190.189) has joined #tryton
2017-06-27 12:22 -!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton
2017-06-27 12:36 <csotelo> dear coders, after update tryton modules on 3.8 version, I have gotten this error https://pastebin.com/GRwurJ3B, my account invoice module is 3.8.5
2017-06-27 12:36 <csotelo> any suggest
2017-06-27 12:37 -!- Timitos(~kpreisler@tmo-106-138.customers.d1-online.com) has joined #tryton
2017-06-27 12:40 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-27 12:47 -!- alexbodn(~alex@213.57.190.189) has joined #tryton
2017-06-27 13:04 -!- mariomop(~quassel@host161.186-124-196.telecom.net.ar) has joined #tryton
2017-06-27 13:20 -!- kstenger(~karla@r190-134-203-215.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-27 13:45 <alexbodn> pokoli, so all uncommitted changes, or only added files? pardon please my ignorance, hopefully temporary ;)
2017-06-27 13:51 <pokoli> alexbodn: file modifications and new added files
2017-06-27 13:51 <pokoli> alexbodn: the same files that will be commited when executing hg commit :)
2017-06-27 13:53 -!- smarro(~sebastian@cust-245-46-13-200.trynet.com.ar) has joined #tryton
2017-06-27 14:02 <alexbodn> thanks i'm running it now
2017-06-27 14:08 <LordVan> pokoli, after recreation of my db i now have the basic accounting stuff - it asked me to create one so i created minimal german one)
2017-06-27 14:09 <LordVan> would there have been a way to re-run that wizard without that?
2017-06-27 14:10 <pokoli> LordVan: what do you mean without that?
2017-06-27 14:10 <LordVan> without re-creating the db
2017-06-27 14:10 <LordVan> i mean
2017-06-27 14:12 <pokoli> LordVan: yes, from the Account -> Configuration -> Templates -> Create Chart of accounts
2017-06-27 14:12 <LordVan> ah
2017-06-27 14:13 <LordVan> good to know - for future reference
2017-06-27 14:13 <LordVan> thanks
2017-06-27 14:13 <pokoli> LordVan: but it does not make sense to create multiple times as it will cause duplicate information
2017-06-27 14:13 <LordVan> well it does if you cancelled it the first time by accident ;)
2017-06-27 14:13 <LordVan> and had no accounts at all
2017-06-27 14:14 <alexbodn> pokoli hgreview is failing:
2017-06-27 14:14 <alexbodn> hg review -m "--password argument to trytond-admin"
2017-06-27 14:14 <alexbodn> ** Unknown exception encountered with possibly-broken third-party extension hgreview
2017-06-27 14:14 <alexbodn> ** which supports versions 3.2 of Mercurial.
2017-06-27 14:14 <alexbodn> ** Please disable hgreview and try your action again.
2017-06-27 14:14 <alexbodn> ** If that fixes the bug please report it to https://bitbucket.org/nicoe/hgreview/issues
2017-06-27 14:14 <alexbodn> ** Python 2.7.9 (default, Aug 13 2016, 16:41:35) [GCC 4.9.2]
2017-06-27 14:14 <alexbodn> ** Mercurial Distributed SCM (version 4.1.1)
2017-06-27 14:14 <alexbodn> ** Extensions loaded: hgnested, strip, hgreview
2017-06-27 14:14 -!- thaneor1(~ldlc6@179.26.117.251) has joined #tryton
2017-06-27 14:14 <LordVan> pretty sure that was the issue i had with sales ;) -- will test asap, but i gotta do some CAD now
2017-06-27 14:16 <pokoli> LordVan: probably that was the issue
2017-06-27 14:17 <pokoli> alexbodn: please use some paste service
2017-06-27 14:17 <pokoli> alexbodn: try with an older mercurial version. Using 3.5 works for me
2017-06-27 14:17 <alexbodn> ok, pokoli, sorry
2017-06-27 14:18 <alexbodn> but will hg 3 support my already present repositories?
2017-06-27 14:22 <Timitos> alexbodn: normally hgreview should also work with mercurial > 4
2017-06-27 14:24 <alexbodn> Timitos: it raised an exception. maybe i didn't use it right? hg review -m "--password argument to trytond-admin"
2017-06-27 14:30 <alexbodn> i see i need a repository that has code review enabled. is it something to do manually?
2017-06-27 14:36 <mrichez> alexbodn: did you add hgreview extension in your .hgrc ?
2017-06-27 14:37 <alexbodn> yes mrichez
2017-06-27 14:38 <mrichez> alexbodn: strange, i'm using mercurial 4.0-1 and working for me
2017-06-27 14:40 <mrichez> alexbodn: which version of hgreview are you using ?
2017-06-27 14:42 <alexbodn> mrichez, it's queer
2017-06-27 14:43 <alexbodn> mrichez hgreview 0.4
2017-06-27 14:43 <mrichez> oki latest...
2017-06-27 14:43 <alexbodn> pip
2017-06-27 14:49 <mrichez> alexbodn: did you install mercurial with pip ?
2017-06-27 14:50 <alexbodn> yes
2017-06-27 14:52 <alexbodn> mrichez, could you show your ~/.hgrc [extensions]?
2017-06-27 14:52 <mrichez> [extensions]
2017-06-27 14:52 <mrichez> hgnested=
2017-06-27 14:52 <mrichez> hgreview=
2017-06-27 14:54 <alexbodn> same for me.
2017-06-27 14:55 <alexbodn> is it something to enable in the repository?
2017-06-27 14:57 <mrichez> no
2017-06-27 15:00 <mrichez> try with a new virtualenv, pip install hgreview, clone module you want to patch and retry
2017-06-27 15:04 <alexbodn> thanks mrichez
2017-06-27 15:05 <alexbodn> is it a method to open an issue, and pass a patch later?
2017-06-27 15:08 <mrichez> you open your issue here : https://bugs.tryton.org/
2017-06-27 15:13 <mrichez> then you upload your patch with hg review (first line of description is "module_name:patch description", second line is "issueXXXXXX"
2017-06-27 15:16 <pokoli> alexbodn: have you configured hgreview on ~/.hgrc ?
2017-06-27 15:18 <alexbodn> indeed, pokoli
2017-06-27 15:27 <alexbodn> pokoli, i expect most of my work will be on version 4.0, so it will be better to send my reports as an user. may i please send you these 2 patches so that you can test and finally commit your patch?
2017-06-27 15:28 <pokoli> alexbodn: of course, feel free to upload them somewhere and paste the link here :)
2017-06-27 15:28 <alexbodn> may i attach to an email?
2017-06-27 15:30 <pokoli> alexbodn: I think it's better on a bugs.tryton.org issue, so others can view also
2017-06-27 15:32 <alexbodn> ah, pokoli, you already have that patch. it's only a patch to your patch. put it on the same place, under your name :)
2017-06-27 15:34 <pokoli> alexbodn: so attach it to the issue with the comments
2017-06-27 15:37 <alexbodn> well , my father went to hospital, so i'd rather do it before i'll go. so your patch will be testable ;). sorry, pokoli
2017-06-27 15:38 <alexbodn> btw, could you accept my file transfer? 2 very small files
2017-06-27 15:39 <pokoli> alexbodn: ohhh, sorry. I wish it is nothing serious
2017-06-27 15:40 <alexbodn> it always is, the care giver took him to the hosp. i'll have to join in a couple hours :(
2017-06-27 15:40 <alexbodn> bye for now friends
2017-06-27 16:01 <LordVan> hmm
2017-06-27 16:01 <LordVan> i still cannot pick a delivery date for each position on a sale
2017-06-27 16:01 <LordVan> is there something i need to activate for that?
2017-06-27 16:02 <pokoli> LordVan: delivery date is computed taking in account sale date and product lead_time
2017-06-27 16:04 <LordVan> pokoli, but i need to be able to specify it for each
2017-06-27 16:04 <LordVan> like position one is for delivery next week and pos2 for thursday this week
2017-06-27 16:04 <LordVan> e.g.
2017-06-27 16:04 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-06-27 16:05 <andrespoliti> hello! is there a way of restricting the type of input in a char widget? I need the field to be char but only allow numbers in the form
2017-06-27 16:06 <pokoli> LordVan: then you should probably use this module: https://bitbucket.org/nantic/trytond-sale_delivery_date
2017-06-27 16:06 <pokoli> LordVan: but I understand that what you want to introduce is the customer request date, that may be diferent from the real one
2017-06-27 16:07 <pokoli> andrespoliti: use a functional field with fields.Integer that saves to the real char field
2017-06-27 16:07 <LordVan> pokoli, yes i need the customer requested delivery date in there
2017-06-27 16:07 <LordVan> hmm that module is not in the gentoo overlay
2017-06-27 16:07 <LordVan> ACTION looks at the link
2017-06-27 16:08 <andrespoliti> pokoli: is that available in 4.0?
2017-06-27 16:10 <LordVan> pokoli, if i understand this right that module will just make the field editable so i can set what the customer wants right?
2017-06-27 16:11 <pokoli> LordVan: that module is a third party module, you should ask the developers to produce a gento build (or build it yourself)
2017-06-27 16:11 <pokoli> LordVan: yes
2017-06-27 16:11 <pokoli> LordVan: but if you want to track both dates, you can develop a module that adds the new field
2017-06-27 16:12 <LordVan> hmm i might do that
2017-06-27 16:13 <LordVan> thanks for the link
2017-06-27 16:13 <LordVan> i will look at it later but gotta go now ;)
2017-06-27 16:16 -!- mariomop(~quassel@host161.186-124-196.telecom.net.ar) has joined #tryton
2017-06-27 16:21 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-06-27 16:21 <andrespoliti> hello, i'm trying to define a new widget type qr for Sao that will use jsqrcode to scan qr codes and search records
2017-06-27 16:23 <andrespoliti> i defined it in form.js, form.rng, added the dependency to jsqrcode in bower.json and loaded the scripts in index.html
2017-06-27 16:27 <andrespoliti> but when i try to open a form that contains the newly defined widget type, it doesn't work. It keeps showing "Processing..."
2017-06-27 16:28 <andrespoliti> i defined it in form.js by copying another widget definition and change the name, for testing purposes
2017-06-27 16:31 -!- smarro(~sebastian@host81.190-136-98.telecom.net.ar) has joined #tryton
2017-06-27 16:32 <xcodinas> andrespoliti: Did you check the browser console?
2017-06-27 16:33 <andrespoliti> Uncaught TypeError: Cannot read property 'attr' of undefined
2017-06-27 16:34 <xcodinas> andrespoliti: That's why it keeps showing Processing
2017-06-27 16:38 <andrespoliti> xcodinas: thanks! it was old code, i needed to refresh cache
2017-06-27 16:43 <kstenger> For the error shown above by alexbodn on hg review on newer hg versions I have made a patch that should solve it. The pull request is there, but it could be underexplained or undertested, maybe if it's tested enough it can get to be applied by nicoe ;-) I've been using it for some time now https://bitbucket.org/nicoe/hgreview/pull-requests/19/use-command/diff
2017-06-27 16:45 <kstenger> I use hg --version 4.1.3
2017-06-27 16:54 -!- smarro(~sebastian@host81.190-136-98.telecom.net.ar) has joined #tryton
2017-06-27 17:44 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-27 19:03 -!- Marleyx(~jordan@239.red-83-33-220.dynamicip.rima-tde.net) has joined #tryton
2017-06-27 19:20 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-06-27 19:40 -!- smarro(~sebastian@cust-245-46-13-200.trynet.com.ar) has joined #tryton
2017-06-27 21:34 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-06-27 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-06-27 22:36 -!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton
2017-06-27 22:48 -!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton

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