IRC logs of #tryton for Tuesday, 2015-03-24

chat.freenode.net #tryton log beginning Tue Mar 24 00:00:01 CET 2015
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:50
-!- digitalsatori(~Thunderbi@203-59-128-105.perm.iinet.net.au) has joined #tryton00:53
-!- smarro(~sebastian@190.105.93.196) has joined #tryton00:56
-!- yangoon(~mathiasb@p549F109D.dip0.t-ipconnect.de) has joined #tryton02:08
-!- sharoonthomas(~sharoonth@122.177.62.225) has joined #tryton03:56
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:57
-!- digitalsatori1(~Thunderbi@125.7.119.155) has joined #tryton04:02
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton05:59
-!- yangoon1(~mathiasb@p549F0C87.dip0.t-ipconnect.de) has joined #tryton06:01
-!- frispete(~frispete@p54A90DA2.dip0.t-ipconnect.de) has joined #tryton06:40
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton06:51
-!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton07:06
-!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton08:01
-!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton08:12
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:17
-!- michael-kohlhaas(~mk@p57B9F5AD.dip0.t-ipconnect.de) has joined #tryton08:21
-!- michael-kohlhaas(~mk@unaffiliated/michael-kohlhaas) has joined #tryton08:21
-!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton08:31
-!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton08:46
VaticanCameosIs it possible to open a URL from Tryton? (ir.action.url perhaps?)08:46
VaticanCameosFor example, click a button and trigger the opening of a url in the browser08:46
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton09:04
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:12
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:16
-!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton09:55
-!- nicoe(~nicoe@82-212-130-50.teledisnet.be) has joined #tryton10:16
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton10:33
yangoon1VaticanCameos: you can have a look at the google_maps module11:05
VaticanCameosyangoon1: That has examples of using the url widget11:17
cedkVaticanCameos: yes you can use the ir.action.url11:19
VaticanCameoscedk: I was not able to find any examples of ir.action.url being used. What I'm trying to do is click a button which should trigger the launch of a url in the browser.11:20
VaticanCameoscedk: could you please point me to some example of ir.action.url?11:20
-!- mathsniper(1b6dae57@gateway/web/freenode/ip.27.109.174.87) has joined #tryton11:28
cedkVaticanCameos: there is no example11:30
cedkVaticanCameos: it is an action like any others11:30
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton11:48
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton12:15
-!- Jitesh_Nair(~jitesh@116.68.97.240) has joined #tryton12:23
-!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton12:26
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton12:41
-!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton12:50
-!- kstenger(~karla@200.124.209.158) has joined #tryton12:53
-!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton13:00
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton13:03
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton13:13
-!- digitalsatori(~Thunderbi@203-59-128-105.perm.iinet.net.au) has joined #tryton13:33
-!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton13:39
-!- pablovannini(~pablo@190.55.77.17) has joined #tryton13:57
-!- pablovannini(~pablo@190.55.77.17) has joined #tryton14:03
-!- kstenger(~karla@200.124.209.158) has joined #tryton14:07
-!- jcros(~Thunderbi@LStLambert-656-1-209-6.w80-14.abo.wanadoo.fr) has joined #tryton14:14
-!- kstenger(~karla@200.124.209.158) has joined #tryton14:22
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton14:58
-!- kstenger(~karla@200.124.209.158) has joined #tryton15:28
-!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton17:01
grasbauerhi17:02
grasbauerI still thinking about a extension: I have a customer where the clerks in the warehouse are doing purchases by telefon on demand - but backoffice needs to handle such purchases in accounting. So I think about creating a invoice lines if shipment.in  is received - anz concerns?17:07
grasbauerwhooo - my keybord changed to english :)17:08
cedkgrasbauer: why not encoding a purchase?17:14
grasbauercedk: I asked the same :) but the people in the warehouse is verz diffrent from people in backoffice ...17:15
cedkgrasbauer: but they do purchase?17:18
grasbauercedk: purchase !=purchase in that case: they now what they need and simply calling a supplier by phone17:20
cedkgrasbauer: don't see the difference with a purchase17:22
grasbauercedk: you are right - but a complete purchase workflow needs some clicks more17:29
-!- hiaselhans(~Thunderbi@91.141.5.87.wireless.dyn.drei.com) has joined #tryton17:29
pokoligrasbauer: but you can trigger the full workflow from a custom wizard17:30
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton17:30
cedkgrasbauer: for me, it sounds like a company that wants an ERP but don't want to use an ERP17:32
grasbauerpokoli: good sugestion17:32
pokoligrasbauer: it's like creating the invoice directly from the shipment, but reusing the existing code of purchase, and keep the correct flow17:33
grasbauercedk: you should better think: management of company want erp - nobody else :)17:34
pokoligrasbauer: you only to ensure that the stock moves are linked correctly with the new purchase lines17:34
grasbauerpokoli cedk: ok - so I start hacking :)17:35
cedkgrasbauer: I don't understand at all the concept of warehouse guys purchase stuffs17:36
grasbauercedk: warehouse guys needs to ensure that everything is available - but they don't care about accounting17:37
cedkgrasbauer: still it is not understable17:38
grasbauercedk: think the warehouse guy as an human who hates computers - he see a button shipment in and want to do a direct purchase, it's a workflow just in time ...17:40
-!- mathsniper(1b6d9fcd@gateway/web/freenode/ip.27.109.159.205) has joined #tryton17:42
grasbauerby the way; visiting odoo on cebit wearing a tryton shirt is fun17:42
cedkgrasbauer: What the hell! He doesn't even talk to the supplier?17:43
cedkgrasbauer: normally you can not receive products without origin17:44
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton17:44
cedkgrasbauer: so you could write come code that in such case it creates an origin that will do "I don't know what"17:44
grasbauercedk: I understand your concerns ...17:45
cedkbut at least you know there is something coming in which was not purchased17:45
grasbauercedk: it's only the step purchase what is not documented in tryton, because shipment in is more or less (2hours) real time17:47
-!- kstenger(~karla@200.124.209.158) has joined #tryton17:49
cedkgrasbauer: but it is still strange to not create a purchase even if delivery is fast17:49
cedkgrasbauer: what if delivery is not fast, never happen, doesn't correspond to what was ordered17:50
cedkgrasbauer: happens the next day and the guy is not there17:50
cedkgrasbauer: so you have to explain your user that's what he wants is to not use an ERP and work with just words17:50
grasbauercedk: ;) zou17:51
grasbauercedk: you are right - but: giving the supplier a call: "I need 25 bootles of beer" - the answer is "sorry, I have only 22" - "Ok - send me the 22" - done. Than each guy in the company can create a shipment.in - with 22 or even 21 if one is broken. and for accounting the only information is: we need to pay 22 or 21. If he do a purchase with 25, all the system is waiting for 3 ore 5 that are not delivered17:56
cedkgrasbauer: so use purchase17:59
cedkgrasbauer: or don't use Tryton17:59
cedkgrasbauer: in real life everything is simplier without a software17:59
cedkbut you don't have the same result17:59
grasbauercedk: we should collect your statements in a wall of fame :) - ok - I'm (a bit) convinced18:02
grasbauercedk: but my approach is that software should simplify real life - and receiving goods without a purchase should trigger something for the people in accounting to just know about the things people in the warehouse does.18:09
-!- JGras(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton18:11
JGrassytem gone18:12
cedkJGras: you can still dream18:14
JGrascedk: arch update broke my system - need to recover18:16
JGrasACTION systemd18:18
cedkJGras: The general design of Tryton is to not allow to encode shipment that are not linked to a document like a purchase or a sale18:18
cedkJGras: because they are the main document18:19
cedkJGras: after that you can remove this constraint and write some code to find such move and do what ever you want18:19
cedkbut I guess you will miss the price, the payment term etc.18:20
cedk+ there will be not check about integrity between the shipment and the invoice18:20
cedkand I can go like that for hours...18:20
JGrascedk: I will go with your argumentation tomorrow. You are right, but we have to deal with the wishes of customers ...18:24
cedkJGras: except when their wishes are dreams18:26
cedkJGras: moreover, I don't see why warehouse guy can not encode a purchase when he is on the phone and 2 hours later validate the shipment18:26
cedkif it doesn't do that, I don't see what he wants to do18:26
cedkencode the shipment before reception? encode the purchase after reception?18:27
-!- sunny_dealmeida(~quassel@203.115.76.113) has joined #tryton18:30
-!- sunny_dealmeida(~quassel@203.115.74.155) has joined #tryton18:52
mathsniperHi, why does "sao" always get transparent gray background after clicking "OK" in "save dialog" for model like Party?18:56
mathsniperI can't do anything except refresh the page18:58
mathsniperI'm using Chrome19:00
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton19:11
JGrascedk: you are right in everything :)19:11
-!- Telesight1(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton19:18
JGrasmathsniper: this is a bug in bootsrap19:19
mathsniperwill it be fixed?19:19
JGrascedk: we should remove the class explicitely on close dialog19:20
JGrasmodal-backdrop fade in19:21
udonomathsniper: hi, you may want to file an issue19:22
udonomathsniper: https://bugs.tryton.org/19:23
JGrashttp://stackoverflow.com/questions/22056147/bootstrap-modal-backdrop-remaining19:23
mathsniperHow to open file of this issue?19:23
mathsniperI just fixed it on my local19:24
mathsniper   jQuery('my-button').on('click', function() { $('body').removeClass('modal-open'); $('.modal-backdrop').remove(); } );19:25
notzippyAn easier implementation of bootstrap dialog http://nakupanda.github.io/bootstrap3-dialog/19:29
mathsniperSeems like the sao main less file is not available / implemented?19:30
mathsniperhttps://bugs.tryton.org/issue467119:46
JGrasmathsniper: can you attach the patch to the issue?19:50
-!- TheCowboy(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton19:50
mathsniperWill do it tomorrow. It's 3am HongKong time and I gonna sleep...19:56
-!- hiaselhans(~Thunderbi@ydWLUI2-181-044.uibk.ac.at) has joined #tryton20:25
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton20:28
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton20:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:31
cedkmathsniper: for the bootstrap bug, I think we should first try with a more up to date20:38
-!- prakashpp(~prakashpa@180.188.243.26) has joined #tryton20:49
-!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton20:53
prakashppcedk: hi, correct me if I’m wrong: https://github.com/tryton/trytond/blob/3.4/trytond/model/model.py#L397 in case of Product model, if this is looking for some on_change method it may fall to Template also?20:54
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton20:57
prakashppcedk: I had implemented some on_change fields on product model which is leading me to maximum recursion depth error, debugging shows client was calling on_change_active on product which I havent implemented nor tryton does in product module.21:00
prakashpppokoli: are you around?21:00
cedkprakashpp: too few information21:03
cedkprakashpp: the code you link looks correct to me21:05
-!- prakashpp(~prakashpa@180.188.243.26) has left #tryton21:14
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton21:24
-!- yangoon(~mathiasb@p549F166D.dip0.t-ipconnect.de) has joined #tryton21:34
cedkFYI, the mathsniper's issue is fixed with 3641b52591bd21:38
-!- nineinchnick(~jwas@109.231.17.7) has joined #tryton22:09
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton22:42
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton22:43
-!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton22:49
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton23:02
-!- bechamel1(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton23:36
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton23:43
-!- JGras(~jan@p54B9AAC6.dip0.t-ipconnect.de) has joined #tryton23:53

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