IRC logs of #tryton for Tuesday, 2014-09-30

chat.freenode.net #tryton log beginning Tue Sep 30 00:00:02 CEST 2014
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton02:58
-!- gremly(~gremly@190.85.36.58) has joined #tryton03:02
-!- pilou(~pilou@181.204.19.93.rev.sfr.net) has joined #tryton03:20
-!- pilou(~pilou@pdpc/supporter/active/pilou) has joined #tryton03:20
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton03:38
-!- plantian(~ian@206-211-209-202.utilitytelephone.net) has joined #tryton04:04
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton04:29
-!- frispete_(~frispete@p54A921AA.dip0.t-ipconnect.de) has joined #tryton06:41
-!- yangoon1(~mathiasb@p549F18B9.dip0.t-ipconnect.de) has joined #tryton07:02
-!- mar(~marius@v100.nfq.lt) has joined #tryton07:30
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:33
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton07:39
-!- mar(~marius@v100.nfq.lt) has joined #tryton08:05
-!- VaticanCameos(~pritishc@122.177.221.182) has joined #tryton08:06
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton08:11
-!- cedk(~ced@109.89.113.14) has joined #tryton08:32
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:32
-!- nicoe(~nicoe@185.117-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton08:34
-!- mar(~marius@v100.nfq.lt) has joined #tryton08:43
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton09:05
-!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton09:07
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:20
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:31
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:32
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton09:33
-!- prksh(~prksh@122.177.221.182) has joined #tryton09:38
-!- nicoe(~nicoe@185.117-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton09:48
-!- munro(~ronaldm@197.211.216.214) has joined #tryton09:52
-!- swayf(~swayf@93.104.202.98) has joined #tryton10:10
-!- swayf(~swayf@93.104.202.98) has joined #tryton10:12
-!- fmo(~fmo@80.146.165.65) has joined #tryton10:16
-!- `Reflector`(~pritishc@101.60.137.83) has joined #tryton10:43
-!- prksh_(~prksh@101.60.137.83) has joined #tryton10:44
-!- corro(~corro@46.22.23.85) has joined #tryton11:02
-!- prksh(~prksh@122.177.153.34) has joined #tryton11:03
-!- `Reflector`(~pritishc@122.177.153.34) has joined #tryton11:13
-!- grasbauer(~jan@dslb-188-106-128-196.188.106.pools.vodafone-ip.de) has joined #tryton11:16
fmohello all, I started recently with using tryton.11:17
fmoI would like to adapt our company header template.11:17
fmoFor that I thought I could use tabs and linefeeds in11:17
fmothe company report footer to split up the text and place11:17
fmoit into a 3x3 table inside the template.11:17
fmoBut now I don't know how to assign an array nor how to access11:17
fmoit directly. My idea was something like:11:17
fmomyarray = line.split('\t')11:17
fmomyarray[0]11:17
fmoBut either that is totally wrong or I assigned the placeholders11:17
fmoin the wrong way.11:17
fmoIs there anywhere a documentation for adjusting report templates11:17
fmoin tryton other then this http://doc.tryton.org/3.2/trytond/doc/topics/reports/11:17
fmoor another document reference that could be helpful for me?11:17
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton11:20
cedkfmo: what is line?11:21
fmoline I get out of  this for each="line in company.footer.split('\n')"11:22
fmoat least that I hoped...11:22
cedkfmo: you can not do assignation in report11:22
cedkfmo: so for each column do: line.split('\t')[…]11:22
fmocan I also do something like: for each="line in company.footer.split('\n').split('\t')[0]" ?11:23
fmono maybe  for each="line in company.footer.split('\n').split('\t')" and then line[0] ?11:26
cedkfmo: don't understand, if you do a loop, you don't need to use index11:28
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton11:30
fmocedk: well I try to fill a 3x3 table. So I split up the lines '\n' and with the result I can fill the columns when I split it up with tabs. so I thought11:30
-!- pritishc__(~pritishc@122.177.246.194) has joined #tryton11:31
-!- prksh_(~prksh@122.177.246.194) has joined #tryton11:32
cedkfmo: list doesn't have split method11:34
cedkfmo: in that case you must have 2 loops11:34
fmook. I will try11:35
fmobut how can I define then the column value? my idea was to use the array index but that is not possible so it seems.11:37
fmoany other way to do that?11:37
cedkfmo: no need of index with a loop11:40
-!- grasbauer(~jan@dslb-188-106-128-196.188.106.pools.vodafone-ip.de) has joined #tryton11:41
fmono of course I don't need the index for the loop but I need to find a way to switch after each value to the next column in the table...11:42
cedkfmo: don't understand, what you describe is a loop11:45
cedkfmo: take a look at the relatorio example: columns.odt11:46
fmodifficult to explain it more precisely. OK I will do that. Thanks for your help do far!11:47
-!- duesenfranz(~jona@chello213047255061.tirol.surfer.at) has joined #tryton11:53
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton11:55
-!- newzen(~newzen@190.199.249.17) has joined #tryton11:57
newzenhello, is there presik?11:58
newzenim trying to install his module payroll and have some error11:58
pokolinewzen: if you paste the error other people can try to join, else we can't do anything12:02
cedknewzen: also which module are you talking about because there is no payroll module in base12:04
newzenhttps://bitbucket.org/presik and the module is https://bitbucket.org/presik/presik_staff_payroll12:06
newzenis not in the base12:06
newzenand error is http://pastebin.centos.org/12676/12:11
cedknewzen: looks like the module is missing a dependency to product module12:14
cedknewzen: try add product in tryton.cfg12:15
newzenok i will try. But have no sense staff have nothing to do with products right?12:17
cedknewzen: the module use UoM which is part of product module12:18
-!- mariomop(~quassel@host141.186-109-109.telecom.net.ar) has joined #tryton12:34
-!- grasbauer(~jan@dslb-188-106-128-196.188.106.pools.vodafone-ip.de) has left #tryton12:41
newzencedk: working now. Thanks12:51
cedknewzen: report an issue to the project12:53
-!- asoleh(~asoleh@125.161.219.82) has joined #tryton12:57
-!- swayf(~swayf@93.104.202.98) has joined #tryton13:01
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton13:09
prkshcedk: how to get all the models which contains reference like m2o on some model? Say all the models where party.party is m2o?13:31
pokoliprksh: you have all the info in ir.model.field model13:34
prkshpokoli: checking13:37
-!- uranus(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton13:39
-!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton13:39
prkshpokoli: you are always a saviour. Thanks :)13:40
-!- smarro(~sebastian@190.105.93.196) has joined #tryton13:41
newzencedk: have a problem. Installed a server and client with virtualenv but icos id not showing. How to debug/repair this??13:42
newzen/id/is/13:42
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton13:47
cedknewzen: https://bugs.tryton.org/issue410213:48
-!- kstenger(~karla@200.124.209.158) has joined #tryton13:53
-!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton14:18
newzencedk: after applied14:21
newzencedk: after applied suggested pach im steel not seeing icons14:22
cedknewzen: then maybe you don't have support of svg in GTK14:23
newzencedk: no svg support, was the problem thanks again14:28
-!- asoleh(~asoleh@125.161.219.82) has joined #tryton14:34
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton14:52
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton15:08
-!- Streward(~quassel@85.183.31.24) has joined #tryton15:17
-!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton15:27
-!- uranus(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton15:27
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton15:33
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton15:43
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton15:56
-!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton16:44
-!- rvnovaes(~roberto@177.19.245.134) has joined #tryton16:46
-!- Guest30541(~gregor@chello062178098236.5.12.vie.surfer.at) has joined #tryton16:48
Guest30541is it allowed in a transaction to create a new Pool for a different tryton database and work with this foreign pool? What I want is: in the create_move method of an invoice I want to create a copy of the invoice in another tryton db. What is the best way to do this?16:49
cedkGuest30541: no16:52
cedkGuest30541: you must create a protocol to communicate between both instance16:53
cedkGuest30541: I suggest you to follow EDI16:53
-!- gremly(~gremly@190.85.36.58) has joined #tryton16:55
cedkGuest30541: you can also use celery-tryton to manage messages: https://code.google.com/p/celery-tryton/17:08
-!- mariomop(~quassel@host67.190-136-195.telecom.net.ar) has joined #tryton17:28
Guest30541ok thank you. edi would be good, but seems to be to complex for my little needs. i think of calling a script for the foreign db in a seperate process and communicating with a pipe and json. probably slow. ihave to look into celery. thank you for the tip.17:31
grasbauercedk: by the way - I talked with somebody who works in a company which has good knowledge in edifact - should I ask them to do a talk at the unconference about their experiences?17:40
cedkGuest30541: indeed we are looking to get a generic message processing inside Tryton17:40
cedkGuest30541: so if you can help on this topic17:40
cedkgrasbauer: why not17:40
grasbauercedk: will ask - could be interesting because they are doing this in health care (clearing between doctors and health insurance)17:45
grasbauercedk: I have a request from a person that will pay the donation directly - do we use the foundation account for the unconference as well?17:49
cedkgrasbauer: yes17:51
cedkgrasbauer: it is a Foundation event17:51
grasbauercedk: ok17:51
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton18:02
Guest30541cedk: I think I can not help much with this generic topic since I am a beginner in tryton, but I can publish the source of my little solution when I have done it.18:07
-!- leio(~leio@gentoo/developer/leio) has joined #tryton18:08
-!- leio(~leio@gentoo/developer/leio) has joined #tryton18:12
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton18:43
-!- swayf(~swayf@93.104.202.98) has joined #tryton18:53
-!- uranus(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton19:15
-!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton19:15
-!- Fabyc(b5d3f63a@gateway/web/freenode/ip.181.211.246.58) has joined #tryton19:25
-!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton20:19
-!- rpit(~ralf@dslb-088-071-185-113.088.071.pools.vodafone-ip.de) has joined #tryton21:01
-!- prksh(~prksh@180.188.248.253) has joined #tryton21:12
-!- rhowe(~rhowe@87-127-165-237.static.enta.net) has joined #tryton21:21
-!- prksh(~prksh@180.188.248.225) has joined #tryton21:52
-!- sharoonthomas(~sharoonth@122.177.2.12) has joined #tryton22:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:00

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