IRC logs of #tryton for Tuesday, 2015-12-01 #tryton log beginning Tue Dec 1 00:00:02 CET 2015
-!- perilla(~perilla@ has joined #tryton02:13
-!- smarro(~sebastian@ has joined #tryton02:30
-!- csotelo__(~csotelo@ has joined #tryton03:49
-!- smarro(~sebastian@ has joined #tryton04:15
-!- csotelo_(~csotelo@ has joined #tryton05:25
-!- yangoon1( has joined #tryton06:02
-!- frispete_( has joined #tryton07:41
-!- rpit(~rpit@2a02:908:e670:3a80:56ee:75ff:fe0d:d3c7) has joined #tryton07:53
-!- Timitos( has joined #tryton08:08
-!- aroncero(~aroncero@ has joined #tryton08:43
-!- ronaldm(a29e33d3@gateway/web/freenode/ip. has joined #tryton09:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:20
-!- buxy( 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( has joined #tryton10:33
-!- mholtzberg( 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( 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
buxy 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 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( has joined #tryton12:19
aroncerocsotelo: if your module name is helloworld, the folder name must be the same (without trytond_)12:31
-!- mariomop( 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_one more question12:48
csotelo_what about this
aroncerocsotelo_: I never use it, it seems a "module maker" helper12:57
-!- tbruyere( 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@ has joined #tryton13:23
-!- bvillasanti(~bvillasan@ has joined #tryton14:10
-!- perilla( has joined #tryton14:38
-!- smarro(~sebastian@ has joined #tryton14:44
-!- kstenger(~karla@ has joined #tryton16:03
-!- udono( has joined #tryton16:07
-!- udono( has joined #tryton16:13
-!- rvnovaes(~rvnovaes@ has joined #tryton17:39
-!- VaticanCameos(~vaticanca@ has joined #tryton17:53
-!- VaticanCameos(~VaticanCa@ has joined #tryton17:54
-!- VaticanCameos(~VaticanCa@ has joined #tryton17:54
-!- perilla( has joined #tryton18:03
-!- perilla( has joined #tryton18:50
-!- vcardon( has left #tryton19:23
-!- smarro(~sebastian@ has joined #tryton19:25
-!- leio(~leio@gentoo/developer/leio) has joined #tryton19:30
-!- smarro(~sebastian@ has joined #tryton19:49
-!- lukio(~lukio@ has joined #tryton20:14
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton20:19
-!- csotelo(~csotelo@ has joined #tryton20:29
-!- smarro(~sebastian@ has joined #tryton21:08
-!- smarro(~sebastian@ has joined #tryton22:03
-!- lukio(~lukio@ has left #tryton22:10
-!- perilla( has joined #tryton22:23
-!- kstenger( has joined #tryton22:53
-!- leio(~leio@gentoo/developer/leio) has joined #tryton23:09
-!- smarro(~sebastian@ has joined #tryton23:22

Generated by 2.11.0 by Marius Gedminas - find it at!