IRC logs of #tryton for Wednesday, 2016-12-21

chat.freenode.net #tryton log beginning Wed Dec 21 00:00:01 CET 2016
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:04
-!- fwiesing(~fwiesingX@mail.tryton.at) has left #tryton00:20
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton00:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:40
-!- thaneor(~ldlc6@r179-25-37-228.dialup.adsl.anteldata.net.uy) has joined #tryton02:40
-!- kstenger1(~karla@r186-48-241-115.dialup.adsl.anteldata.net.uy) has joined #tryton02:46
-!- niki_(~niki@0x3e2c8613.mobile.telia.dk) has joined #tryton04:46
-!- flachtassekasse(~flachtass@p5DD18C67.dip0.t-ipconnect.de) has joined #tryton07:30
-!- rpit(~rpit@aftr-37-24-150-38.unity-media.net) has joined #tryton07:57
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:25
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:53
-!- udono(~udono@tmo-111-181.customers.d1-online.com) has joined #tryton09:01
-!- vapo(~VapoRizer@217-162-200-141.dynamic.hispeed.ch) has joined #tryton09:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:24
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton09:40
notizblockcedk: get_full_address() is only available on address09:48
-!- rpit(~rpit@aftr-37-24-150-38.unity-media.net) has joined #tryton10:02
cedknotizblock: that's not a problem10:05
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:25
cedkpokoli: where was the review for 4a7c42736b9510:37
pokolicedk: https://tryton-rietveld.appspot.com/30881002/10:43
cedkpokoli: it is not in the message10:46
cedkpokoli: also commit without review after just 2 days is not fair10:46
pokolicedk: ups, I missed it on the commit msg :(10:47
pokolicedk: as you reviewed the other change I though you reviewed this also10:48
pokolicedk: they must go together as they are related to the same issue10:48
cedkpokoli: it is not reviewed if there is no comment on it10:51
pokolicedk: sometimes I have a fast review without putting any comment on it. And then come back latter (if i have time)10:53
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton10:53
-!- ethan(0116a082@gateway/web/freenode/ip.1.22.160.130) has joined #tryton11:33
ethanHow I can edit sale & sale Line data in single JSON request?11:35
pokoliethan: using a write request to a sale model, and writing on the lines field to write on Sale Lines11:37
pokoliethan: indeed, this is what the client does11:37
ethanI mean to say, can I update both saleLine & sale in single write request?11:47
-!- flachtassekasse(~flachtass@p5DD18CCE.dip0.t-ipconnect.de) has joined #tryton11:53
pokoliethan: yes12:05
pokoliethan: that's what the tryton client does when you edit the lines of a sale and some of it's fields12:05
ethanpokoli: thanks a lot for your answer, any example for reference of this?12:38
pokoliethan: indeed it's dificult to provide examples of the JSON request as we normally don't use it. Only clients use it12:39
pokoliethan: but if you execute the server with --dev and --verbose flags you will see each request recieved with all the parameters12:40
pokoliethan: and that's why I was poiting that the tryton client uses it12:40
pokoliethan: it's all explained on the dos: http://doc.tryton.org/4.2/trytond/doc/ref/models/fields.html?highlight=one2many#trytond.model.fields.One2Many12:41
silwolOr you could inspect the calls of the web frontend with browser dev tools12:43
pokoliethan: silwol you can aslo run the tryton client with the --verbose flag and it will log all the request also12:45
ethanok,thank you very much for your help! I will try that12:46
silwolOk, didnt know that.12:46
ethanI have tryton mac client12:50
ethanI am unable to find run --verbose command12:51
cedkethan: yes you can, run: Tryton.app/Contents/MacOS/tryton12:54
ethanok12:56
ethanI am using tryton 3.2 & getting too many notice & error ! :(13:00
pokoliethan: I think this is normall, those are the number of request that the client does13:18
pokoliethan: about tryton 3.2, you should start thinking on a upgrade13:18
ethanno, it shows me just 2 options 1) open console 2) terminate13:23
pokoliethan: don't understand13:25
ethanwhen I try to open tryton terminal, then after showing some notice & error it shows me only these 2 options13:26
pokoliethan: then I think you should open the console13:36
pokoliethan: I usually run the client from the console :)13:36
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:39
ethanhow to run by console?13:49
ethansorry to ask you too many quetions! :(13:49
pokoliethan: sorry but I'm not a mac User so don't blame me if I can not provide better advices13:56
pokoliethan: you should have an application called console or terminal (or something similar)13:56
pokoliethan: You should open it and there enter: Tryton.app/Contents/MacOS/tryton --verbose13:57
pokoliethan: then the tryton client will be openend in a new window and you will see the requests on the console13:57
-!- flachtassekasse(~flachtass@p5DD18CCE.dip0.t-ipconnect.de) has joined #tryton14:00
ethanpokoli: sorry but I am not blaming to anyone, see what I got when try to run from console https://s24.postimg.org/wo4p2wsud/Screen_Shot_2016_12_21_at_6_28_36_PM.png14:01
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton14:13
-!- mamcode(~mamcode@186.94.177.184) has joined #tryton14:26
-!- thaneor(~ldlc6@179.26.80.77) has joined #tryton14:44
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton15:06
mrichezhi, in proteus, i've a wizard with a form, in this form a many2one field on suppliers, how to add an existing supplier to this form ?15:52
nicoemrichez: wizard.form.your_many2one = a_proteus_record15:54
nicoeWe do that in scenarios when paying something or when setting a journal15:55
nicoeIn the purchase module eg15:55
mricheznicoe: humm, i will check. wizard.form.your_many2one = a_proteus_record give me an AttributeError15:57
mricheznicoe: Found ! i need to use wizard.form.your_many2one.append(my_record)15:59
nicoemrichez: It's not a many2one but a one2many then16:00
mricheznicoe: many2many16:04
nicoemrichez: it's the same API as a 02M from proteus POV anyway :)16:07
mricheznicoe: ok thanks! :-)16:08
-!- smarro(~sebastian@181.16.7.104) has joined #tryton16:17
-!- kstenger(~karla@r186-54-189-147.dialup.adsl.anteldata.net.uy) has joined #tryton16:41
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:31
-!- JanGB(~jan@x59cc82a4.dyn.telefonica.de) has joined #tryton18:32
-!- JanGB(~jan@x59cc82a4.dyn.telefonica.de) has joined #tryton18:50
-!- udono(~udono@tmo-109-41.customers.d1-online.com) has joined #tryton18:52
-!- rpit(~rpit@aftr-37-24-150-173.unity-media.net) has joined #tryton19:50
-!- admin__(~admin@197.250.226.95) has joined #tryton21:19
admin__hello in here21:20
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:58
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton22:59
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton23:32

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