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

chat.freenode.net #tryton log beginning Wed Jun 28 00:00:01 CEST 2017
-!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton00:11
alexbodnhello kstenger. may i try your patched hgreview?00:12
kstengeralexbodn: sure, the patch is already applied if you clone it from https://bitbucket.org/kstenger/hgreview00:14
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:58
-!- kstenger1(~karla@r190-134-153-20.dialup.adsl.anteldata.net.uy) has joined #tryton01:22
-!- thaneor(~ldlc6@r179-25-84-36.dialup.adsl.anteldata.net.uy) has joined #tryton02:17
-!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton02:25
-!- JosDzGx(~Thunderbi@189.195.156.226) has joined #tryton02:56
-!- JosDzGx(~Thunderbi@2806:10ae:7:3fb3:c888:86b3:c640:779) has joined #tryton03:04
-!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton04:11
-!- JosDzGx(~Thunderbi@189.195.156.226) has joined #tryton04:29
-!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton07:06
-!- rpit(~rpit@aftr-37-24-144-89.unity-media.net) has joined #tryton07:55
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton08:20
LordVanmorning08:20
LordVanpokoli, i just tried to install that module with sale delivery date08:21
LordVani get this though:08:22
LordVanerror: Could not find suitable distribution for Requirement.parse('trytond<4.2,>=4.1')08:22
LordVani 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)08:22
LordVanI don't really want to break stuff already haha08:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:26
LordVanmeh08:26
LordVanthat idd not do what I expected ..08:27
LordVannow i don't have a delviery date field at all anymore for the positions in the sale08:27
LordVanmorning cedk08:27
LordVanoh08:29
LordVani just noticed i can't deactivate the module again ..08:29
LordVanhttps://bugs.tryton.org/issue322 is still an issue?08:29
LordVanhmm08:30
LordVanACTION drops and re-created the testdb again08:34
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:40
-!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton08:51
alexbodngood morning friends08:55
LordVanhey08:57
alexbodnhow are you LordVan?08:58
LordVanbit busy but ok ;) you?08:58
alexbodnsame same ;)08:59
alexbodnhello 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?09:02
pokoliLordVan: modules can be deactivated from the module form, but probably its better to recreate the DB09:09
cedkalexbodn: no oauth of google requires a full browser09:09
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:10
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton09:30
alexbodncedk, i didn't understand, sorry09:35
LordVanpokoli,  esepcially for my nearly empty test db09:43
alexbodnhey pokoli09:50
LordVanpokoli, anyway that module completely removed the field instead of making it editable so i guess not compatible with 4.4.109:51
-!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton10:00
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton10:02
cedkalexbodn: upload.py needs a full browser to make the authentication10:03
alexbodnthanks cedk. could this be done w/o browser, even with a browser in another machine?10:05
alexbodni tryed hg review10:06
-!- Timitos(~kpreisler@tmo-097-73.customers.d1-online.com) has joined #tryton10:06
cedkalexbodn: it can be done with a browse on another machine if you paste the output of the command10:07
alexbodnok, but thed i should probably run hg review with other parameters, shouldn't i?10:09
alexbodnbrb10:09
-!- Timitos1(~kpreisler@tmo-103-188.customers.d1-online.com) has joined #tryton10:19
pokoliLordVan: sorry for pointing to wrong module, it used to work on older versions, but I don't now the state on latest versions10:20
cedkalexbodn: le parameter oauth2 must be True10:27
LordVanpokoli, no worries10:38
-!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton10:39
alexbodncedk, le ;) parameter is vraie10:56
cedkalexbodn: so copy/paste the URL in a browser10:58
alexbodncedk the showed url was: https://codereview.tryton.org/get-access-token?port=800111:01
alexbodnand i get error in browser:, as it redirects to: http://localhost:8001/?access_token=ya29.Glt3BCKP7DFSMIB_96yLqWSZIvAk5KbqP9_-YjuhN7mviaRjdS_wiQRY7lecAOB5TxnmldRTj05xgNXf-SBFjCC6uCvzeg5rU_1kzTuQIofgGFi-Mi6X7qjd-Qto11:02
alexbodncedk my localhost cannot be accessed from outside11:04
alexbodncek: 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?11:07
alexbodnsorry, i mispelled your name, cedk11:07
cedkin config: oauth2_webbrowser = False11:09
alexbodncedk, should oauth2 remain true?11:10
cedkalexbodn: yes11:11
alexbodnretrying11:12
alexbodnthe url is showed wrong:  https://https://codereview.tryton.org/get-access-token11:13
alexbodncedk, it worked! thanks so much :)11:14
-!- csotelo(~csotelo@2001:1388:49c6:5a64:7eac:5428:faa4:8ebe) has joined #tryton11:17
alexbodnkstenger: your patch did work for me :) . thank you so much !11:24
alexbodncedk, the token i receive is always the same. mai i save the token and my email in ~/.hgrc ?11:51
pokolialexbodn: I don't think test tests you added to the review goes to the right direction11:56
alexbodnpokoli what do you mean?11:58
pokolialexbodn: I don't think it's good to add a test that adds sme modules dependencies11:59
pokolialexbodn: the test should test the funcionality without extra dependencies11:59
alexbodnpokoli, i wanted to install modules, so i needed the modules, didn't i?12:00
alexbodnpokoli, the patch and the test are about installing the modules, aren't they?12:01
pokolialexbodn: probably, but if we have to add a lot of modules as dependency I will prefer to not add a test12:01
pokolialexbodn: yes, what about using a mock to return a module definition and test using this mock?12:02
pokolialexbodn: also, if you create a new codereview, you should link it to an issue on bugs.tryton.org12:03
pokolialexbodn: for example: https://tryton-rietveld-hrd.appspot.com/35091002/12:03
pokolialexbodn: it's not possible to see what are you talking about12:03
pokolialexbodn: and make sure to add a prefix to review to indiciate which repository is afected12:04
pokolialexbodn: it's all explained on http://www.tryton.org/how-to-contribute.html so make sure to carefully read it *all*12:04
cedkalexbodn: I made https://github.com/rietveld-codereview/rietveld/pull/54712:05
alexbodnok, cedk. but the token is still being asked for12:08
alexbodnpokoli' 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?12:08
pokolialexbodn: it's explained on the how-to-contribute link i posted12:10
alexbodnok, thanks :) pokoli12:11
pokolialexbodn: maybe you can try with an easy issue first to learn about tryton and then come back to this issue12:16
pokolialexbodn: for now, I'm rolling back your patch.12:16
alexbodnpokoli, that issue solved a problem i've asked you about. hard or easy, that was the problem.12:22
alexbodnno problem on my part, about rolling back. sorry if i made distress.12:24
alexbodnyes, more knowledge of tryton and mock will allow me to mock a module. it will probably come with my experience12:26
pokolialexbodn: a good way to learn about tryton is easy issues12:28
pokolialexbodn: and in order to learn about mock is just about experience with it :)12:28
cedkcareful with Mock, it should be used with parsimony12:28
alexbodnright, pokoli. i didn't look for issues at all, i'm just a very lousy user, so i'm trying to code everything ;)12:29
alexbodnso i wanted to do batch installation12:30
pokolialexbodn: i don't think that nothing prevents you to do so :)12:42
alexbodnyou kindly fixed my issue with batch modules installation and allowed me to contribute to review in order to be commit13:03
alexbodni wouldn't refuse, pokoli13:03
-!- mariomop(~quassel@181.90.129.206) has joined #tryton13:07
alexbodnpokoli, please don't read my words as a blame, i took the challenge as far i could, and will happily do it again ;)13:17
LordVanbtw13:18
LordVanquick 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,..)13:18
pokoliLordVan: once you have the sale, it will create a shipment with all the required moves13:20
LordVani take that as a yes? ;)13:20
pokoliLordVan: 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 quantitise13:20
LordVannice13:21
pokoliLordVan: and you should be able to print a delivery note for each shipment using the Report action :)13:21
pokolialexbodn: don't worry, all clear13:21
pokolialexbodn: I just have fun working with tryton :P13:21
LordVanwhat will it do in this case?:  customer orders 200 ,, i ship 100 one time then I ship 102 because there were some spare13:21
LordVanwill it then create the invoice for 200 or 202? (or ask) ?13:21
pokoliLordVan: it depends on the invoice method you have set13:22
LordVanhmm i have to admit i haven'T looked at that part much yet13:22
pokoliLordVan: see shipment and invoice method from the docs: http://doc.tryton.org/4.4/modules/sale/doc/index.html13:22
-!- kstenger(~karla@r190-134-150-10.dialup.adsl.anteldata.net.uy) has joined #tryton13:23
LordVanah13:24
LordVanlooks 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)13:24
LordVanpokoli, since we have quite a few customers who do not have offers and/or fixed prices first13:28
alexbodncool, pokoli :)13:36
pokoliLordVan: could you describe a little bit your workflow?13:47
LordVansure13:48
LordVanpokoli, could get a bit lengthy though want me to do it here anyway?13:48
LordVan(not like pages of course)13:48
pokoliLordVan: I don't want all the details, just a brief description13:49
LordVanok i'll try to make a short version13:49
LordVanthis is what we do now not how we'd necesarily do it exactly in tryton:13:50
LordVanBasically 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 parts13:51
LordVanthe splitting order ,.. part is actually a bit more complex but it will do for now13:51
LordVanthen those go to any / all of the following CAD -> NC Programming -> Laser cutting -> Bending -> soldering ->painting -> assembly  -> package for shipping /pickup13:52
LordVanthen when done we create delivery notes for whatever is done already (can be complete or partial orders)13:53
LordVanif not all is done yet from the order we continue until it is all done (unless the customer wants a partial invoice)13:53
LordVanthen create the invoice combininga ll deliveries13:53
LordVanat this point any not yet fixed prices are calculated13:54
LordVanthe thing is for each position on a sale I do need to be able to specify a customer required delivery date13:54
LordVan(maybe also partial deliveries, but if taht is done later and just as a text comment that is fine too)13:55
LordVanand of course the invoice has to accomodate any surplus products (if the customer wants them)13:55
LordVanpokoli, in addtion some products could be actually installed by us but that is "just" extra work time13:57
LordVani think that's basically the gist of it13:57
LordVanthe basic workflow is not that bad just complicated by details ;)13:58
pokoliLordVan: well, thanks for the explanation :)13:58
LordVanand 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 match13:58
LordVanguess 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 it13:59
LordVanbut13:59
LordVani would like to create those project sheets (semi) automatically too, so i need it in tryton13:59
pokoliLordVan: an once a customer places and order, he can cancel it?14:01
pokoliLordVan: 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 manually14:02
pokoliLordVan: 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 it14:04
pokoliLordVan: sorry but I can not find it14:12
-!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton14:17
-!- thaneor(~ldlc6@179.26.80.152) has joined #tryton14:19
LordVanpokoli, well yes an order can be cancelled - unless too far advanced of course14:26
LordVanpokoli, 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 order14:27
LordVanpokoli, just reading http://doc.tryton.org/4.4/modules/production/doc/index.html .. is there any example workflow (including some setup) documented somewhere?14:37
LordVansince this module seems rather complicated14:37
LordVanfor example ic an't really see a description of what a work center is14:38
LordVanseems like a quite powerful module with lots of options, but probably too complex for our use (to start with at least)14:40
pokoliLordVan: the workflow is straigh forward. I think it's work to install it and give it a try15:01
pokoliLordVan: can you elaborate on "unknow products"?15:02
LordVansure give me a minute15:03
LordVanpokoli, customer orders I want a box to cover XYZ15:11
LordVandoesn'T know at that point what (exact ) material , thickness, painted or not, ...15:11
LordVansoldered, screwed, whatever else15:11
LordVanso we only really know for some things when it is actually done15:12
pokoliLordVan: then you should probably create a line with description15:18
pokoliLordVan: but this will break the automation, as you don't know what to produce15:19
pokoliLordVan: i was thinking that you may want to track customer order on a new model (not sale), but not sure about it15:19
cedkyep, this looks like a kind of project (not necessary Tryton project) and not a sale15:22
LordVanyeah15:23
LordVana project for a sale15:23
LordVanand project has sub-projects for different parts or soemthign15:23
LordVanmaybe15:23
cedksale module is for standardized workflow but as far as I can hear your are far away from standardized workflow15:27
LordVanunfortunately yes15:27
LordVanas a production company with lots of different small or medium sized custom things15:27
LordVancedk, do you think I could somehow use the project module for this without modifying it?15:30
pokoliLordVan: I don't think the standard project as currently is may fit for you15:31
pokoliLordVan: indeed, you recieve customer orders and they have to be managed on tryton15:31
LordVanwell what i want is create offers/invoices/ .. with tryton and those project sheets i need (last one would probably be rather a custom module)15:32
LordVannow i don't mind to just use the description field in an order to put the custom stuff15:33
LordVanbut the main problem is to create the project folders afterwards15:33
-!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton16:01
LordVani will have to think about that some more ..16:02
LordVanthanks for now . cya16:03
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton16:09
-!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton16:36
-!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton16:39
-!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton17:08
-!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton17:10
-!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton17:13
-!- rpit(~rpit@2a02:908:e671:9f80:56ee:75ff:fe0d:d3c7) has joined #tryton17:39
-!- lukio(~lukio@200.68.72.41) has joined #tryton18:05
-!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton18:29
-!- smarro(~sebastian@host2.181-0-212.telecom.net.ar) has joined #tryton18:43
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:49
-!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has joined #tryton19:19
-!- sebd(~seb@aditu.ldd.fr) has joined #tryton20:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:40
-!- smarro(~sebastian@host196.181-0-210.telecom.net.ar) has joined #tryton21:52
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton22:36
-!- lukio(~lukio@200.68.72.41) has left #tryton23:34
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:52

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!