IRC logs of #tryton for Wednesday, 2009-07-15

chat.freenode.net #tryton log beginning Wed Jul 15 00:00:02 CEST 2009
2009-07-15 00:23 -!- bechamel(n=user@host-85-201-74-27.brutele.be) has left #tryton
2009-07-15 00:56 -!- ctp(n=quassel@brsg-d9bee6a0.pool.mediaWays.net) has joined #tryton
2009-07-15 02:00 -!- CIA-67(n=CIA@208.69.182.149) has joined #tryton
2009-07-15 02:04 -!- digitalsatori(n=tony@116.233.248.233) has joined #tryton
2009-07-15 02:35 -!- CIA-67(n=CIA@208.69.182.149) has joined #tryton
2009-07-15 02:42 -!- ctp_(n=quassel@brsg-d9beff05.pool.mediaWays.net) has joined #tryton
2009-07-15 03:14 -!- ikks(n=ikks@186.97.29.28) has joined #tryton
2009-07-15 04:30 -!- gremly(n=gremly@190.156.163.241) has joined #tryton
2009-07-15 04:53 -!- ctp(n=quassel@brsg-d9beec9e.pool.mediaWays.net) has joined #tryton
2009-07-15 05:02 -!- gremly(n=gremly@190.156.163.241) has joined #tryton
2009-07-15 05:20 -!- yangoon(n=mathiasb@p549F6FA8.dip.t-dialin.net) has joined #tryton
2009-07-15 07:07 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-07-15 07:07 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-07-15 07:52 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-07-15 08:02 -!- enlightx(n=enlightx@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton
2009-07-15 08:15 -!- paepke(n=paepke@imap.metaldyne.de) has joined #tryton
2009-07-15 08:33 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-07-15 08:45 -!- paepke(n=paepke@imap.metaldyne.de) has joined #tryton
2009-07-15 08:59 -!- carlos(n=carlos@199.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-07-15 09:03 -!- enlightx(n=enlightx@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton
2009-07-15 09:14 <CIA-67> ced roundup * #1110/Add WebDAV sync:
2009-07-15 09:14 <CIA-67> [new] Add Collection Synchronization for WebDAV
2009-07-15 09:14 <CIA-67> http://ietfreport.isoc.org/idref/draft-daboo-webdav-sync/
2009-07-15 09:14 <CIA-67> http://bugs.tryton.org/roundup/issue1110
2009-07-15 10:15 -!- tekknokrat(n=gthieleb@dslb-088-074-177-068.pools.arcor-ip.net) has joined #tryton
2009-07-15 11:44 -!- Karborkas(n=p140@saturn.gruppeheat.net) has joined #tryton
2009-07-15 11:44 <Karborkas> Hi everybody ;-)
2009-07-15 11:47 <carlos> Karborkas: hi
2009-07-15 11:52 <udono> Karborkas: Hi
2009-07-15 12:02 <CIA-67> Timitos roundup * #1088/set invoice date when invoice is opened: any news about this issue?
2009-07-15 12:02 <CIA-67> http://bugs.tryton.org/roundup/issue1088
2009-07-15 12:05 -!- ikks(n=ikks@186.97.1.169) has joined #tryton
2009-07-15 12:22 <CIA-67> udono roundup * #1111/locale is not working on Language Dateformat %B: [new] When using language dateformat %B locale’s full month name (see http://docs.python.org/library/time.html#time.strftime ) then the month-na ...
2009-07-15 12:22 <CIA-67> http://bugs.tryton.org/roundup/issue1111
2009-07-15 12:58 <CIA-67> ced roundup * #1111/locale is not working on Language Dateformat %B: [chatting] For info, It is only on reports
2009-07-15 12:58 <CIA-67> http://bugs.tryton.org/roundup/issue1111
2009-07-15 14:10 -!- Karborka1(n=p140@saturn.gruppeheat.net) has joined #tryton
2009-07-15 14:11 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-07-15 14:15 <CIA-67> Timitos roundup * #1112/bug report functionality of tryton client does not work any more: [new] the client hangs when i try to send a bug report to tryton.org
2009-07-15 14:15 <CIA-67> http://bugs.tryton.org/roundup/issue1112
2009-07-15 14:16 <CIA-67> Timitos roundup * #1113/cannot open invoice report:
2009-07-15 14:16 <CIA-67> [new] when i create a new invoice and try to open the report i get the following error:
2009-07-15 14:16 <CIA-67> ERROR:common.message:Traceback (most recent call last):
2009-07-15 14:16 <CIA-67> ...
2009-07-15 14:16 <CIA-67> http://bugs.tryton.org/roundup/issue1113
2009-07-15 14:19 <CIA-67> Karborkas roundup * #1114/not possible to map company to user in user's preferences:
2009-07-15 14:19 <CIA-67> [new] It's not possible to choose the company via the user's preferences dialog. You always get the dialog to create a new company record.
2009-07-15 14:19 <CIA-67> But: I ...
2009-07-15 14:19 <CIA-67> http://bugs.tryton.org/roundup/issue1114
2009-07-15 14:25 <CIA-67> ced roundup * #1113/cannot open invoice report: [resolved] Duplicate issue1104
2009-07-15 14:25 <CIA-67> http://bugs.tryton.org/roundup/issue1113
2009-07-15 15:25 -!- carlos(n=carlos@199.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-07-15 15:40 -!- woakas(n=woakas@190.144.69.234) has joined #tryton
2009-07-15 15:57 -!- _TiN_(n=TiN@201-213-85-3.net.prima.net.ar) has joined #tryton
2009-07-15 16:08 <CIA-67> Timitos roundup * #1104/Delivery Note/Picking List ODT Paths Broken:
2009-07-15 16:08 <CIA-67> [chatting] FYI: the actual solution does not allow a slash in the report name or the invoice number.
2009-07-15 16:08 <CIA-67> even when i double quote the file actions.
2009-07-15 16:08 <CIA-67> http://bugs.tryton.org/roundup/issue1104
2009-07-15 16:17 -!- enlightx(n=enlightx@host-84-220-83-253.cust-adsl.tiscali.it) has joined #tryton
2009-07-15 16:38 -!- enlightx(n=enlightx@host-84-220-83-253.cust-adsl.tiscali.it) has joined #tryton
2009-07-15 16:43 <CIA-67> C?dric Krier <ced@b2ck.com> default * 1362:f09e5b8a8681 tryton/tryton/action/main.py: Replace pathname separator in report name by '_' for issue1104
2009-07-15 16:43 <CIA-67> http://hg.tryton.org/tryton/rev/f09e5b8a8681
2009-07-15 16:44 <CIA-67> ced roundup * #1104/Delivery Note/Picking List ODT Paths Broken: [resolved] Fixed with changeset f09e5b8a8681
2009-07-15 16:44 <CIA-67> http://bugs.tryton.org/roundup/issue1104
2009-07-15 16:45 <CIA-67> ced roundup * #1112/bug report functionality of tryton client does not work any more: [need-eg] Need more informations
2009-07-15 16:45 <CIA-67> http://bugs.tryton.org/roundup/issue1112
2009-07-15 16:46 -!- bechamel(n=user@ced.homedns.org) has joined #tryton
2009-07-15 16:46 -!- carlos(n=carlos@188.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-07-15 16:47 <CIA-67> ced roundup * #1114/not possible to map company to user in user's preferences: [need-eg] I don't understand. There is a search button in the form.
2009-07-15 16:47 <CIA-67> http://bugs.tryton.org/roundup/issue1114
2009-07-15 16:50 <CIA-67> ced roundup * #1109/strange behavior of wizard PayInvoice: [resolved] It is normal as a write-off will always be in the company currency.
2009-07-15 16:50 <CIA-67> http://bugs.tryton.org/roundup/issue1109
2009-07-15 17:15 <udono> cedk: I have a question about xmlrpc and netrpc. It seems that xmlrpc can not represent decimal objects correct. What do you think about: http://paste.pocoo.org/show/128762/
2009-07-15 17:19 <CIA-67> ced roundup * #1112/bug report functionality of tryton client does not work any more: [resolved] Fixed.
2009-07-15 17:19 <CIA-67> http://bugs.tryton.org/roundup/issue1112
2009-07-15 17:21 <cedk> udono: yes decimal doesn't exist in xmlrpc
2009-07-15 17:23 <udono> cedk: but is it right to use integer as result. String or float could be better, isn't it?
2009-07-15 17:25 <cedk> udono: yes it must
2009-07-15 17:25 <udono> cedk: it must integer? or float? or string?
2009-07-15 17:26 <udono> cedk: should I file an issue?
2009-07-15 17:26 -!- paepke(n=paepke@R8039.r.pppool.de) has joined #tryton
2009-07-15 17:29 <CIA-67> C?dric Krier <ced@b2ck.com> default * 1892:323ba886c66a trytond/trytond/protocols/xmlrpc.py: Use dump_double instead of dump_long for Decimal in xmlrpc.Marshaller
2009-07-15 17:29 <CIA-67> http://hg.tryton.org/trytond/rev/323ba886c66a
2009-07-15 17:30 <udono> cedk: thanks
2009-07-15 19:05 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-07-15 19:31 <vengfulsquirrel> What is the difference between the Sale printout and the Invoice printout ?
2009-07-15 19:56 -!- _TiN_(n=TiN@201-213-85-3.net.prima.net.ar) has joined #tryton
2009-07-15 20:09 -!- essich(n=essich@p4FCF98BB.dip0.t-ipconnect.de) has joined #tryton
2009-07-15 21:09 -!- _TiN_(n=TiN@201-213-85-3.net.prima.net.ar) has joined #tryton
2009-07-15 21:11 <udono> vengfulsquirrel: Hi, sale printout is an offer to a customer, when the customer accept the offer, you can start a delivery or invoice him.
2009-07-15 21:13 <vengfulsquirrel> udono: Hmm so for POS it would make sense to give them an invoice right away ?
2009-07-15 21:26 <udono> vengfulsquirrel: yes, I think for POS invoice is better. Because you sell and pay immediately.
2009-07-15 21:29 <vengfulsquirrel> udono: Thanks. Have you ever created a report outside of the ones in official modules?
2009-07-15 21:29 <udono> vengfulsquirrel: yes, often
2009-07-15 21:31 <vengfulsquirrel> I'm just copying the odt file, modifying it and linking it via some xml for the button and stuff. There is no other magic that needs to happen right?
2009-07-15 21:31 <vengfulsquirrel> Is there documentation on this?
2009-07-15 21:32 <udono> vengfulsquirrel: talking about the invoice.odt?
2009-07-15 21:32 <vengfulsquirrel> No I'm trying to make it so you can print an inventory, ha sorry new topic now.
2009-07-15 21:33 <udono> vengfulsquirrel: so, not overwriting an existing report?
2009-07-15 21:33 <vengfulsquirrel> No its a new report.
2009-07-15 21:33 <vengfulsquirrel> I was just copying it so that the styles and stuff were correct.
2009-07-15 21:34 <vengfulsquirrel> Also it seems like its a zipfile with stuff in it, but I don't know the format at all, but I can open and edit it in openoffice.
2009-07-15 21:38 <udono> vengfulsquirrel: Ok, for very simple reports take a look on party module, the label.odt report. There you find some report and keyword ir definitions in party.xml, not more. This report is using the generic report which handles all models.
2009-07-15 21:46 <essich> vengfulsquirrel: Reports are simply OpenOffice.org documents
2009-07-15 21:49 <vengfulsquirrel> udono: Thanks
2009-07-15 21:50 <vengfulsquirrel> essich: Yeah okay so its nothing fancy, I think its just when I open it in emacs the openoffice document format is a zipfile so it shows it as a zipfile which confused me.
2009-07-15 21:50 <vengfulsquirrel> but i've started editing the odt
2009-07-15 21:51 <vengfulsquirrel> so we'll see if that leads to run-time apocalypse
2009-07-15 21:52 <udono> vengfulsquirrel: Some more powerfull concepts of reports are shown in the stock module. Look at packing.py class DeliveryNote. There you find a definition of a special parser for reports. Finally in the account_invoice module you find report parser made up with direct SQL-queries.
2009-07-15 22:12 <vengfulsquirrel> udono: Okay thank you, I shouldn't need much more power than label.odt but I might in the future.
2009-07-15 22:15 -!- _TiN_(n=TiN@201-213-85-3.net.prima.net.ar) has joined #tryton
2009-07-15 22:26 -!- carlos(n=carlos@188.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-07-15 22:33 <vengfulsquirrel> udono: Oh sorry, ha I swear this is my last question, is there a way to get tryton to stop putting a header/footer on the report? I'm looking at the tmp file and its adding stuff at the top and bottom that are causing errors, mainly its trying to access company as if its an object when its just the id 1. So something like <if company.header> does not work.
2009-07-15 22:53 <carlos> vengfulsquirrel: I guess it comes from <field name="style">company/header_A4.odt</field>
2009-07-15 22:53 <carlos> vengfulsquirrel: however, why don't you use company as an object instead of the id value ?
2009-07-15 22:55 <vengfulsquirrel> carlos: I don't know how to set that, its just passed to the report. And since the report is pre-pended with the header I have no control over that part of the report either, so I can't change the input or the template.
2009-07-15 22:55 <vengfulsquirrel> I think maybe I had some cruft from copying the odt though so I'm going to try it again from scratch.
2009-07-15 22:56 <carlos> vengfulsquirrel: I'm not an expert in that field, but I think that is enough that you remove the style field from the .xml that references to your report
2009-07-15 22:56 <vengfulsquirrel> Oh yeah I have that removed in the xml.
2009-07-15 22:57 <carlos> I didn't read the whole discussion, but you were creating a new report, right?
2009-07-15 22:57 <vengfulsquirrel> Yes
2009-07-15 22:57 <carlos> then if you don't have the style, I have no idea from where does it come...
2009-07-15 22:57 <carlos> I just started playing with reports
2009-07-15 22:58 <carlos> however, I guess you added some python code as the backend for the report
2009-07-15 22:58 <carlos> I guess you should take a look in that code for the company variable and fetch the object instead of just use the id
2009-07-15 23:01 <CIA-67> h.goebel@goebel-consult.de * r694 /wiki/BuildingWinInstall.wiki: Created wiki page through web user interface.
2009-07-15 23:01 <CIA-67> h.goebel@goebel-consult.de * r695 /wiki/InstallationWindows.wiki: Edited wiki page through web user interface.
2009-07-15 23:05 <vengfulsquirrel> carlos: http://paste.pocoo.org/show/128844/ http://paste.pocoo.org/show/128845/ http://www.laspilitas.com/tryton/inventory-orig.png http://www.laspilitas.com/tryton/inventory-prepended.png
2009-07-15 23:05 <vengfulsquirrel> ha sorry so many links, error, xml, my report, report as rendered in /tmp
2009-07-15 23:06 <vengfulsquirrel> carlos: I didn't add code for the report.
2009-07-15 23:06 <vengfulsquirrel> I think I'm just doing something wrong.
2009-07-15 23:10 <udono> vengfulsquirrel: what if you put <field name="style"></field> near by <field name="report">laspilitas/inventory.odt</field>
2009-07-15 23:10 <carlos> and the glue you used to add the report to Tryton?
2009-07-15 23:10 <vengfulsquirrel> carlos: its the xml file
2009-07-15 23:12 <carlos> oh, right, I missed it
2009-07-15 23:14 <vengfulsquirrel> udono: Okay I tried that, what do you think this means: WARNING:convert:Field style of 463@ir.action.report not updated (id: report_inventory), because it has changed since the last update
2009-07-15 23:16 <udono> vengfulsquirrel: you change the preferences in administrtation > models > UI > report by hand?
2009-07-15 23:16 <udono> sorry, administrtation > UI > actions > report
2009-07-15 23:17 <vengfulsquirrel> ughh
2009-07-15 23:17 <udono> when you change prefs by hand, Tryton did not overwrite the records.
2009-07-15 23:17 <carlos> udono: I saw such errors before when adding tags that change the default value when you don't add such tags
2009-07-15 23:18 <carlos> I have it in my list of pending things to debug to confirm it's a bug in the convert code
2009-07-15 23:18 <udono> carlos: its not errors, just warnings about that you try to automated update stuff you already edited by hand.
2009-07-15 23:18 <carlos> udono: well, for me is an error, because it appears when you didn't change it by hand
2009-07-15 23:19 <vengfulsquirrel> udono: At one point I hand fixed that bug about wrapping " around %s in the actions.
2009-07-15 23:19 <vengfulsquirrel> uduno: Could that be it ?
2009-07-15 23:19 <udono> carlos:
2009-07-15 23:19 <udono> sorry
2009-07-15 23:19 <carlos> vengfulsquirrel: did you change the XML or did you applied the fix using Tryton or directly inside the database?
2009-07-15 23:20 <vengfulsquirrel> I just changed it in the client, I think its just an entry in the config file in my ~.
2009-07-15 23:20 <udono> vengfulsquirrel: yes, maybe. Make a backup of your db and delete record 463 in table ir_action_report. Then update the module again.
2009-07-15 23:20 <vengfulsquirrel> udono: Yeah it is set to use that header when I view it though
2009-07-15 23:20 <vengfulsquirrel> I can also just rebuild the db, it just takes about an hour.
2009-07-15 23:21 <carlos> one hour??
2009-07-15 23:21 <carlos> what do you have there?
2009-07-15 23:22 <udono> vengfulsquirrel: pgadmin3 takes a minute...
2009-07-15 23:22 <vengfulsquirrel> pgadmin3 to do what/
2009-07-15 23:22 <vengfulsquirrel> I'm inserting locations one at a time, and products one at a time programmatically, I tihnk that's what takes so long.
2009-07-15 23:23 <carlos> vengfulsquirrel: with a commit per insert?
2009-07-15 23:23 <carlos> you should group transactions if you are doing commit too often
2009-07-15 23:24 <vengfulsquirrel> No, I don't know if my extensions or what, I've been meaning to setup a stock tryton install with a default data model and run performance tests against that but I haven't had the time.
2009-07-15 23:25 <vengfulsquirrel> uduno: deleted it and no error with update
2009-07-15 23:25 <vengfulsquirrel> uduno: Sweet it works, it must have gotten stuck in there somehow.
2009-07-15 23:26 <carlos> vengfulsquirrel: I guess that by default, you get the style I gave you, so you need to 'remove' it in a explicit way
2009-07-15 23:27 <carlos> which is what udono's xml tag does
2009-07-15 23:27 <vengfulsquirrel> yeah, but I think it might be a bug that it doesn't work with the style
2009-07-15 23:27 <vengfulsquirrel> and it just doesn't arise with the other models because they are setting company correctly
2009-07-15 23:28 <vengfulsquirrel> ha its so hard to find real bugs though when you have a bunch of extensions
2009-07-15 23:28 <carlos> yeah, it's a bug, either in the way you added your report (the ones I created had python code attached) or in the inventory model
2009-07-15 23:29 <vengfulsquirrel> thanks a lot carlos, uduno , its not pretty but its a start, http://www.laspilitas.com/tryton/inventory-success.png
2009-07-15 23:30 <carlos> vengfulsquirrel: well, once you get the data inside your report, making it pretty is 'trivial' ;-)
2009-07-15 23:32 <vengfulsquirrel> yeah its awesome though that it works
2009-07-15 23:32 <vengfulsquirrel> so powerful to be able to make arbitrary documents
2009-07-15 23:34 <udono> vengfulsquirrel: yeah, I like it, too.
2009-07-15 23:36 <udono> see you
2009-07-15 23:37 <vengfulsquirrel> uduno: thanks a bunch, see you later

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