IRC logs of #tryton for Monday, 2016-11-21

chat.freenode.net #tryton log beginning Mon Nov 21 00:00:01 CET 2016
-!- santi_(~santi@186.138.157.158) has joined #tryton01:28
santi_hello01:28
-!- smarro(~sebastian@181.16.7.104) has joined #tryton02:32
-!- morfeokmg(~smuxi@189.146.48.254) has joined #tryton02:35
-!- morfeokmg(~smuxi@189.146.48.254) has joined #tryton05:45
-!- morfeokmg_(~Mutter@189.146.48.254) has joined #tryton06:05
-!- thaneor(~ldlc6@r179-24-158-173.dialup.adsl.anteldata.net.uy) has joined #tryton06:17
-!- robink(~quassel@unaffilated/robink) has joined #tryton06:21
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:39
-!- rpit(~rpit@2a02:908:e678:4f00:56ee:75ff:fe0d:d3c7) has joined #tryton08:32
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:39
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:58
-!- mamcode(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton09:14
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:14
-!- giovanni_(~giovanni@90.63.246.25) has joined #tryton09:43
-!- Jim__(0116a082@gateway/web/freenode/ip.1.22.160.130) has joined #tryton10:08
Jim__how to create sales Line & sale in JSON RPC?10:09
pokoliJim__: you can trigger a create on the sale model and use the create attribute of the lines One2Many field to create the sale and the lines in a single call10:16
pokoliJim__: it's explained here http://doc.tryton.org/4.0/trytond/doc/ref/models/fields.html?highlight=one2many#trytond.model.fields.One2Many10:16
-!- Timitos(~kpreisler@2001:a61:217d:8b01:ae7b:a1ff:feaf:55f0) has joined #tryton10:17
-!- silwol(~silwol@80.66.37.182) has joined #tryton10:32
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:48
-!- udono(~udono@tmo-108-142.customers.d1-online.com) has joined #tryton11:08
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton11:12
giovanni_Hi. I remember a discussion about changing "from .party import *" to "import party ... register(party.Party)"11:13
giovanni_I was wondering if it was still considered or not11:13
pokoligiovanni_: yes, this is the new pattern for __init__ files, but we are doing a slow transition11:20
pokoligiovanni_: https://groups.google.com/d/msg/tryton-dev/t3f0wzQu4Mw/402fdspyBwAJ11:21
giovanni_pokoli: Ok, thank you !11:23
Jim__pokoli: I am getting error while creating sale. can you please verify it here: http://pastebin.com/1LKr4Rtb11:36
pokoliJim__: lines accepts a list of tuples, each one is the action and the arguments. So your request is invalid11:37
pokoliJim__: if you want to create new lines you should use "lines: [('create', [line1_vals, line2_vals, ..., linen_vals])]"11:38
-!- silwol[m](silwolmatr@gateway/shell/matrix.org/x-ebywobuuwvczzhls) has joined #tryton11:39
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton11:39
-!- mariomop(~quassel@host35.186-125-19.telecom.net.ar) has joined #tryton11:47
Jim__pokoli: It is working! great!11:58
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton12:04
-!- udono(~udono@tmo-106-66.customers.d1-online.com) has joined #tryton12:35
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton13:17
-!- giovanni_(~giovanni@90.63.246.25) has joined #tryton13:44
-!- smarro(~sebastian@201-213-196-43.net.prima.net.ar) has joined #tryton13:46
-!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton15:06
-!- kstenger(~karla@r186-48-240-236.dialup.adsl.anteldata.net.uy) has joined #tryton15:46
-!- mamcode(~mamcode@186-94-190-27.genericrev.cantv.net) has joined #tryton16:04
-!- kstenger(~karla@r190-133-235-31.dialup.adsl.anteldata.net.uy) has joined #tryton16:09
-!- thaneor1(~ldlc6@r179-25-87-145.dialup.adsl.anteldata.net.uy) has joined #tryton18:18
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:16
-!- smarro(~sebastian@181.16.7.104) has joined #tryton19:29
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton21:23
-!- sisalp(~sisalpuse@ziozio.sisalp.net) has joined #tryton21:30
-!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has left #tryton22:23
-!- nando_(~nando@179.7.73.153) has joined #tryton22:29

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