IRC logs of #tryton for Thursday, 2017-12-21

chat.freenode.net #tryton log beginning Thu Dec 21 00:00:02 CET 2017
2017-12-21 00:01 -!- catonano(~user@151.45.34.223) has joined #tryton
2017-12-21 00:59 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-12-21 03:02 -!- NeonKing-(~Neonking@176.179.38.86) has joined #tryton
2017-12-21 03:05 -!- kwmiebach_(sid16855@gateway/web/irccloud.com/x-kuqfluqjixjyoikv) has joined #tryton
2017-12-21 03:05 -!- robinak(~quassel@unaffilated/robink) has joined #tryton
2017-12-21 03:07 -!- as_g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton
2017-12-21 03:08 -!- sisalp(~sisalpuse@ip39.ip-46-105-32.eu) has joined #tryton
2017-12-21 03:08 -!- udono(~udono@168-059-210-188.ip-addr.inexio.net) has joined #tryton
2017-12-21 03:15 -!- NeonKing(~Neonking@176.179.38.86) has joined #tryton
2017-12-21 03:16 -!- NeonKing(~Neonking@unaffiliated/neonking) has joined #tryton
2017-12-21 03:45 -!- robinak(~quassel@unaffilated/robink) has joined #tryton
2017-12-21 05:00 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2017-12-21 06:13 -!- cdchapman(~perturbed@73.98.169.91) has joined #tryton
2017-12-21 07:31 -!- kwmiebach(sid16855@gateway/web/irccloud.com/x-kuqfluqjixjyoikv) has joined #tryton
2017-12-21 07:32 -!- kwmiebach(sid16855@gateway/web/irccloud.com/x-trvottxdzbhekjhf) has joined #tryton
2017-12-21 07:41 -!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton
2017-12-21 08:00 -!- JanGB(~jan@dslb-088-073-237-234.088.073.pools.vodafone-ip.de) has joined #tryton
2017-12-21 08:01 -!- JanGB(~jan@dslb-088-073-237-234.088.073.pools.vodafone-ip.de) has joined #tryton
2017-12-21 08:22 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2017-12-21 08:44 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-12-21 08:50 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2017-12-21 08:58 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-12-21 09:07 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has left #tryton
2017-12-21 09:13 -!- zmijunkie(~Adium@200116b80a3da400b033d349ac4e235f.dip.versatel-1u1.de) has joined #tryton
2017-12-21 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-12-21 09:41 -!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-12-21 11:08 -!- Tim___(0116a082@gateway/web/freenode/ip.1.22.160.130) has joined #tryton
2017-12-21 11:10 <Tim___> Hello, I am unable to create a new invoice! please check my request https://pastebin.com/TsQHKx4V
2017-12-21 11:12 <cedk> Tim___: I think the error message is explaining it well
2017-12-21 11:16 -!- csotelo(~csotelo@181.65.120.169) has joined #tryton
2017-12-21 11:18 <Tim___> cedk__: I am already assigned account to each invoice line, isn't it enough?
2017-12-21 11:18 -!- JanGB(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton
2017-12-21 11:21 <cedk> Tim___: read the error message: it talks about *Journal*
2017-12-21 11:24 -!- JanGB(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton
2017-12-21 11:25 <Tim___> cedk__: Ok,I got it! thanks a lot!
2017-12-21 11:33 <Tim___> How can I search_read default Journal while crating new invoice? what is method name?
2017-12-21 11:34 <Tim___> creating*
2017-12-21 11:34 <pokoli> Tim___: you can't on a single call
2017-12-21 11:34 <pokoli> Tim___: you should search for the id on a separate call, and set tha value as values
2017-12-21 11:35 <pokoli> and set the values on create
2017-12-21 11:38 <Tim___> pokoli__: thank for your answer, but what is default id of that, so I can search in separate call with domain
2017-12-21 11:47 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-12-21 11:50 <pokoli> Tim___: there is no default id. By default there is one journal for each kind, but's it's possible to create more than one
2017-12-21 11:52 <Tim___> Pokoli__: but when I try to create a new invoice with desktop client, it shows me as pre-filled
2017-12-21 11:56 <pokoli> Tim___: because the desktop client has the type set, and if there is only one journal for this type, it's filled via on_change
2017-12-21 11:57 <pokoli> Tim___: here is the code: http://hg.tryton.org/modules/account_invoice/file/c1855683d0dc/invoice.py#l454
2017-12-21 12:02 <Tim___> Pokoli__: ok,how to get this default type?
2017-12-21 12:04 <pokoli> Tim___: just perform a search on the Journal model with the required domain
2017-12-21 12:07 <Tim___> pokoli__: I mean how can I get default invoice type which is set ?
2017-12-21 12:08 -!- zmijunkie(~Adium@200116b80a3da4000482a54e06ba635a.dip.versatel-1u1.de) has joined #tryton
2017-12-21 12:17 <pokoli> Tim___: look at the code: http://hg.tryton.org/modules/account_invoice/file/582c2f14383a/invoice.py#l403
2017-12-21 13:44 -!- JanGB(~jan@tmo-114-244.customers.d1-online.com) has joined #tryton
2017-12-21 13:55 -!- JanGB1(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton
2017-12-21 14:07 -!- smarro(~sebastian@2800:af0:1028:686::4) has joined #tryton
2017-12-21 14:16 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2017-12-21 14:28 -!- JanGB(~jan@tmo-114-244.customers.d1-online.com) has joined #tryton
2017-12-21 14:28 -!- thaneor(~ldlc6@179.26.12.77) has joined #tryton
2017-12-21 15:32 -!- mariomop(~quassel@host211.190-138-229.telecom.net.ar) has joined #tryton
2017-12-21 15:38 -!- catonano(~user@151.45.41.113) has joined #tryton
2017-12-21 16:24 -!- plaes(~plaes@unaffiliated/amd) has joined #tryton
2017-12-21 16:36 -!- JanGB(~jan@x2f7fc6e.dyn.telefonica.de) has joined #tryton
2017-12-21 16:43 -!- JanGB1(~jan@x2f7fc6e.dyn.telefonica.de) has joined #tryton
2017-12-21 16:45 -!- perilla(~perilla@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton
2017-12-21 16:47 <perilla> Hi, on some account reports, I need to filter accounts by level on tree (root account "level=0", childs of root "level=1", and so on)
2017-12-21 16:48 <perilla> I wrote a python sql expression with subquery, for counting number of parents using left and rigth values of mptt
2017-12-21 16:50 <perilla> but I'm wondering if can I add a field 'level' on many2one and set level at same moment that mptt are updated?
2017-12-21 17:26 <cedk> perilla: sound best way to have bugs
2017-12-21 17:54 -!- perilla(~perilla@181.188.200.72) has joined #tryton
2017-12-21 17:59 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-12-21 18:28 -!- JanGB(~jan@94.222.147.229) has joined #tryton
2017-12-21 18:30 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-12-21 18:42 -!- smarro(~sebastian@190.55.164.74) has joined #tryton
2017-12-21 18:45 -!- perilla_(~perilla@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton
2017-12-21 19:24 -!- cdchapman(~perturbed@73.98.169.102) has joined #tryton
2017-12-21 19:42 -!- JanGB(~jan@dslb-094-222-147-229.094.222.pools.vodafone-ip.de) has joined #tryton
2017-12-21 19:55 -!- thaneor1(~ldlc6@179.26.21.50) has joined #tryton
2017-12-21 20:11 -!- smarro(~sebastian@host241.181-13-75.telecom.net.ar) has joined #tryton
2017-12-21 20:16 -!- JanGB(~jan@dslb-094-222-147-229.094.222.pools.vodafone-ip.de) has joined #tryton
2017-12-21 20:34 -!- perilla(~perilla@181.188.200.72) has joined #tryton
2017-12-21 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-12-21 22:20 -!- cdchapman(~perturbed@73.98.169.90) has joined #tryton
2017-12-21 22:24 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-12-21 23:51 -!- robinak(~quassel@unaffilated/robink) has joined #tryton

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