IRC logs of #tryton for Monday, 2009-12-07

chat.freenode.net #tryton log beginning Mon Dec 7 00:00:02 CET 2009
2009-12-07 00:15 <CIA-13> ced roundup * #1325/News de for tryton.org: [invalid] It is not.
2009-12-07 00:15 <CIA-13> http://bugs.tryton.org/roundup/issue1325
2009-12-07 01:53 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-12-07 05:18 -!- yangoon(n=mathiasb@p549F7FBB.dip.t-dialin.net) has joined #tryton
2009-12-07 05:20 -!- pepeu(n=manuel@201.152.217.243) has joined #tryton
2009-12-07 08:02 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-12-07 08:30 -!- monkeytower(n=monkeyto@dslb-088-076-253-246.pools.arcor-ip.net) has joined #tryton
2009-12-07 08:36 -!- gour(n=Gour@93.159.76.237) has joined #tryton
2009-12-07 09:25 -!- carlos(n=carlos@143.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-12-07 09:28 -!- carlos(n=carlos@143.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-12-07 09:41 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-12-07 10:01 -!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton
2009-12-07 10:18 <CIA-13> Bertrand Chenal <bch@b2ck.com> default * 629:10dfa28e1cbe stock/inventory.py: Removed duplicate set_state_cancel on inventory (issue1323)
2009-12-07 10:18 <CIA-13> http://hg.tryton.org/modules/stock/rev/10dfa28e1cbe
2009-12-07 10:20 <CIA-13> bch roundup * #1323/doublette of method set_state_cancel in inventory: [chatting] Thanks for the patch, applied with changeset 10dfa28e1cbe
2009-12-07 10:20 <CIA-13> http://bugs.tryton.org/roundup/issue1323
2009-12-07 10:28 -!- yangoon(n=mathiasb@p549F7FBB.dip.t-dialin.net) has joined #tryton
2009-12-07 10:51 <CIA-13> bch roundup * #1319/traceback requests for sheduled action don't work any more: [chatting] Code review for the issue: http://codereview.appspot.com/167041
2009-12-07 10:51 <CIA-13> http://bugs.tryton.org/roundup/issue1319
2009-12-07 11:33 -!- paepke(n=paepke@pD9519D39.dip0.t-ipconnect.de) has joined #tryton
2009-12-07 11:52 -!- paepke(n=paepke@pD9519D39.dip0.t-ipconnect.de) has joined #tryton
2009-12-07 12:22 -!- sharoon(n=sharoont@opg066b.halls.manchester.ac.uk) has joined #tryton
2009-12-07 12:40 -!- tekknokrat(n=tekknokr@dslb-088-074-145-115.pools.arcor-ip.net) has joined #tryton
2009-12-07 12:49 <tekknokrat> Hi cedk, thanks for the fix with #1322
2009-12-07 13:28 <CIA-13> matb roundup * #1325/News de for tryton.org: [chatting] Sorry, I don't understand.
2009-12-07 13:28 <CIA-13> http://bugs.tryton.org/roundup/issue1325
2009-12-07 13:45 <CIA-13> Bertrand Chenal <bch@b2ck.com> default * 2109:a9ba5ac35a46 trytond/trytond/ir/cron.py: Fix for issue 1319: use datetime.datetime values for fields with type fields.Datetime.
2009-12-07 13:45 <CIA-13> http://hg.tryton.org/trytond/rev/a9ba5ac35a46
2009-12-07 13:46 <CIA-13> bch roundup * #1319/traceback requests for sheduled action don't work any more: [closed] Fixed with changeset a9ba5ac35a46
2009-12-07 13:46 <CIA-13> http://bugs.tryton.org/roundup/issue1319
2009-12-07 14:39 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton
2009-12-07 15:14 -!- woakas(n=woakas@190.144.69.234) has joined #tryton
2009-12-07 15:26 -!- juanfer(n=juanfer@190.144.69.234) has joined #tryton
2009-12-07 15:30 <udono> cedk: hi. Do you remember what you change here: http://hg.tryton.org/modules/account_invoice/rev/600266162fc4 The if statement from the older Version looks for me the same.
2009-12-07 15:53 <tekknokrat> ‎hi udono
2009-12-07 15:53 <udono> tekknokrat: hi
2009-12-07 15:53 <udono> tekknokrat: do you know what changes in http://hg.tryton.org/modules/account_invoice/rev/600266162fc4 ?
2009-12-07 15:53 <tekknokrat> i am also wondering what was changed
2009-12-07 15:54 <tekknokrat> i tested and with the new invoice the date is printed
2009-12-07 15:54 <tekknokrat> but statement looks similar
2009-12-07 15:57 <tekknokrat> 600... <if test="invoice.invoice_date">
2009-12-07 16:12 <tekknokrat> --- invoice.orig.txt 2009-12-07 16:06:36.906327034 +0100
2009-12-07 16:12 <tekknokrat> +++ invoice.1322.txt 2009-12-07 16:06:25.675075981 +0100
2009-12-07 16:12 <tekknokrat> @@ -127,6 +127,7 @@
2009-12-07 16:12 <tekknokrat> Description: <invoice.description or ''>
2009-12-07 16:12 <tekknokrat>
2009-12-07 16:12 <tekknokrat> <if test="invoice.invoice_date">
2009-12-07 16:12 <tekknokrat> +
2009-12-07 16:12 <tekknokrat> Date: <formatLang(invoice.invoice_date, invoice.party.lang,
2009-12-07 16:12 <tekknokrat> date=True)>
2009-12-07 16:12 <tekknokrat> udono: seems theres only a newline insert
2009-12-07 16:13 -!- pepeu(n=manuel@201.152.217.243) has joined #tryton
2009-12-07 16:17 <udono> tekknokrat: ok, then it is the change.
2009-12-07 16:17 <udono> tekknokrat: relatorio deletes the enveloped tag of an expression like <if or <choose
2009-12-07 16:18 <udono> tekknokrat: so the former date was in the same line then the if statement. So it was deleted by parsing.
2009-12-07 16:18 <udono> tekknokrat: Thanks for the hint
2009-12-07 16:19 <tekknokrat> udono: ok, thanks for the explaination
2009-12-07 16:20 <tekknokrat> udono: i still wonder if it really is on the same line because in openoffice view it looks like a new line
2009-12-07 16:22 <udono> tekknokrat: maybe a manual break with ctrl-enter?
2009-12-07 16:24 <tekknokrat> udono: yes could be, its not the newline but the symbol of the return key, never seen that before
2009-12-07 16:25 <udono> tekknokrat: is it something like <|---' ?
2009-12-07 16:26 <tekknokrat> udono: yes exactly what you can see when you are looking on you return key :)
2009-12-07 16:27 <udono> tekknokrat: so it is a manual break with ctrl-enter. AFAIK it is an inline element. Itself and the following Text in the same Paragraph, will be deleted with the paragraph of the <if statement
2009-12-07 16:28 <tekknokrat> udono: ok
2009-12-07 16:30 <tekknokrat> udono: I would also like to introduce an if statement around the taxes table in the invoice.odt
2009-12-07 16:31 <tekknokrat> udono: there was still an issue with it but in general what do you think?
2009-12-07 16:33 <udono> tekknokrat: you need the enclosing if in a paragraph before and after the Table. And watch out where the table anchor is. The anchor is the place which must be surrounded by the if condition.
2009-12-07 16:35 <udono> Same with text fields and other floating objects
2009-12-07 16:39 <tekknokrat> udono: I had the if statement one line before the table starts... and the endif one line after the table
2009-12-07 16:41 <tekknokrat> udono: so do i need a hidden paragraph instead?
2009-12-07 16:44 <udono> tekknokrat: hidden paragraph?
2009-12-07 16:45 <tekknokrat> related to this: http://www.ooowiki.de/VersteckterAbsatz
2009-12-07 16:50 <udono> tekknokrat: could be a solution. But Iam sure it is possible to show tables or not with an if condition
2009-12-07 16:51 <udono> Try it with the condition: test="True == False"
2009-12-07 16:52 <tekknokrat> ok
2009-12-07 16:54 <tekknokrat> udono: True == False does what it should but not True == True
2009-12-07 16:55 <tekknokrat> udono: the table is not shown at all either if statement is true/false
2009-12-07 16:58 <udono> tekknokrat: hm... did you try to introspect the contents.xml in the odt page?
2009-12-07 16:59 <udono> tekknokrat: you can unzip the odt document and take a look to the contents.xml file inside. This you may paste on paste.pocoo.org
2009-12-07 16:59 <tekknokrat> udono: good idea
2009-12-07 16:59 <tekknokrat> udono: do you think about the form or the generated invoice?
2009-12-07 17:00 <udono> the template
2009-12-07 17:00 <udono> tekknokrat:
2009-12-07 17:04 <cedk> udono: it is just a paragraph vs line return
2009-12-07 17:05 <udono> cedk: thanks, tekknokrat found it out with his eagle-eyes#
2009-12-07 17:06 <tekknokrat> udono: lol
2009-12-07 17:07 <tekknokrat> cedk: regarding the mailinglist entry, the if statement around the taxes block can you please explain how you did that?
2009-12-07 17:08 <tekknokrat> cedk: http://groups.google.com/group/tryton/browse_thread/thread/428287b0954f893c
2009-12-07 17:08 <cedk> tekknokrat: I put if statement arround the table
2009-12-07 17:11 <tekknokrat> cedk: ok i tried the same and for me it does remove the table also with test = True
2009-12-07 17:12 <udono> tekknokrat: test="True is True"
2009-12-07 17:13 <tekknokrat> udono: exactly
2009-12-07 17:14 <tekknokrat> udono: firefox is just slow with big xml file...
2009-12-07 17:15 <tekknokrat> udono: ok content.xml upped http://paste.pocoo.org/show/155450/
2009-12-07 17:15 <udono> tekknokrat: how is you condition you used?
2009-12-07 17:16 <tekknokrat> udono: online is test="True == True"
2009-12-07 17:19 <udono> tekknokrat: looks like you have the /if inside the Table row
2009-12-07 17:20 <udono> tekknokrat: it must be on the same level like the opening if, afaik
2009-12-07 17:22 <udono> tekknokrat: see line 892 and 973
2009-12-07 17:28 <tekknokrat> udono: hm, is see the if /if in their own paragraph outside the table do you mean they should go into table?
2009-12-07 17:30 <tekknokrat> udono: ah theres </table:table> followed by table-cell
2009-12-07 17:30 <tekknokrat> udono: my wrong i thought they were 2 different tables...
2009-12-07 17:34 <cedk> tekknokrat: they must be inside the cell that contains the table with taxes
2009-12-07 17:35 <cedk> tekknokrat: you can not do it with Ooo because it don't allow to insert paragraph above the tax table
2009-12-07 17:35 <cedk> tekknokrat: you must edit the xml or recreate the row
2009-12-07 17:36 <tekknokrat> cedk: oh, crazy :)
2009-12-07 17:36 <tekknokrat> cedk: ok I try it that way
2009-12-07 17:38 <cedk> tekknokrat: it is an issue of the Ooo interface
2009-12-07 17:39 <udono> tekknokrat: you can additionally try to put a row before and after the tax block in the table, and put your condition inside the new rows. With this it could work.
2009-12-07 17:43 <tekknokrat> udono: just trying that first...
2009-12-07 17:47 <tekknokrat> ACTION just wondering howto get a colspan in openoffice
2009-12-07 17:53 <udono> ACTION think about: select the cells to combine, right mouse click, cell > combine
2009-12-07 17:57 <tekknokrat> udono: yes, its cell => merge
2009-12-07 17:58 <tekknokrat> udono: but i get an exception in tryton: IndexError: pop from empty list
2009-12-07 17:59 <udono> tekknokrat: can you send me the invoice.odt?
2009-12-07 17:59 <tekknokrat> udono: now hacking xml...
2009-12-07 17:59 <tekknokrat> udono: sure one mom.
2009-12-07 18:00 <udono> tekknokrat: I think it must be possible with out hacking xml...
2009-12-07 18:01 <tekknokrat> udono: that would be nice
2009-12-07 18:05 <tekknokrat> udono: just overlooked that there was another lost /if statement in the file, send you another one...
2009-12-07 18:25 <udono> tekknokrat: found the problem: It seems you can not put tables inside tablecells
2009-12-07 18:26 <udono> tekknokrat: when you move the tax bloc out of the enveloping table, then it is shown
2009-12-07 18:27 <udono> tekknokrat: I talk about the table with two cells, where the texblock is on the right, and the Totals on the left.
2009-12-07 18:27 <tekknokrat> udono: ok
2009-12-07 18:28 <tekknokrat> udono: the taxes block where i put my if statement in
2009-12-07 18:29 <udono> tekknokrat: oh, I c it works with the enveloping table, too
2009-12-07 18:29 <tekknokrat> udono: so you removed the main tables which is used for the structure of the document?
2009-12-07 18:37 -!- monkeytower(n=monkeyto@dslb-088-076-253-246.pools.arcor-ip.net) has joined #tryton
2009-12-07 18:43 <yangoon> carlos: hi
2009-12-07 18:44 <udono> tekknokrat: ok, sorry, doesn't work successful with an enveloping table. Next step is, to use two frames with each a table inside. With this you can put the anchor of the tax-table-frame between the if clause.
2009-12-07 18:44 <yangoon> carlos: I am currently working on completing account_invoice_history for (at least) german use
2009-12-07 18:45 <tekknokrat> udono: sounds good
2009-12-07 18:46 <yangoon> carlos: which would be basically your needs for Spain? For Germany we would opt to historize company and currency, too.
2009-12-07 18:46 <tekknokrat> udono: so its *only* included in statement?
2009-12-07 18:46 <tekknokrat> udono: only the anchor?
2009-12-07 18:47 <udono> tekknokrat: yes, the anchor of the frame.
2009-12-07 18:47 <udono> tekknokrat: http://www.spotlight.de/zforen/sto/m/sto-1173471056-3040.html
2009-12-07 18:47 <yangoon> carlos, cedk if it is of general interest, it could go into account_invoice_history
2009-12-07 18:49 <cedk> yangoon: don't know what?
2009-12-07 18:49 <yangoon> cedk: extension of historization to company and currency
2009-12-07 18:50 <tekknokrat> udono: so frame is the replacement for the outer table
2009-12-07 18:52 <cedk> yangoon: company why not, but currency I'm not sure it is already historized with the rate
2009-12-07 18:55 <yangoon> cedk: currency could be calculated, but I think it would be easier to do it the same way as for the other fields
2009-12-07 18:59 <udono> tekknokrat: yes
2009-12-07 19:06 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-12-07 19:09 <tekknokrat> udono: i justr tried with a frame but it was not shown, afk for 1hour and then test again later...
2009-12-07 19:11 -!- sharoon(n=sharoont@opg066b.halls.manchester.ac.uk) has joined #tryton
2009-12-07 19:18 -!- gour(n=Gour@93.159.76.237) has left #tryton
2009-12-07 19:45 <udono> tekknokrat: use the frame (not floating frame) and fiddle around with the Anchor. Try out Anchor: to character, as character and maybe to paragraph. The others won't work. Then try:
2009-12-07 19:45 <udono> Line 1: if expression
2009-12-07 19:45 <udono> Line 2: Anchor
2009-12-07 19:45 <udono> Line 3: /if
2009-12-07 19:46 <udono> tekknokrat: FYI: I will be soon away, but back tomorrow morning...
2009-12-07 20:02 <tekknokrat> udono: thx, i'll try
2009-12-07 20:02 <tekknokrat> udono: yes that was a floating frame I was trying first
2009-12-07 20:45 -!- monkeytower(n=monkeyto@p508AB37E.dip.t-dialin.net) has joined #tryton
2009-12-07 21:44 -!- CIA-13(n=CIA@208.69.182.149) has joined #tryton
2009-12-07 21:44 -!- fil(n=phil@blue.hands.com) has joined #tryton
2009-12-07 21:44 -!- sharkcz(n=nnndan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-12-07 22:17 <carlos> yangoon, hi
2009-12-07 22:18 <carlos> yangoon, nice task
2009-12-07 22:19 <carlos> yangoon, Right now, I'm only able to think on Company history, we had recently a VAT number change in several companies in Spain, so for those companies such feature would be really nice.
2009-12-07 22:20 <carlos> yangoon, also, the invoice address is interesting to add to the history, to handle address change (my company did one recently and we don't have a way to represent it right now)
2009-12-07 22:59 -!- pepeu_(n=manuel@201.152.217.243) has joined #tryton
2009-12-07 23:42 -!- irclog(n=irclog@tycho.b2ck.com) has joined #tryton
2009-12-07 23:52 -!- monkeytower_(n=monkeyto@dslb-088-076-253-006.pools.arcor-ip.net) has joined #tryton

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