IRC logs of #tryton for Monday, 2009-08-31 #tryton log beginning Mon Aug 31 00:00:02 CEST 2009
-!- FWiesing( has left #tryton00:28
-!- gremly(n=gremly@ has joined #tryton00:47
-!- vengfulsquirrel( has joined #tryton01:07
-!- ikks(n=ikks@ has joined #tryton01:51
-!- vengfulsquirrel( has joined #tryton03:21
-!- gremly(n=gremly@ has joined #tryton03:35
-!- yangoon( has joined #tryton05:19
-!- udono( has joined #tryton07:04
-!- gour(n=user@ has joined #tryton07:30
-!- sharkcz( has joined #tryton07:46
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:24
gourmorning cedk08:30
cedkgour: hi08:31
gourACTION is preparing trytond pkgbuild for archlinux :-)08:31
gourcedk: is pkgdesc ok ?08:33
cedkgour: python-genshi is a dep of relatorio not directly trytond08:34
gourcedk: ok, i was following
gourlet me check arch' pkgs08:36
cedkgour: the best is to look at setup.py08:36
gourgood. nice dep less :-)08:38
gourit's pleasure to do packaging work with nicely packaged apps like tryton...08:46
-!- mootoo( has joined #tryton09:01
-!- roland_( has joined #tryton09:04
-!- roland_( has left #tryton09:04
-!- enlightx( has joined #tryton09:17
-!- bechamel( has joined #tryton09:18
-!- Timitos(n=timitos@ has joined #tryton09:23
-!- Timito1(n=timitos@ has joined #tryton09:29
CIA-2C?dric Krier <> default * 1833:753044dff910 trytond/trytond/protocols/
CIA-2Fix webdav get_dburi when uri is empty09:55
CIA-2(transplanted from cace3d956786610574a05127fdcbaeca679ecd87)09:55
CIA-2C?dric Krier <> default * 1393:72a512c0d5aa trytond/trytond/
CIA-2Fix webdav get_dburi when uri is empty09:55
CIA-2(transplanted from cace3d956786610574a05127fdcbaeca679ecd87)09:55
gourhmm, have some problem connecting to my localhost server..i get FATAL:  role "root" does not exist and wonder what is recommended setup to be done on postgresql side?09:59
cedkgour: the best is to run trytond with a specific user10:00
cedkgour: and configure it to have access to postgresql10:00 i see that arch's rc script runs as would be better to create special tryton user for that10:02
CIA-2C?dric Krier <> default * 1394:ca7ad69061d6 trytond/CHANGELOG: Prepare changelog for release 1.0.610:05
CIA-2C?dric Krier <> default * 1395:348c192a6795 trytond/.hgtags: Added tag 1.0.6 for changeset ca7ad69061d610:05
CIA-2C?dric Krier <> default * 1396:1582a8efd6d4 trytond/ (doc/ trytond/ Increase version number10:05
CIA-2C?dric Krier <> default * 281:c09acb5def49 gentoo-overlay/app-office/trytond/ (ChangeLog Manifest trytond-1.0.6.ebuild): Version bump10:07
gourcedk: is it possible to have (gtk)tree view in tryton like the tree (on the left side) of this shot - ?10:08
cedkgour: it is possible but there is no module for now that has one10:10
gourcedk: i'm glad to hear one can have tree-views -- it's very important for our 'medical' module10:12
CIA-2C?dric Krier <> default * 345:2ea618892d71 account/CHANGELOG: Prepare changelog for release 1.0.510:12
CIA-2C?dric Krier <> default * 346:20e8d8773532 account/.hgtags: Added tag 1.0.5 for changeset 2ea618892d7110:12
CIA-2C?dric Krier <> default * 347:9a2a56cbaefb account/ Increase version number10:12
CIA-2C?dric Krier <> default * 282:e0f0dc23197e gentoo-overlay/app-tryton/account/ (ChangeLog Manifest account-1.0.5.ebuild): Version bump10:13
gourdo you recommend having tryton/tryton user/group?10:16
CIA-2C?dric Krier <> default * 224:dee84f6b13ed account_invoice/CHANGELOG: Prepare changelog for release 1.0.610:16
CIA-2C?dric Krier <> default * 225:9085fc8edf12 account_invoice/.hgtags: Added tag 1.0.6 for changeset dee84f6b13ed10:16
CIA-2C?dric Krier <> default * 226:8f8515b72d5f account_invoice/ Increase version number10:16
CIA-2C?dric Krier <> default * 283:dd48ce2a145d gentoo-overlay/app-tryton/account_invoice/ (ChangeLog Manifest account_invoice-1.0.6.ebuild): Version bump10:17
CIA-2C?dric Krier <> default * 217:0ce0fda170c2 party/CHANGELOG: Prepare changelog for release 1.0.410:21
CIA-2C?dric Krier <> default * 218:9630b494bb21 party/.hgtags: Added tag 1.0.4 for changeset 0ce0fda170c210:21
CIA-2C?dric Krier <> default * 219:33b257ed4bd8 party/ Increase version number10:21
CIA-2C?dric Krier <> default * 284:2e2ae3e0e895 gentoo-overlay/app-tryton/party/ (ChangeLog Manifest party-1.0.4.ebuild): Version bump10:22
CIA-2C?dric Krier <> default * 1127:03d726640cfb tryton/CHANGELOG: Prepare changelog for release 1.0.610:28
CIA-2C?dric Krier <> default * 1128:993e4c0e48dd tryton/.hgtags: Added tag 1.0.6 for changeset 03d726640cfb10:28
CIA-2C?dric Krier <> default * 1129:9ce9e5a2b726 tryton/ (doc/ tryton/ Increase version number10:28
cedkgour: yes, but instead trytond/trytond10:29
CIA-2C?dric Krier <> default * 285:25b1814c09cd gentoo-overlay/app-office/tryton/ (ChangeLog Manifest tryton-1.0.6.ebuild): Version bump10:33
-!- paepke( has joined #tryton10:34
CIA-2C?dric Krier <> default * 1834:3c29b95db53c trytond/CHANGELOG: Prepare changelog for release 1.2.210:52
CIA-2C?dric Krier <> default * 1835:5f8d3e1cfb16 trytond/.hgtags: Added tag 1.2.2 for changeset 3c29b95db53c10:52
CIA-2C?dric Krier <> default * 1836:97962629f5a4 trytond/trytond/ Increase version number10:52
CIA-2C?dric Krier <> default * 286:f713815c6b6d gentoo-overlay/app-office/trytond/ (ChangeLog Manifest trytond-1.2.2.ebuild): Version bump10:53
CIA-2C?dric Krier <> default * 479:c04efed7fbda account/CHANGELOG: Prepare changelog for release 1.2.210:56
CIA-2C?dric Krier <> default * 480:f1d5ea19fbb4 account/.hgtags: Added tag 1.2.2 for changeset c04efed7fbda10:56
CIA-2C?dric Krier <> default * 481:f2baf9e5c443 account/ Increase version number10:56
CIA-2C?dric Krier <> default * 287:711c1f7e8103 gentoo-overlay/app-tryton/account/ (ChangeLog Manifest account-1.2.2.ebuild): Version bump10:58
CIA-2C?dric Krier <> default * 34:4d73cf68cf86 account_be/CHANGELOG: Prepare changelog for release 1.2.111:03
CIA-2C?dric Krier <> default * 35:8ace8f792080 account_be/.hgtags: Added tag 1.2.1 for changeset 4d73cf68cf8611:03
CIA-2C?dric Krier <> default * 36:a1cac6e558a3 account_be/ Increase version number11:03
CIA-2C?dric Krier <> default * 288:818180fb5bf0 gentoo-overlay/app-tryton/account_be/ (ChangeLog Manifest account_be-1.2.1.ebuild): Version bump11:03
CIA-2C?dric Krier <> default * 354:5a38824a067c account_invoice/CHANGELOG: Prepare changelog for release 1.2.211:08
CIA-2C?dric Krier <> default * 355:3f2d867d91b2 account_invoice/.hgtags: Added tag 1.2.2 for changeset 5a38824a067c11:08
CIA-2C?dric Krier <> default * 356:398e4c3e4e34 account_invoice/ Increase version number11:08
CIA-2C?dric Krier <> default * 289:16bbf7919972 gentoo-overlay/app-tryton/account_invoice/ (ChangeLog Manifest account_invoice-1.2.2.ebuild): Version bump11:08
-!- paepke_( has joined #tryton11:09
CIA-2C?dric Krier <> default * 283:f764812db27d party/CHANGELOG: Prepare release 1.2.111:14
CIA-2C?dric Krier <> default * 284:04e984a351f1 party/.hgtags: Added tag 1.2.1 for changeset f764812db27d11:14
CIA-2C?dric Krier <> default * 285:208c2f5f283a party/ Increase version number11:14
CIA-2C?dric Krier <> default * 290:cec9769324dd gentoo-overlay/app-tryton/party/ (ChangeLog Manifest party-1.2.1.ebuild): Version bump11:15
CIA-2C?dric Krier <> default * 28:e702f07b82e9 account_de_skr03/INSTALL: Remove version from INSTALL, it is in setup.py11:18
CIA-2C?dric Krier <> default * 29:fca386ace647 account_de_skr03/CHANGELOG: merge11:18
CIA-2C?dric Krier <> default * 1311:bc29c4430182 tryton/CHANGELOG: Prepare changelog for release 1.2.211:21
CIA-2C?dric Krier <> default * 1312:060803fe422e tryton/.hgtags: Added tag 1.2.2 for changeset bc29c443018211:21
CIA-2C?dric Krier <> default * 1313:c3c47fec9a83 tryton/tryton/ Increase version number11:22
CIA-2C?dric Krier <> default * 291:0da8cc325d0f gentoo-overlay/app-office/tryton/ (ChangeLog Manifest tryton-1.2.2.ebuild): Version bump11:23
-!- tekknokrat( has joined #tryton11:32
-!- gour(n=user@ has joined #tryton11:48
-!- carlos( has joined #tryton11:53
carlosIs there a way to define a Wizard without attaching it to the Tryton UI?11:58
carlosI want to execute the wizard from an external application that I connect with Tryton using netrpc11:58
carlosbut for some reason, the remote call returns an exception saying that the wizard doesn't exist11:58
carlosI'm registering it with this xml:
bechamelcarlos: it should be enough12:01
carlosand this is the initial part of the wizard:
cedkcarlos: did you instanciate the wizard?12:01
carloscedk: at the end of the class definition12:01
carlosas usual12:01
cedkcarlos: how do you call it?12:02
bechamelcarlos: both .py and .xml are loaded (ie they appear in and ?12:04
carloscedk: self._sock.send((settings.TRYTON_DB, self.user_id, self.session, 'wizard', '', 'create'))12:05
carlosbechamel: that's the problem, I have some code in the file, but I renamed the .py file and forgot to update it there....12:07
carloslet me try...12:07
cedkcarlos: in fact, you don't even need to ir.action.wizard xml record12:08
carlosok, so that was it...12:10
carlosACTION feels a bit stupid right now....12:10
carloscedk: ok, I was not sure, given that it was not working...12:10
carloscedk, bechamel: Thaks for your help!12:11
bechamelcarlos: np, we are quicker and quicker at guessing your bugs :)12:14
-!- gour(n=user@ has joined #tryton12:28
gourhere is the whole script -
gourahh, wrote in the wrong channel, here is the beginning which is missing - i need some help with packaging tryton for arch...dunno what's wrong12:33
gour       with the following invocation within rc script: su - trytond -c12:33
gour       "/usr/bin/trytond &> /dev/null &"12:33
gourhmm, there is some problem in the script 'cause 'restart' says: /etc/rc.d/trytond: line 17: [: server: binary operator expected, but i'm too blind to figure out :-/12:38
cedkgour: perhaps it is because trytond has no shell and /usr/bin/trytond is a python script12:42
gourcedk: hmm, adding shell to it? let me try...but lunch 1st :-)12:44
cedkgour: or better: su - trytond -c "/usr/bin/python /usr/bin/trytond"12:46
-!- panthera( has joined #tryton12:49
cedkgour: or su - trytond -s /bin/bash -c "/usr/bin/trytond -c /etc/trytond.conf"12:50
gourcedk: the last one (specifying shell) is ok...does it make sense to define shell for trytond instead?13:13
cedkgour: I think it is better not for security13:15
gourcedk: ok13:15
gourcedk: huh, rc script fails, but invoking 'su - trytond -s /bin/bash -c "/usr/bin/trytond &> /dev/null &"' from the terminal gives 0 as result :-/ any clue?13:25
gourand invoking 'trytrond restart' reports: /etc/rc.d/trytond: line 17: [: server: binary operator expected13:27
gourbloody bash..13:31
cedkgour: you can use sh instead of bash13:39
-!- enlightx( has joined #tryton13:40
gouryeah, let me try13:42
CIA-2Bertrand Chenal <> default * 2:0e53bbc9ed05 calendar_todo/ Faster join usage14:06
CIA-2Bertrand Chenal <> default * 3:bf6dd5a02494 calendar_todo/ Guidelines14:06
CIA-2Bertrand Chenal <> default * 4:82e9bde3dae0 calendar_todo/ Fix: enable caldav filter on vtodo14:06
-!- _TiN_(i=ahenze@ has joined #tryton14:24
CIA-2carlos roundup * #1144/New module to include in Tryton:14:32
CIA-2[new] I would like to get our party_comment module included in the official Tryton list of modules.14:32
CIA-2We will take care of its maintainment once ...14:32
-!- cristi_an(i=5bbf82c4@gateway/web/freenode/x-yvwuskxpxrhcboua) has joined #tryton14:38
CIA-2C?dric Krier <> default * 25:8ddf3176af30 calendar/
CIA-2Don't use astimezone on datetime that doesn't have tzinfo like Evolution that14:47
CIA-2doesn't send VTIMEZONE with VEVENT.14:47
CIA-2C?dric Krier <> default * 5:2b7b4c224107 calendar_todo/ Don't use astimezone on datetime that doesn't have tzinfo.14:52
-!- carlos( has joined #tryton15:13
cedkgour: it would be also good that allow to specify database name in the startup script15:13
gourcedk: i just wanted to tell you that running trytond under specific uid/gid it not bullet-proof here. after (too)much fiddling with bashism, it seems that those uid needs shell in /etc/passwd...why specifying db-name upon starting the daemon?15:19
-!- woakas(n=woakas@ has joined #tryton15:19 i'm thinking about dropping trytond uid/gid and run as root...15:20
gourhow is openerp-server invoked usually?15:20
gourcedk: btw, i'm sure you understand i've decide to use tryton instead of openerp :-)15:22
cedkgour: I have trytond running on Gentoo with a trytond user that doesn't have shell15:23
gourcan you paste your init script?15:23
cedkgour: I really think it is not good to run as root15:23
CIA-2matb roundup * #1145/client 1.2 doesn't start after dev client: [new] client 1.2 doesn't start after (or together with) dev client, when last write to ~/.tryton was by the dev client and points to a server with ...15:23
gourcedk: ok. the old pkg was running as root, so i'll try harder to fix it15:24
CIA-2ced roundup * #1145/client 1.2 doesn't start after dev client: [invalid] This is because protocol has changed. So I don't see any way to fix it.15:36
gourACTION --> short restart15:42
-!- gour(n=user@ has joined #tryton15:43
CIA-2woakas roundup * #1143/for and while in methods of search: no benefit to the code, but if for the programmer because it is used according to python syntax rather than inherited from Java or C, also remove ...15:45
-!- juanfer(n=juanfer@ has joined #tryton15:52
CIA-2matb roundup * #1146/Display of number of 'Tax Lines' in 'Account Move Lines':15:59
CIA-2[new] Working on the 1.2 demo:15:59
CIA-2Defined a new tax, added this tax as standard tax to account 'Main Expense', encoded a move in 'Financial Manageme ...15:59
-!- jerojasro(n=jerojasr@ has joined #tryton16:02
CIA-2ced roundup * #1146/Display of number of 'Tax Lines' in 'Account Move Lines': [invalid] This is because there is no code on the tax.16:03
CIA-2matb roundup * #1145/client 1.2 doesn't start after dev client: We could use different sections for different versions, as other softwares do.16:06
CIA-2Mathias Behrle <> default * 90:6e44484b6d0b analytic_account/de_DE.csv: Update translation for de_DE16:30
CIA-2matb roundup * #1146/Display of number of 'Tax Lines' in 'Account Move Lines': So it is wrong and should be labelled 'Tax Codes' or similarly. Or better display correctly, if there is no code defined.16:32
-!- carlos(n=carlos@ has joined #tryton16:42
-!- gour(n=user@ has joined #tryton17:05
-!- vengfulsquirrel( has joined #tryton18:30
-!- carlos(n=carlos@ has joined #tryton18:49
gourany plan to use something like reportlab for generating pdfs?18:49
cedkgour: it is already done with openoffice.interact18:51
gourcedk: well, i'd prefer something more 'light', if possible18:51
gourwithout dep on OO18:52
cedkgour: for me, I don't see the useful of pdf18:53
gourcedk: emailing invoices?18:54
cedkgour: yes perhaps18:55
cedkgour: but ODT is a standard now18:55
gourhmm, vatnumber has support for albania, not for croatia...we'd have to fix that :-D18:55
cedkgour: if you know rules ?18:56
gourcedk: i agree, but being latex/context guy, i'm more inclined to non-OO solutions...reportlab looks ok18:56
gourcedk: i'll investigate...18:56
gourACTION plan to provide missing pkgs (optional) for archlinux18:57
cedkgour: as reports are base on odt, to have the same rendering as the template you must use a engine that works with odt18:59
cedkgour: there is other engine than Ooo, at least there is abiword18:59
cedkgour: and even, last Word :-)18:59
cedkgour: and with my the experience from OpenERP, with reportlab is difficult to have the wanted result19:00
gourcedk: what about something like rst2pdf?19:03
cedkgour: the source is odt19:03
cedkgour: but of course you can create our own report in the language you want19:04
gourthere is rst2odt :-)19:04
cedkgour: rst is too simple to match odt19:04
gourwell, we can survive with *.odt if we fix other things...tree view, medical...someone mentioned latex on ml?19:05
gourACTION agrees in regard to rst19:05
gourit's ok for docs..19:05
cedkgour: the best would have odt2pdf19:06
cedkgour: and better would have the Ooo render outside the GUI in a library19:06
gourcedk: that's ok too19:07
gourcedk: yep, that would be cool19:07
cedkgour: there is even webservice:
cedkgour: :-)19:10
cedkgour: it is also possible to write a plugin for the client that convert the odt into pdf using Ooo installed on the client host19:11
cedkgour: and this before sending by email19:11
gourcedk: huh..lot of opportunities...let's fix that build script for arch 1st...then we'll dive into triton19:12
-!- carlos(n=carlos@ has joined #tryton19:19
gourbtw, what dev-environment you use for writing those xml views? (i'll use emacs for python...)19:32
cedkgour: vi19:35
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton19:50
-!- panthera( has joined #tryton20:02
bechamelgour: iirc the relatorio guys made an example with context on their blog, so it's another possibility20:20
gourbechamel: thanks. let me check it20:30
gouri've find the following in ml: "PDF via ConTeXt (this is really a simple wrapper so that you can use20:33
gourthe report repository with ConTeXt templates)." :-)20:33
gour 20:33
-!- tekknokrat( has left #tryton20:34
-!- enlightx( has joined #tryton21:07
-!- carlos(n=carlos@ has joined #tryton21:37
gourfinally. i managed to have trytond server running under trytond/trytond without shell login :-)22:00
gourhave some issues with the passwords though...get something like "bad login or password 'trytond' from ::ffff: using NetRPC on database 'tryton'"22:01
gourcedk: shall i modify something in my trytond.conf ?22:01
gourotoh, it's getting late here...we'll continue tomorrow22:02
-!- carlos( has joined #tryton23:32

Generated by 2.11.0 by Marius Gedminas - find it at!