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

chat.freenode.net #tryton log beginning Tue Dec 1 00:00:02 CET 2015
-!- perilla(~perilla@186.43.169.245) has joined #tryton02:13
-!- smarro(~sebastian@181.16.4.44) has joined #tryton02:30
-!- csotelo__(~csotelo@181.67.57.197) has joined #tryton03:49
-!- smarro(~sebastian@181.16.4.44) has joined #tryton04:15
-!- csotelo_(~csotelo@181.67.57.197) has joined #tryton05:25
-!- yangoon1(~mathiasb@p549F0FE1.dip0.t-ipconnect.de) has joined #tryton06:02
-!- frispete_(~frispete@p54A9056A.dip0.t-ipconnect.de) has joined #tryton07:41
-!- rpit(~rpit@2a02:908:e670:3a80:56ee:75ff:fe0d:d3c7) has joined #tryton07:53
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:08
-!- aroncero(~aroncero@86.63.19.153) has joined #tryton08:43
-!- ronaldm(a29e33d3@gateway/web/freenode/ip.162.158.51.211) has joined #tryton09:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:20
-!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton10:01
buxyHi, did anything change since Tryton 3.2 or 3.4 about the way comments are handled on invoices ?10:18
buxyI have a custom template but it nevers renders the comment field (the one you can set in the "other information" tab)10:18
buxyI checked that I have the same construct than in the official invoice model: <for each="comment in (invoice.comment or '').split('\n')"> <comment> </for>10:25
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton10:33
-!- mholtzberg(~mholtzber@p50931afa.dip0.t-ipconnect.de) has joined #tryton10:35
udonobuxy: Hi, usually it should work.10:42
buxyudono: clearly it doesn't here, I would like to help debug it but I don't know what to try.10:43
udonobuxy: Does it work, when you replace your custom invoice with the projects invoice?10:43
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton10:50
buxyudono: 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.10:52
buxy(I get AssertionError: account.invoice not found when I try to generate an invoice)10:53
buxyI can try by putting the original report in place of my own one though...10:53
buxyAnd there it works... duh.10:55
buxyhttp://ouaza.com/~rhertzog/invoice.odt is my template if you want to double check it10:56
buxyAdding a new line between </for> and the next <choose> fixes the problem but adds lots of undesired white spaces.10:59
pokolibuxy: on which versiion are you trying?10:59
buxypokoli: tryton 3.8 but relatorio 0.6.2-1~7wheezy+111:00
pokolibuxy: can not see nothing wrong11:02
-!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton11:16
udonobuxy: 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.11:25
buxythanks, 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 whitespace11:34
udonobuxy: welcome11:43
csotelo_Good morning coders12:04
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',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? please12:09
-!- mariomop(~quassel@host112.181-10-34.telecom.net.ar) has joined #tryton12:19
aroncerocsotelo: if your module name is helloworld, the folder name must be the same (without trytond_)12:31
-!- mariomop(~quassel@host112.181-10-34.telecom.net.ar) has joined #tryton12:34
csotelo_aroncero, yes, that was my error, thanks a lot12:43
csotelo_I have it working, I was tryton tp understand line a line :)12:43
csotelo_trying*12:43
csotelo_one more question12:48
csotelo_what about this https://github.com/fulfilio/cookiecutter-tryton?12:48
aroncerocsotelo_: I never use it, it seems a "module maker" helper12:57
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton13:10
csotelo_aroncero, yes.. I have seen it... looks like a good help to start coding modules13:16
pokolicsotelo_: I have used it, it's a template for your module, so you only enter the new module name and it generates all the boilerplate13:18
csotelo_thanks a lot pokoli13:18
-!- perilla(~perilla@186.43.169.245) has joined #tryton13:23
-!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton14:10
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton14:38
-!- smarro(~sebastian@181.16.4.44) has joined #tryton14:44
-!- kstenger(~karla@200.124.209.158) has joined #tryton16:03
-!- udono(~udono@ip-37-201-247-16.hsi13.unitymediagroup.de) has joined #tryton16:07
-!- udono(~udono@ip-37-201-247-16.hsi13.unitymediagroup.de) has joined #tryton16:13
-!- rvnovaes(~rvnovaes@177.19.245.134) has joined #tryton17:39
-!- VaticanCameos(~vaticanca@182.68.240.55) has joined #tryton17:53
-!- VaticanCameos(~VaticanCa@182.68.240.55) has joined #tryton17:54
-!- VaticanCameos(~VaticanCa@182.68.240.55) has joined #tryton17:54
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton18:03
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton18:50
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton19:23
-!- smarro(~sebastian@181.16.4.44) has joined #tryton19:25
-!- leio(~leio@gentoo/developer/leio) has joined #tryton19:30
-!- smarro(~sebastian@181.16.4.44) has joined #tryton19:49
-!- lukio(~lukio@181.47.148.245) has joined #tryton20:14
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton20:19
-!- csotelo(~csotelo@190.117.251.218) has joined #tryton20:29
-!- smarro(~sebastian@181.16.4.44) has joined #tryton21:08
-!- smarro(~sebastian@181.16.4.44) has joined #tryton22:03
-!- lukio(~lukio@181.47.148.245) has left #tryton22:10
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton22:23
-!- kstenger(~karla@r186-50-57-28.dialup.adsl.anteldata.net.uy) has joined #tryton22:53
-!- leio(~leio@gentoo/developer/leio) has joined #tryton23:09
-!- smarro(~sebastian@181.16.4.44) has joined #tryton23:22

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