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

chat.freenode.net #tryton log beginning Wed Dec 21 00:00:01 CET 2016
2016-12-21 00:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-21 00:20 -!- fwiesing(~fwiesingX@mail.tryton.at) has left #tryton
2016-12-21 00:30 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2016-12-21 01:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-21 02:40 -!- thaneor(~ldlc6@r179-25-37-228.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-21 02:46 -!- kstenger1(~karla@r186-48-241-115.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-21 04:46 -!- niki_(~niki@0x3e2c8613.mobile.telia.dk) has joined #tryton
2016-12-21 07:30 -!- flachtassekasse(~flachtass@p5DD18C67.dip0.t-ipconnect.de) has joined #tryton
2016-12-21 07:57 -!- rpit(~rpit@aftr-37-24-150-38.unity-media.net) has joined #tryton
2016-12-21 08:25 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-12-21 08:53 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-12-21 09:01 -!- udono(~udono@tmo-111-181.customers.d1-online.com) has joined #tryton
2016-12-21 09:20 -!- vapo(~VapoRizer@217-162-200-141.dynamic.hispeed.ch) has joined #tryton
2016-12-21 09:24 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-21 09:40 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-12-21 09:48 <notizblock> cedk: get_full_address() is only available on address
2016-12-21 10:02 -!- rpit(~rpit@aftr-37-24-150-38.unity-media.net) has joined #tryton
2016-12-21 10:05 <cedk> notizblock: that's not a problem
2016-12-21 10:25 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2016-12-21 10:37 <cedk> pokoli: where was the review for 4a7c42736b95
2016-12-21 10:43 <pokoli> cedk: https://tryton-rietveld.appspot.com/30881002/
2016-12-21 10:46 <cedk> pokoli: it is not in the message
2016-12-21 10:46 <cedk> pokoli: also commit without review after just 2 days is not fair
2016-12-21 10:47 <pokoli> cedk: ups, I missed it on the commit msg :(
2016-12-21 10:48 <pokoli> cedk: as you reviewed the other change I though you reviewed this also
2016-12-21 10:48 <pokoli> cedk: they must go together as they are related to the same issue
2016-12-21 10:51 <cedk> pokoli: it is not reviewed if there is no comment on it
2016-12-21 10:53 <pokoli> cedk: sometimes I have a fast review without putting any comment on it. And then come back latter (if i have time)
2016-12-21 10:53 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2016-12-21 11:33 -!- ethan(0116a082@gateway/web/freenode/ip.1.22.160.130) has joined #tryton
2016-12-21 11:35 <ethan> How I can edit sale & sale Line data in single JSON request?
2016-12-21 11:37 <pokoli> ethan: using a write request to a sale model, and writing on the lines field to write on Sale Lines
2016-12-21 11:37 <pokoli> ethan: indeed, this is what the client does
2016-12-21 11:47 <ethan> I mean to say, can I update both saleLine & sale in single write request?
2016-12-21 11:53 -!- flachtassekasse(~flachtass@p5DD18CCE.dip0.t-ipconnect.de) has joined #tryton
2016-12-21 12:05 <pokoli> ethan: yes
2016-12-21 12:05 <pokoli> ethan: that's what the tryton client does when you edit the lines of a sale and some of it's fields
2016-12-21 12:38 <ethan> pokoli: thanks a lot for your answer, any example for reference of this?
2016-12-21 12:39 <pokoli> ethan: indeed it's dificult to provide examples of the JSON request as we normally don't use it. Only clients use it
2016-12-21 12:40 <pokoli> ethan: but if you execute the server with --dev and --verbose flags you will see each request recieved with all the parameters
2016-12-21 12:40 <pokoli> ethan: and that's why I was poiting that the tryton client uses it
2016-12-21 12:41 <pokoli> ethan: it's all explained on the dos: http://doc.tryton.org/4.2/trytond/doc/ref/models/fields.html?highlight=one2many#trytond.model.fields.One2Many
2016-12-21 12:43 <silwol> Or you could inspect the calls of the web frontend with browser dev tools
2016-12-21 12:45 <pokoli> ethan: silwol you can aslo run the tryton client with the --verbose flag and it will log all the request also
2016-12-21 12:46 <ethan> ok,thank you very much for your help! I will try that
2016-12-21 12:46 <silwol> Ok, didnt know that.
2016-12-21 12:50 <ethan> I have tryton mac client
2016-12-21 12:51 <ethan> I am unable to find run --verbose command
2016-12-21 12:54 <cedk> ethan: yes you can, run: Tryton.app/Contents/MacOS/tryton
2016-12-21 12:56 <ethan> ok
2016-12-21 13:00 <ethan> I am using tryton 3.2 & getting too many notice & error ! :(
2016-12-21 13:18 <pokoli> ethan: I think this is normall, those are the number of request that the client does
2016-12-21 13:18 <pokoli> ethan: about tryton 3.2, you should start thinking on a upgrade
2016-12-21 13:23 <ethan> no, it shows me just 2 options 1) open console 2) terminate
2016-12-21 13:25 <pokoli> ethan: don't understand
2016-12-21 13:26 <ethan> when I try to open tryton terminal, then after showing some notice & error it shows me only these 2 options
2016-12-21 13:36 <pokoli> ethan: then I think you should open the console
2016-12-21 13:36 <pokoli> ethan: I usually run the client from the console :)
2016-12-21 13:39 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-12-21 13:49 <ethan> how to run by console?
2016-12-21 13:49 <ethan> sorry to ask you too many quetions! :(
2016-12-21 13:56 <pokoli> ethan: sorry but I'm not a mac User so don't blame me if I can not provide better advices
2016-12-21 13:56 <pokoli> ethan: you should have an application called console or terminal (or something similar)
2016-12-21 13:57 <pokoli> ethan: You should open it and there enter: Tryton.app/Contents/MacOS/tryton --verbose
2016-12-21 13:57 <pokoli> ethan: then the tryton client will be openend in a new window and you will see the requests on the console
2016-12-21 14:00 -!- flachtassekasse(~flachtass@p5DD18CCE.dip0.t-ipconnect.de) has joined #tryton
2016-12-21 14:01 <ethan> pokoli: 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.png
2016-12-21 14:13 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2016-12-21 14:26 -!- mamcode(~mamcode@186.94.177.184) has joined #tryton
2016-12-21 14:44 -!- thaneor(~ldlc6@179.26.80.77) has joined #tryton
2016-12-21 15:06 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-12-21 15:52 <mrichez> hi, 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 ?
2016-12-21 15:54 <nicoe> mrichez: wizard.form.your_many2one = a_proteus_record
2016-12-21 15:55 <nicoe> We do that in scenarios when paying something or when setting a journal
2016-12-21 15:55 <nicoe> In the purchase module eg
2016-12-21 15:57 <mrichez> nicoe: humm, i will check. wizard.form.your_many2one = a_proteus_record give me an AttributeError
2016-12-21 15:59 <mrichez> nicoe: Found ! i need to use wizard.form.your_many2one.append(my_record)
2016-12-21 16:00 <nicoe> mrichez: It's not a many2one but a one2many then
2016-12-21 16:04 <mrichez> nicoe: many2many
2016-12-21 16:07 <nicoe> mrichez: it's the same API as a 02M from proteus POV anyway :)
2016-12-21 16:08 <mrichez> nicoe: ok thanks! :-)
2016-12-21 16:17 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-12-21 16:41 -!- kstenger(~karla@r186-54-189-147.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-21 18:31 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-12-21 18:32 -!- JanGB(~jan@x59cc82a4.dyn.telefonica.de) has joined #tryton
2016-12-21 18:50 -!- JanGB(~jan@x59cc82a4.dyn.telefonica.de) has joined #tryton
2016-12-21 18:52 -!- udono(~udono@tmo-109-41.customers.d1-online.com) has joined #tryton
2016-12-21 19:50 -!- rpit(~rpit@aftr-37-24-150-173.unity-media.net) has joined #tryton
2016-12-21 21:19 -!- admin__(~admin@197.250.226.95) has joined #tryton
2016-12-21 21:20 <admin__> hello in here
2016-12-21 21:58 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2016-12-21 22:59 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2016-12-21 23:32 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton

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