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

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

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