IRC logs of #tryton for Monday, 2015-01-12

chat.freenode.net #tryton log beginning Mon Jan 12 00:00:01 CET 2015
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:29
-!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton03:02
-!- trytry(~william@203-114-166-118.dsl.sta.inspire.net.nz) has joined #tryton04:43
-!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton04:49
-!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton05:28
-!- yangoon1(~mathiasb@p549F085D.dip0.t-ipconnect.de) has joined #tryton06:01
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton06:05
-!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton06:37
apostatizeIs there a clean way to generate a report purely in code, without a template? Override the execute method completely?06:42
-!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton06:45
-!- marius__(~marius@v100.nfq.lt) has joined #tryton07:00
pokoliapostatize: override the execute method should work :)07:05
apostatizeYeah, I was thinking that would work, I'll look into that. Feels... anti-OOP, though. Hehe.07:06
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton07:21
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:39
-!- trytry(~william@203-114-166-118.dsl.sta.inspire.net.nz) has joined #tryton07:48
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:11
-!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton08:27
-!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton08:32
-!- ytz(~textual@opfw01.options-it.com) has joined #tryton08:34
marius__can tryton generate a pdf out of .odt /.ods?08:48
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton08:48
Timitosmarius__: yes. it uses unoconv: http://hg.tryton.org/trytond/file/b87a8f3582ee/trytond/report/report.py#l309 you can define the output format on the report08:57
-!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton09:00
-!- prksh(~prksh@103.245.118.154) has joined #tryton09:29
-!- jcros(~Thunderbi@ALyon-157-1-206-133.w109-213.abo.wanadoo.fr) has joined #tryton09:30
-!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton09:30
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:31
VaticanCameosIs there any Tryton module which creates draft supplier shipment on confirmation of purchase?09:32
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:41
-!- trytry(~william@203-114-166-118.dsl.sta.inspire.net.nz) has joined #tryton09:46
-!- nicoe(~nicoe@2a02:a03f:308c:7700:ee55:f9ff:fe7b:f7ac) has joined #tryton09:47
-!- prksh(~prksh@103.245.118.154) has joined #tryton09:48
-!- munro(c5d3d8d6@gateway/web/freenode/ip.197.211.216.214) has joined #tryton09:51
VaticanCameospokoli, cedk: I found that in the normal purchase workflow, purchase confirm generates corresponding moves but does not make supplier shipment. Is there any Tryton module that creates supplier shipment in draft state with those moves?10:08
pokoliVaticanCameos: not any module that i know10:16
pokoliVaticanCameos: but for me the current workflow makes sense10:16
pokolipokoli: nevermind it should not be dificult to create the shipment in a custom module10:18
prkshpokoli: is there any reason why supplier shipment is not created automatically?10:20
bechamelprksh: the main reason for not creating the shipment is that you may not know in advance what you supplier will send you10:35
bechamelthere are situation where you get your supply in two shipments10:35
bechamelor you may receive one shipment with good linked to several orders, etc10:36
bechameland it's easier to add a custom module that create the shipment (with any custom behaviour), than a module that remove it (or try to update it)10:37
-!- digitalsatori(~Thunderbi@180.158.128.143) has joined #tryton10:49
-!- prksh(~prksh@103.245.118.154) has joined #tryton10:54
marius__Timitos, thanks10:55
prkshbechamel: thanks :) :)10:55
marius__pokoli, is there something missing for http://codereview.tryton.org/10031002/10:56
marius__i tried to summarize irc in10:56
marius__http://codereview.tryton.org/10031002/#msg3610:56
-!- digitalsatori(~Thunderbi@180.158.128.143) has joined #tryton10:59
cedkmarius__: it is useless in review, it is in the bug tracker that information must be stored11:01
pokolimarius__: haven't got time to review latest review version (is in my TODO list)11:02
marius__cedk, ok, ill copy-paste it into issue11:02
pobstetai have a One2Many field in a view form. I want, with a fields.function have the active record in the One2Many fields. Have a example of this code ?11:02
pokolipobsteta: do you wan't to display the parent record?11:03
pobstetayes11:05
-!- tarunbhardwaj(~tarunbhar@103.245.118.154) has joined #tryton11:05
pokolipobsteta: why? if you have the parent on the form why do you want to redisplay it?11:12
pokolipobsteta: parent field is automatically hiden by the clinet11:12
pokolis/clinet/client/11:12
pobstetapokoli: i don't understand !11:24
pokolipobsteta: what you don't understand?11:27
pobstetapokoli: when i redisplay it, both attributes are not related to the display ?11:32
pokolipobsteta: What I understant you have a One2Many, and you want to display the parent field in the One2Many list, and by parent I mean for example the invoice field of invoice lines model11:35
pokolipobsteta: may I missunderstood you?11:35
-!- mariomop(~quassel@host84.186-109-109.telecom.net.ar) has joined #tryton11:39
-!- kstenger(~karla@200.124.209.158) has joined #tryton11:54
buxyACTION is trying for the first time the "close fiscal year" wizard and it takes ages, what does it do that requires so much time? I already did "balance non-deferral accounts" beforehand... I though it was a matter of ensuring that the periods, journals, etc were closed and that's it.11:59
pokolibuxy: https://bugs.tryton.org/issue444312:00
buxypokoli: why does it have to go over all accounts?12:02
buxyis it just to ensure that non-deferral accounts are set to zero?12:03
pokolibuxy: it have to check that non-deferral accounts are not 0, and it have to create all the deferral records for all deferral accounts12:03
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton12:05
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton12:05
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton12:06
buxypokoli: what does it mean to create those deferral records? if there's a balance at the end of the year in an account, it doesn't go away at the start of the next year, doesn't it? and I just have just run the wizard, I don't see any new move12:06
pokolibuxy: deferrall records are used to speed-up balance computation of older fiscalyears12:06
pokolibuxy: so instead of querying all the other fiscalyear's movelines you query the deferral record for this account12:07
pobstetapokoli: that's right12:07
buxypokoli: ok, so it's internal data to tryton, and not visible as moves, correct?12:08
pokolibuxy: it's visible on the account form12:08
pokolipobsteta: when displaying a One2Many in a form, you always have the parent field. The parent field is all the form12:09
pokolipobsteta: so it doesn't make sense to display another time the field12:09
pokolipobsteta: that's why the client removes it12:09
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton13:16
-!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton13:50
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton14:42
-!- ytz(~textual@opfw01.options-it.com) has joined #tryton15:03
-!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton15:05
-!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton15:10
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton15:26
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton15:38
-!- ljrios_(~ljrios@187.193.19.178) has joined #tryton15:45
-!- prksh(~prksh@101.0.57.107) has joined #tryton16:22
-!- ljrios_(~ljrios@187.193.19.178) has joined #tryton16:33
-!- prksh(~prksh@180.188.248.134) has joined #tryton16:33
-!- zodman(~zodman@depamap.com) has joined #tryton17:06
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton17:07
-!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton17:08
-!- prksh(~prksh@180.188.248.134) has joined #tryton17:17
-!- prksh(~prksh@180.188.248.134) has joined #tryton17:39
-!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton17:48
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton18:37
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton18:47
-!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton19:10
-!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton19:36
-!- prksh(~prksh@180.188.248.134) has joined #tryton19:41
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton19:51
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:18
-!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton20:30
-!- trytry(~william@203-114-166-118.dsl.sta.inspire.net.nz) has joined #tryton21:05
-!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton23:24

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