IRC logs of #tryton for Wednesday, 2017-06-28

chat.freenode.net #tryton log beginning Wed Jun 28 00:00:01 CEST 2017
2017-06-28 00:11 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton
2017-06-28 00:12 <alexbodn> hello kstenger. may i try your patched hgreview?
2017-06-28 00:14 <kstenger> alexbodn: sure, the patch is already applied if you clone it from https://bitbucket.org/kstenger/hgreview
2017-06-28 00:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-28 01:22 -!- kstenger1(~karla@r190-134-153-20.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-28 02:17 -!- thaneor(~ldlc6@r179-25-84-36.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-28 02:25 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-28 02:56 -!- JosDzGx(~Thunderbi@189.195.156.226) has joined #tryton
2017-06-28 03:04 -!- JosDzGx(~Thunderbi@2806:10ae:7:3fb3:c888:86b3:c640:779) has joined #tryton
2017-06-28 04:11 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-28 04:29 -!- JosDzGx(~Thunderbi@189.195.156.226) has joined #tryton
2017-06-28 07:06 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton
2017-06-28 07:55 -!- rpit(~rpit@aftr-37-24-144-89.unity-media.net) has joined #tryton
2017-06-28 08:20 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-06-28 08:20 <LordVan> morning
2017-06-28 08:21 <LordVan> pokoli, i just tried to install that module with sale delivery date
2017-06-28 08:22 <LordVan> i get this though:
2017-06-28 08:22 <LordVan> error: Could not find suitable distribution for Requirement.parse('trytond<4.2,>=4.1')
2017-06-28 08:22 <LordVan> i know i can probably change setup.py for that easily, but the question is should i or were there some changes (i got trytond 4.4.1)
2017-06-28 08:23 <LordVan> I don't really want to break stuff already haha
2017-06-28 08:26 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-28 08:26 <LordVan> meh
2017-06-28 08:27 <LordVan> that idd not do what I expected ..
2017-06-28 08:27 <LordVan> now i don't have a delviery date field at all anymore for the positions in the sale
2017-06-28 08:27 <LordVan> morning cedk
2017-06-28 08:29 <LordVan> oh
2017-06-28 08:29 <LordVan> i just noticed i can't deactivate the module again ..
2017-06-28 08:29 <LordVan> https://bugs.tryton.org/issue322 is still an issue?
2017-06-28 08:30 <LordVan> hmm
2017-06-28 08:34 <LordVan> ACTION drops and re-created the testdb again
2017-06-28 08:40 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-06-28 08:51 -!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton
2017-06-28 08:55 <alexbodn> good morning friends
2017-06-28 08:57 <LordVan> hey
2017-06-28 08:58 <alexbodn> how are you LordVan?
2017-06-28 08:58 <LordVan> bit busy but ok ;) you?
2017-06-28 08:59 <alexbodn> same same ;)
2017-06-28 09:02 <alexbodn> hello kstenger. your patch seemed to help, thanks a lot. hgreview activated lynx and turned me to allow access to rietveld-tryton, which failed for lack of javascript in lynx. is there a more batchfull method to do that?
2017-06-28 09:09 <pokoli> LordVan: modules can be deactivated from the module form, but probably its better to recreate the DB
2017-06-28 09:09 <cedk> alexbodn: no oauth of google requires a full browser
2017-06-28 09:10 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-06-28 09:30 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-06-28 09:35 <alexbodn> cedk, i didn't understand, sorry
2017-06-28 09:43 <LordVan> pokoli, esepcially for my nearly empty test db
2017-06-28 09:50 <alexbodn> hey pokoli
2017-06-28 09:51 <LordVan> pokoli, anyway that module completely removed the field instead of making it editable so i guess not compatible with 4.4.1
2017-06-28 10:00 -!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-06-28 10:02 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-06-28 10:03 <cedk> alexbodn: upload.py needs a full browser to make the authentication
2017-06-28 10:05 <alexbodn> thanks cedk. could this be done w/o browser, even with a browser in another machine?
2017-06-28 10:06 <alexbodn> i tryed hg review
2017-06-28 10:06 -!- Timitos(~kpreisler@tmo-097-73.customers.d1-online.com) has joined #tryton
2017-06-28 10:07 <cedk> alexbodn: it can be done with a browse on another machine if you paste the output of the command
2017-06-28 10:09 <alexbodn> ok, but thed i should probably run hg review with other parameters, shouldn't i?
2017-06-28 10:09 <alexbodn> brb
2017-06-28 10:19 -!- Timitos1(~kpreisler@tmo-103-188.customers.d1-online.com) has joined #tryton
2017-06-28 10:20 <pokoli> LordVan: sorry for pointing to wrong module, it used to work on older versions, but I don't now the state on latest versions
2017-06-28 10:27 <cedk> alexbodn: le parameter oauth2 must be True
2017-06-28 10:38 <LordVan> pokoli, no worries
2017-06-28 10:39 -!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton
2017-06-28 10:56 <alexbodn> cedk, le ;) parameter is vraie
2017-06-28 10:58 <cedk> alexbodn: so copy/paste the URL in a browser
2017-06-28 11:01 <alexbodn> cedk the showed url was: https://codereview.tryton.org/get-access-token?port=8001
2017-06-28 11:02 <alexbodn> and i get error in browser:, as it redirects to: http://localhost:8001/?access_token=ya29.Glt3BCKP7DFSMIB_96yLqWSZIvAk5KbqP9_-YjuhN7mviaRjdS_wiQRY7lecAOB5TxnmldRTj05xgNXf-SBFjCC6uCvzeg5rU_1kzTuQIofgGFi-Mi6X7qjd-Qto
2017-06-28 11:04 <alexbodn> cedk my localhost cannot be accessed from outside
2017-06-28 11:07 <alexbodn> cek: If your browser is on a different machine then exit and re-run upload.py with the command-line parameter --no_oauth2_webbrowser . where should this be set in hg / review commands?
2017-06-28 11:07 <alexbodn> sorry, i mispelled your name, cedk
2017-06-28 11:09 <cedk> in config: oauth2_webbrowser = False
2017-06-28 11:10 <alexbodn> cedk, should oauth2 remain true?
2017-06-28 11:11 <cedk> alexbodn: yes
2017-06-28 11:12 <alexbodn> retrying
2017-06-28 11:13 <alexbodn> the url is showed wrong: https://https://codereview.tryton.org/get-access-token
2017-06-28 11:14 <alexbodn> cedk, it worked! thanks so much :)
2017-06-28 11:17 -!- csotelo(~csotelo@2001:1388:49c6:5a64:7eac:5428:faa4:8ebe) has joined #tryton
2017-06-28 11:24 <alexbodn> kstenger: your patch did work for me :) . thank you so much !
2017-06-28 11:51 <alexbodn> cedk, the token i receive is always the same. mai i save the token and my email in ~/.hgrc ?
2017-06-28 11:56 <pokoli> alexbodn: I don't think test tests you added to the review goes to the right direction
2017-06-28 11:58 <alexbodn> pokoli what do you mean?
2017-06-28 11:59 <pokoli> alexbodn: I don't think it's good to add a test that adds sme modules dependencies
2017-06-28 11:59 <pokoli> alexbodn: the test should test the funcionality without extra dependencies
2017-06-28 12:00 <alexbodn> pokoli, i wanted to install modules, so i needed the modules, didn't i?
2017-06-28 12:01 <alexbodn> pokoli, the patch and the test are about installing the modules, aren't they?
2017-06-28 12:01 <pokoli> alexbodn: probably, but if we have to add a lot of modules as dependency I will prefer to not add a test
2017-06-28 12:02 <pokoli> alexbodn: yes, what about using a mock to return a module definition and test using this mock?
2017-06-28 12:03 <pokoli> alexbodn: also, if you create a new codereview, you should link it to an issue on bugs.tryton.org
2017-06-28 12:03 <pokoli> alexbodn: for example: https://tryton-rietveld-hrd.appspot.com/35091002/
2017-06-28 12:03 <pokoli> alexbodn: it's not possible to see what are you talking about
2017-06-28 12:04 <pokoli> alexbodn: and make sure to add a prefix to review to indiciate which repository is afected
2017-06-28 12:04 <pokoli> alexbodn: it's all explained on http://www.tryton.org/how-to-contribute.html so make sure to carefully read it *all*
2017-06-28 12:05 <cedk> alexbodn: I made https://github.com/rietveld-codereview/rietveld/pull/547
2017-06-28 12:08 <alexbodn> ok, cedk. but the token is still being asked for
2017-06-28 12:08 <alexbodn> pokoli' 1. i'm not against mock, but i don't know it. neither tryton, as a matter of fact, yet. 2. how to fix the missing connections in my review submits?
2017-06-28 12:10 <pokoli> alexbodn: it's explained on the how-to-contribute link i posted
2017-06-28 12:11 <alexbodn> ok, thanks :) pokoli
2017-06-28 12:16 <pokoli> alexbodn: maybe you can try with an easy issue first to learn about tryton and then come back to this issue
2017-06-28 12:16 <pokoli> alexbodn: for now, I'm rolling back your patch.
2017-06-28 12:22 <alexbodn> pokoli, that issue solved a problem i've asked you about. hard or easy, that was the problem.
2017-06-28 12:24 <alexbodn> no problem on my part, about rolling back. sorry if i made distress.
2017-06-28 12:26 <alexbodn> yes, more knowledge of tryton and mock will allow me to mock a module. it will probably come with my experience
2017-06-28 12:28 <pokoli> alexbodn: a good way to learn about tryton is easy issues
2017-06-28 12:28 <pokoli> alexbodn: and in order to learn about mock is just about experience with it :)
2017-06-28 12:28 <cedk> careful with Mock, it should be used with parsimony
2017-06-28 12:29 <alexbodn> right, pokoli. i didn't look for issues at all, i'm just a very lousy user, so i'm trying to code everything ;)
2017-06-28 12:30 <alexbodn> so i wanted to do batch installation
2017-06-28 12:42 <pokoli> alexbodn: i don't think that nothing prevents you to do so :)
2017-06-28 13:03 <alexbodn> you kindly fixed my issue with batch modules installation and allowed me to contribute to review in order to be commit
2017-06-28 13:03 <alexbodn> i wouldn't refuse, pokoli
2017-06-28 13:07 -!- mariomop(~quassel@181.90.129.206) has joined #tryton
2017-06-28 13:17 <alexbodn> pokoli, please don't read my words as a blame, i took the challenge as far i could, and will happily do it again ;)
2017-06-28 13:18 <LordVan> btw
2017-06-28 13:18 <LordVan> quick question: can I generate delivery notes for partial deliveries easily in tryton? (e.g. customer orders 200 pieces of something and i deliver the first 100 a week early,..)
2017-06-28 13:20 <pokoli> LordVan: once you have the sale, it will create a shipment with all the required moves
2017-06-28 13:20 <LordVan> i take that as a yes? ;)
2017-06-28 13:20 <pokoli> LordVan: in order to partially send it, just modify the quantites with what you are sending, and once the shipment is finished tryton will create another shipment with the pending quantitise
2017-06-28 13:21 <LordVan> nice
2017-06-28 13:21 <pokoli> LordVan: and you should be able to print a delivery note for each shipment using the Report action :)
2017-06-28 13:21 <pokoli> alexbodn: don't worry, all clear
2017-06-28 13:21 <pokoli> alexbodn: I just have fun working with tryton :P
2017-06-28 13:21 <LordVan> what will it do in this case?: customer orders 200 ,, i ship 100 one time then I ship 102 because there were some spare
2017-06-28 13:21 <LordVan> will it then create the invoice for 200 or 202? (or ask) ?
2017-06-28 13:22 <pokoli> LordVan: it depends on the invoice method you have set
2017-06-28 13:22 <LordVan> hmm i have to admit i haven'T looked at that part much yet
2017-06-28 13:22 <pokoli> LordVan: see shipment and invoice method from the docs: http://doc.tryton.org/4.4/modules/sale/doc/index.html
2017-06-28 13:23 -!- kstenger(~karla@r190-134-150-10.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-28 13:24 <LordVan> ah
2017-06-28 13:24 <LordVan> looks like i'd set it to manual tbh as most things we have will require extra steps after production to calculate prices (except if there was an offer)
2017-06-28 13:28 <LordVan> pokoli, since we have quite a few customers who do not have offers and/or fixed prices first
2017-06-28 13:36 <alexbodn> cool, pokoli :)
2017-06-28 13:47 <pokoli> LordVan: could you describe a little bit your workflow?
2017-06-28 13:48 <LordVan> sure
2017-06-28 13:48 <LordVan> pokoli, could get a bit lengthy though want me to do it here anyway?
2017-06-28 13:48 <LordVan> (not like pages of course)
2017-06-28 13:49 <pokoli> LordVan: I don't want all the details, just a brief description
2017-06-28 13:49 <LordVan> ok i'll try to make a short version
2017-06-28 13:50 <LordVan> this is what we do now not how we'd necesarily do it exactly in tryton:
2017-06-28 13:51 <LordVan> Basically customer places the order (either after an offer / with fixed price or something without a price (yet) ) ->the order gets split by Material and Material thickness (and maybe other criteria) => we create or "project sheets" and print them out together with whatever is needed to produce the parts
2017-06-28 13:51 <LordVan> the splitting order ,.. part is actually a bit more complex but it will do for now
2017-06-28 13:52 <LordVan> then those go to any / all of the following CAD -> NC Programming -> Laser cutting -> Bending -> soldering ->painting -> assembly -> package for shipping /pickup
2017-06-28 13:53 <LordVan> then when done we create delivery notes for whatever is done already (can be complete or partial orders)
2017-06-28 13:53 <LordVan> if not all is done yet from the order we continue until it is all done (unless the customer wants a partial invoice)
2017-06-28 13:53 <LordVan> then create the invoice combininga ll deliveries
2017-06-28 13:54 <LordVan> at this point any not yet fixed prices are calculated
2017-06-28 13:54 <LordVan> the thing is for each position on a sale I do need to be able to specify a customer required delivery date
2017-06-28 13:55 <LordVan> (maybe also partial deliveries, but if taht is done later and just as a text comment that is fine too)
2017-06-28 13:55 <LordVan> and of course the invoice has to accomodate any surplus products (if the customer wants them)
2017-06-28 13:57 <LordVan> pokoli, in addtion some products could be actually installed by us but that is "just" extra work time
2017-06-28 13:57 <LordVan> i think that's basically the gist of it
2017-06-28 13:58 <LordVan> the basic workflow is not that bad just complicated by details ;)
2017-06-28 13:58 <pokoli> LordVan: well, thanks for the explanation :)
2017-06-28 13:58 <LordVan> and i tried to do the partial delivery + surplus delivery with dolibarr .. and it did not add surplus for example or warn the amounts don't match
2017-06-28 13:59 <LordVan> guess i'll have to either look into creating that module that will allow me to enter "customer required dates" or think of another way to do it
2017-06-28 13:59 <LordVan> but
2017-06-28 13:59 <LordVan> i would like to create those project sheets (semi) automatically too, so i need it in tryton
2017-06-28 14:01 <pokoli> LordVan: an once a customer places and order, he can cancel it?
2017-06-28 14:02 <pokoli> LordVan: the standard tryton workflow is: Create a sale, the sale creates shipments waiting to be produced, the production scheduler creates production requests and once productions are finished, the customer delivery notes must be sent manually
2017-06-28 14:04 <pokoli> LordVan: i remember creating a module, that automates the production creation from sale order, and then assigned the production outputs to the related customer shipment but I don't remember exactly, let me check if I can find it
2017-06-28 14:12 <pokoli> LordVan: sorry but I can not find it
2017-06-28 14:17 -!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton
2017-06-28 14:19 -!- thaneor(~ldlc6@179.26.80.152) has joined #tryton
2017-06-28 14:26 <LordVan> pokoli, well yes an order can be cancelled - unless too far advanced of course
2017-06-28 14:27 <LordVan> pokoli, i haven'T looked at the production module yet, but I suspect i might have some problems with "unknown" products where we do not know exactly what needs doing at point of order
2017-06-28 14:37 <LordVan> pokoli, just reading http://doc.tryton.org/4.4/modules/production/doc/index.html .. is there any example workflow (including some setup) documented somewhere?
2017-06-28 14:37 <LordVan> since this module seems rather complicated
2017-06-28 14:38 <LordVan> for example ic an't really see a description of what a work center is
2017-06-28 14:40 <LordVan> seems like a quite powerful module with lots of options, but probably too complex for our use (to start with at least)
2017-06-28 15:01 <pokoli> LordVan: the workflow is straigh forward. I think it's work to install it and give it a try
2017-06-28 15:02 <pokoli> LordVan: can you elaborate on "unknow products"?
2017-06-28 15:03 <LordVan> sure give me a minute
2017-06-28 15:11 <LordVan> pokoli, customer orders I want a box to cover XYZ
2017-06-28 15:11 <LordVan> doesn'T know at that point what (exact ) material , thickness, painted or not, ...
2017-06-28 15:11 <LordVan> soldered, screwed, whatever else
2017-06-28 15:12 <LordVan> so we only really know for some things when it is actually done
2017-06-28 15:18 <pokoli> LordVan: then you should probably create a line with description
2017-06-28 15:19 <pokoli> LordVan: but this will break the automation, as you don't know what to produce
2017-06-28 15:19 <pokoli> LordVan: i was thinking that you may want to track customer order on a new model (not sale), but not sure about it
2017-06-28 15:22 <cedk> yep, this looks like a kind of project (not necessary Tryton project) and not a sale
2017-06-28 15:23 <LordVan> yeah
2017-06-28 15:23 <LordVan> a project for a sale
2017-06-28 15:23 <LordVan> and project has sub-projects for different parts or soemthign
2017-06-28 15:23 <LordVan> maybe
2017-06-28 15:27 <cedk> sale module is for standardized workflow but as far as I can hear your are far away from standardized workflow
2017-06-28 15:27 <LordVan> unfortunately yes
2017-06-28 15:27 <LordVan> as a production company with lots of different small or medium sized custom things
2017-06-28 15:30 <LordVan> cedk, do you think I could somehow use the project module for this without modifying it?
2017-06-28 15:31 <pokoli> LordVan: I don't think the standard project as currently is may fit for you
2017-06-28 15:31 <pokoli> LordVan: indeed, you recieve customer orders and they have to be managed on tryton
2017-06-28 15:32 <LordVan> well what i want is create offers/invoices/ .. with tryton and those project sheets i need (last one would probably be rather a custom module)
2017-06-28 15:33 <LordVan> now i don't mind to just use the description field in an order to put the custom stuff
2017-06-28 15:33 <LordVan> but the main problem is to create the project folders afterwards
2017-06-28 16:01 -!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 16:02 <LordVan> i will have to think about that some more ..
2017-06-28 16:03 <LordVan> thanks for now . cya
2017-06-28 16:09 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-06-28 16:36 -!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 16:39 -!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 17:08 -!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 17:10 -!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 17:13 -!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 17:39 -!- rpit(~rpit@2a02:908:e671:9f80:56ee:75ff:fe0d:d3c7) has joined #tryton
2017-06-28 18:05 -!- lukio(~lukio@200.68.72.41) has joined #tryton
2017-06-28 18:29 -!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-28 18:43 -!- smarro(~sebastian@host2.181-0-212.telecom.net.ar) has joined #tryton
2017-06-28 18:49 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-06-28 19:19 -!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has joined #tryton
2017-06-28 20:01 -!- sebd(~seb@aditu.ldd.fr) has joined #tryton
2017-06-28 21:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-28 21:52 -!- smarro(~sebastian@host196.181-0-210.telecom.net.ar) has joined #tryton
2017-06-28 22:01 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2017-06-28 22:36 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-06-28 23:34 -!- lukio(~lukio@200.68.72.41) has left #tryton
2017-06-28 23:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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