IRC logs of #tryton for Saturday, 2008-08-16

chat.freenode.net #tryton log beginning Sat Aug 16 00:00:01 CEST 2008
2008-08-16 05:18 -!- yangoon(n=mathiasb@p549F50B5.dip.t-dialin.net) has joined #tryton
2008-08-16 09:45 -!- kultviech(n=kultviec@p5B0D3FCB.dip0.t-ipconnect.de) has joined #tryton
2008-08-16 09:51 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-16 10:26 -!- yangoon(n=mathiasb@p549F50B5.dip.t-dialin.net) has joined #tryton
2008-08-16 10:26 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-16 11:20 -!- udono(n=udono@dynamic-unidsl-85-197-20-149.westend.de) has left #tryton
2008-08-16 12:25 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-16 14:31 <CIA-55> tryton: matb roundup * #257/-u all not triggered by client login: [new] "840:a73c180785f9 trytond/trytond/module.py: Fix behavior of -i all to install all the modules" works again, but behaviour of -u all is stil ...
2008-08-16 14:33 -!- udono(n=udono@dynamic-unidsl-85-197-20-149.westend.de) has joined #tryton
2008-08-16 14:38 -!- Timito1(n=Timitos@88.217.184.172) has joined #tryton
2008-08-16 14:51 <Timito1> yangoon: are you there?
2008-08-16 14:51 <yangoon> Timito1: yes
2008-08-16 14:52 <Timito1> yangoon: hi. saw your bug entry for -u
2008-08-16 14:52 <Timito1> yangoon: -u behavior changed a little bit.
2008-08-16 14:52 <Timito1> you need to update your databases with -d <name of database> -u all
2008-08-16 14:52 <Timito1> the server is stopped then
2008-08-16 14:53 <Timito1> you need to start your server again then
2008-08-16 14:53 <yangoon> Timito1: just backreading the developments of last 3 weeks, so of course I can have missed some intended changes
2008-08-16 14:54 <yangoon> I did exactly as you describe, but I liked the former behaviour, too
2008-08-16 14:54 <Timito1> -u all won´t work because it was a behavior which was not precise because nobody knows which database will be accessed first
2008-08-16 14:55 <Timito1> yangoon: i wrote a small bash script for updating my dev-databases. so i can update them all by one script
2008-08-16 14:55 <yangoon> Timito1: I think, that command line arguments will always be used by the server admin, so he at least should know, which database will be accessed first...
2008-08-16 14:56 <Timito1> yangonn: yes, but there is also a risk if somebody tries to login from a remote location
2008-08-16 14:56 <yangoon> Timito1: but it is not a great matter, it was just more easy to update in one step
2008-08-16 14:56 <yangoon> Timito1: yes, I see
2008-08-16 14:57 <Timito1> yangoon: i agree. but the new behavior is more secure.
2008-08-16 14:58 <yangoon> Timito1: you are right, in production environments it is more secure, I will close the bug
2008-08-16 14:58 <Timito1> yangoon: you can still do your updates in one step if you use a bash script
2008-08-16 14:59 <Timito1> afk
2008-08-16 15:00 <CIA-55> tryton: matb roundup * #257/-u all not triggered by client login: [resolved] I see, that new behaviour is more secure.
2008-08-16 17:05 <udono> afk
2008-08-16 17:12 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-16 17:18 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 841:9d6dfc82c15a trytond/trytond/sql_db.py: Pass the right column type to migrate_column
2008-08-16 17:19 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 14:42599561ebb6 currency/currency.xml: Fix guidelines (remove tabs and ending space)
2008-08-16 17:19 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 121:7e4909629ec5 relationship/ (country.py country.xml scripts/countries.py): Use pycountry to generate xml data for issue235
2008-08-16 17:21 <CIA-55> tryton: ced roundup * #235/Using pycountry for Languages, Countries, Subdivisions of countries (States), Currencies: [resolved] Fix with changeset 7e4909629ec5 We can not use it for currency as it miss digits, rounding and we can not have the withdraw date. We ca ...
2008-08-16 17:39 <udono> back
2008-08-16 17:47 <udono> cedk: Do you know which syntax relatorio will provide in future? link or placeholder?
2008-08-16 17:48 <udono> cedk: or both?
2008-08-16 18:08 <cedk> udono: I think it is both
2008-08-16 18:08 <cedk> udono: I'm not personnaly fan of the link tag
2008-08-16 18:09 <cedk> udono: nor to put evaluation of field directly in the text
2008-08-16 18:09 <udono> cedk: Ok. Where should the evaluation go?
2008-08-16 18:10 <cedk> udono: in attributes like placeholder
2008-08-16 18:10 <udono> cedk: ok
2008-08-16 18:11 <udono> cedk: I think soon I open a request on openOffice to bring the placeholder to all document formats...
2008-08-16 18:12 <cedk> udono: and for us (Tryton), we should keep the placeholder because we have already some reports
2008-08-16 18:12 <cedk> udono: for me it is not a problem to have different tag for different format
2008-08-16 18:13 <cedk> udono: I think that relatorio will need to have different parser for each Ooo format
2008-08-16 18:13 <cedk> udono: because for me, ods will need some functionnality that are only for ods and so on
2008-08-16 18:14 <udono> cedk: yes, I see so, too, I talk this a lot with nicoe. The placeholder is in any case the cleaner way to produce reports.
2008-08-16 18:21 <cedk> udono: yes, and i find it render well with <...> in Ooo because it looks like tag
2008-08-16 18:36 <CIA-55> tryton: Timitos roundup * #258/cannot change currency digits: [new] if i try to change currency digits i get a message box with: write_xml_record xml_record_desc
2008-08-16 18:44 <CIA-55> tryton: Timitos roundup * #259/on_change_with seems to have problems with parent.*: [new] i tried to add the field parent.description into definition of amount of purchase.line amount = fields.Function('get_amount', type='numeric ...
2008-08-16 18:54 <CIA-55> tryton: ced roundup * #258/cannot change currency digits: [in-progress] This is normal. But which currency do you want to change?
2008-08-16 18:57 <CIA-55> tryton: Timitos roundup * #260/strange behavior with boolean field: [new] i tried to add a boolean field to relationship module. this is my test class: class Party(OSV): "Party" _description = __doc__ ...
2008-08-16 18:57 <CIA-55> tryton: ced roundup * #259/on_change_with seems to have problems with parent.*: [resolved] This is normal, on_change_with doesn't take parent field. I don't see why you must add parent field on a field function.
2008-08-16 18:58 <CIA-55> tryton: Timitos roundup * #258/cannot change currency digits: i noticed it when i tried around with on_change_with_amount function of purchase. if this is normal the error message should be updated.
2008-08-16 18:58 <CIA-55> tryton: ced roundup * #260/strange behavior with boolean field: [resolved] Put a default value on the field.
2008-08-16 19:00 <CIA-55> tryton: Timitos roundup * #259/on_change_with seems to have problems with parent.*: [chatting] so why is there the field parent.currency in this function? this is in normal repository. this should be removed then.
2008-08-16 19:04 <CIA-55> tryton: ced roundup * #258/cannot change currency digits: [resolved] I think this is because you have the language de_DE and this error message have not yet been translated in Deutsch.
2008-08-16 19:08 <CIA-55> tryton: ced roundup * #259/on_change_with seems to have problems with parent.*: [resolved] Sorry, I'm not enough clear. The parent field will not call the on_change_with function if it changes but the value of this field will ...
2008-08-16 19:33 -!- kultviech(n=kultviec@p5B0D3A4D.dip0.t-ipconnect.de) has joined #tryton
2008-08-16 19:53 <udono> cedk: I have another question: I like to implement subtotals on each page of a report, there for I need to provide a variable subtotal which sums up all subtotals before plus the actual amount. If I would realize this in standard python I would provide a class attribute for class invoice.line and in the __init__ method I would include a self.__class__.subtotal += amount . But Iam in doubt that it will work in tryton? Have you experien
2008-08-16 20:19 <cedk> udono: it will not work because we don't work with object but with browserecord
2008-08-16 20:34 <cedk> udono: maybe, a solution will be to let Ooo compute the subtotal
2008-08-16 20:34 <cedk> udono: I don't know if it is possible but perhaps it can compute total of a column
2008-08-16 20:35 <cedk> udono: otherwise you must add a function on the report that will compute the subtotal
2008-08-16 21:36 <cedk> udono: I just have an idea, perhaps you can modify invoice to put a subtotal invoice line every x lines (where x is the number of line per page)
2008-08-16 21:43 <udono> cedk: I have some bad experience with static solutions via calculating or adjusting how many lines are on one page... I found a solution where it is possible to get everytime the correct subtotal independent of any page layout.
2008-08-16 21:43 <udono> cedk: but thanks
2008-08-16 21:44 <udono> cedk: maybe it works just by modifiing the report. Your idea to try just in openoffice could work...
2008-08-16 23:33 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-16 23:48 -!- kultviech(n=kultviec@p5B0D3A4D.dip0.t-ipconnect.de) has joined #tryton

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