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

chat.freenode.net #tryton log beginning Tue Dec 1 00:00:02 CET 2015
2015-12-01 02:13 -!- perilla(~perilla@186.43.169.245) has joined #tryton
2015-12-01 02:30 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 03:49 -!- csotelo__(~csotelo@181.67.57.197) has joined #tryton
2015-12-01 04:15 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 05:25 -!- csotelo_(~csotelo@181.67.57.197) has joined #tryton
2015-12-01 06:02 -!- yangoon1(~mathiasb@p549F0FE1.dip0.t-ipconnect.de) has joined #tryton
2015-12-01 07:41 -!- frispete_(~frispete@p54A9056A.dip0.t-ipconnect.de) has joined #tryton
2015-12-01 07:53 -!- rpit(~rpit@2a02:908:e670:3a80:56ee:75ff:fe0d:d3c7) has joined #tryton
2015-12-01 08:08 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-12-01 08:43 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2015-12-01 09:08 -!- ronaldm(a29e33d3@gateway/web/freenode/ip.162.158.51.211) has joined #tryton
2015-12-01 09:20 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-01 10:01 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2015-12-01 10:18 <buxy> Hi, did anything change since Tryton 3.2 or 3.4 about the way comments are handled on invoices ?
2015-12-01 10:18 <buxy> I have a custom template but it nevers renders the comment field (the one you can set in the "other information" tab)
2015-12-01 10:25 <buxy> I checked that I have the same construct than in the official invoice model: <for each="comment in (invoice.comment or '').split('\n')"> <comment> </for>
2015-12-01 10:33 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2015-12-01 10:35 -!- mholtzberg(~mholtzber@p50931afa.dip0.t-ipconnect.de) has joined #tryton
2015-12-01 10:42 <udono> buxy: Hi, usually it should work.
2015-12-01 10:43 <buxy> udono: clearly it doesn't here, I would like to help debug it but I don't know what to try.
2015-12-01 10:43 <udono> buxy: Does it work, when you replace your custom invoice with the projects invoice?
2015-12-01 10:50 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2015-12-01 10:52 <buxy> udono: I don't have any easy way to try that unfortunately... my custom module is diverting the official report. I just tried with a copy of my database and tried to uninstall my module, but it does not properly restore the former.
2015-12-01 10:53 <buxy> (I get AssertionError: account.invoice not found when I try to generate an invoice)
2015-12-01 10:53 <buxy> I can try by putting the original report in place of my own one though...
2015-12-01 10:55 <buxy> And there it works... duh.
2015-12-01 10:56 <buxy> http://ouaza.com/~rhertzog/invoice.odt is my template if you want to double check it
2015-12-01 10:59 <buxy> Adding a new line between </for> and the next <choose> fixes the problem but adds lots of undesired white spaces.
2015-12-01 10:59 <pokoli> buxy: on which versiion are you trying?
2015-12-01 11:00 <buxy> pokoli: tryton 3.8 but relatorio 0.6.2-1~7wheezy+1
2015-12-01 11:02 <pokoli> buxy: can not see nothing wrong
2015-12-01 11:16 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-12-01 11:25 <udono> buxy: The surrounding tag in the odf xml of the control elements like for each, /for, is deleted after parsing. So when you put everything in one line, the complete line will be deleted.
2015-12-01 11:34 <buxy> thanks, I got it to work, somehow there were some style set that add all this whitespace, I copy/pasted a similar structure from the footer and this time it worked without adding too much whitespace
2015-12-01 11:43 <udono> buxy: welcome
2015-12-01 12:04 <csotelo_> Good morning coders
2015-12-01 12:09 <csotelo_> After doing some modules customizations I have try to create the hello world ( I guess it must be my first step ) and I am having an issue. I have been working on the https://code.google.com/p/tryton/wiki/HelloWorld that is for 2.8 version, since I am working on 3.4 version I am do some changes. The error is "helloworld is not in list": Well my module folder name is 'trytond_helloworld, my pool is Pool.register(HelloWorld, module='helloworld',
2015-12-01 12:09 <csotelo_> type_='model')', my class model is: class HelloWorld(ModelSQL, ModelView): __name__ = "helloworld.helloworld", and my views model ref is <field name="model">helloworld.helloworld</field> , any suggest? please
2015-12-01 12:19 -!- mariomop(~quassel@host112.181-10-34.telecom.net.ar) has joined #tryton
2015-12-01 12:31 <aroncero> csotelo: if your module name is helloworld, the folder name must be the same (without trytond_)
2015-12-01 12:34 -!- mariomop(~quassel@host112.181-10-34.telecom.net.ar) has joined #tryton
2015-12-01 12:43 <csotelo_> aroncero, yes, that was my error, thanks a lot
2015-12-01 12:43 <csotelo_> I have it working, I was tryton tp understand line a line :)
2015-12-01 12:43 <csotelo_> trying*
2015-12-01 12:48 <csotelo_> one more question
2015-12-01 12:48 <csotelo_> what about this https://github.com/fulfilio/cookiecutter-tryton?
2015-12-01 12:57 <aroncero> csotelo_: I never use it, it seems a "module maker" helper
2015-12-01 13:10 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2015-12-01 13:16 <csotelo_> aroncero, yes.. I have seen it... looks like a good help to start coding modules
2015-12-01 13:18 <pokoli> csotelo_: I have used it, it's a template for your module, so you only enter the new module name and it generates all the boilerplate
2015-12-01 13:18 <csotelo_> thanks a lot pokoli
2015-12-01 13:23 -!- perilla(~perilla@186.43.169.245) has joined #tryton
2015-12-01 14:10 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton
2015-12-01 14:38 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2015-12-01 14:44 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 16:03 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2015-12-01 16:07 -!- udono(~udono@ip-37-201-247-16.hsi13.unitymediagroup.de) has joined #tryton
2015-12-01 16:13 -!- udono(~udono@ip-37-201-247-16.hsi13.unitymediagroup.de) has joined #tryton
2015-12-01 17:39 -!- rvnovaes(~rvnovaes@177.19.245.134) has joined #tryton
2015-12-01 17:53 -!- VaticanCameos(~vaticanca@182.68.240.55) has joined #tryton
2015-12-01 17:54 -!- VaticanCameos(~VaticanCa@182.68.240.55) has joined #tryton
2015-12-01 17:54 -!- VaticanCameos(~VaticanCa@182.68.240.55) has joined #tryton
2015-12-01 18:03 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2015-12-01 18:50 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2015-12-01 19:23 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-12-01 19:25 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 19:30 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2015-12-01 19:49 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 20:14 -!- lukio(~lukio@181.47.148.245) has joined #tryton
2015-12-01 20:19 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2015-12-01 20:29 -!- csotelo(~csotelo@190.117.251.218) has joined #tryton
2015-12-01 21:08 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 22:03 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-01 22:10 -!- lukio(~lukio@181.47.148.245) has left #tryton
2015-12-01 22:23 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2015-12-01 22:53 -!- kstenger(~karla@r186-50-57-28.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-12-01 23:09 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2015-12-01 23:22 -!- smarro(~sebastian@181.16.4.44) has joined #tryton

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