IRC logs of #tryton for Wednesday, 2016-12-21 #tryton log beginning Wed Dec 21 00:00:01 CET 2016
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:04
-!- fwiesing( has left #tryton00:20
-!- JosDzG(~Thunderbi@ has joined #tryton00:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:40
-!- thaneor( has joined #tryton02:40
-!- kstenger1( has joined #tryton02:46
-!- niki_( has joined #tryton04:46
-!- flachtassekasse( has joined #tryton07:30
-!- rpit( has joined #tryton07:57
-!- Timitos( has joined #tryton08:25
-!- mrichez( has joined #tryton08:53
-!- udono( has joined #tryton09:01
-!- vapo( has joined #tryton09:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:24
-!- dj_xatra(~dj_xatra@ has joined #tryton09:40
notizblockcedk: get_full_address() is only available on address09:48
-!- rpit( has joined #tryton10:02
cedknotizblock: that's not a problem10:05
-!- nicoe( has joined #tryton10:25
cedkpokoli: where was the review for 4a7c42736b9510:37
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@ has joined #tryton10:53
-!- ethan(0116a082@gateway/web/freenode/ip. 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( 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:
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:
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@ 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: --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( has joined #tryton14:00
ethanpokoli: sorry but I am not blaming to anyone, see what I got when try to run from console
-!- JanGB( has joined #tryton14:13
-!- mamcode(~mamcode@ has joined #tryton14:26
-!- thaneor(~ldlc6@ 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@ has joined #tryton16:17
-!- kstenger( has joined #tryton16:41
-!- Telesight( has joined #tryton18:31
-!- JanGB( has joined #tryton18:32
-!- JanGB( has joined #tryton18:50
-!- udono( has joined #tryton18:52
-!- rpit( has joined #tryton19:50
-!- admin__(~admin@ has joined #tryton21:19
admin__hello in here21:20
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:58
-!- JosDzG(~Thunderbi@ has joined #tryton22:59
-!- JanGB( has joined #tryton23:32

Generated by 2.11.0 by Marius Gedminas - find it at!