chat.freenode.net #tryton log beginning Tue Apr 5 00:00:01 CEST 2011 | ||
2011-04-05 03:46 -!- Mayank(~beakkon@122.161.36.182) has joined #tryton | ||
2011-04-05 03:48 -!- elbenfreund(~elbenfreu@p54B950BD.dip.t-dialin.net) has joined #tryton | ||
2011-04-05 03:58 -!- alimon(~alimon@189.154.109.4) has joined #tryton | ||
2011-04-05 04:28 -!- alimon(~alimon@189.154.109.4) has joined #tryton | ||
2011-04-05 05:03 -!- woakas(~woakas@200.106.202.91) has joined #tryton | ||
2011-04-05 05:13 -!- curlynostrilll(~curlynost@96.57.28.108) has joined #tryton | ||
2011-04-05 05:19 -!- yangoon(~mathiasb@p549F3A74.dip.t-dialin.net) has joined #tryton | ||
2011-04-05 05:35 -!- curlynostrill(~curlynost@96.57.28.108) has joined #tryton | ||
2011-04-05 06:08 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton | ||
2011-04-05 06:25 -!- Vladimirek(~vladimir@adsl-dyn88.91-127-104.t-com.sk) has joined #tryton | ||
2011-04-05 06:30 -!- rhubner(~rhubner@189.58.49.86.dynamic.adsl.gvt.net.br) has joined #tryton | ||
2011-04-05 06:39 -!- Saurabh(~saurabh@203.190.134.107) has joined #tryton | ||
2011-04-05 07:04 -!- predatell(~predatell@85.198.132.141) has joined #tryton | ||
2011-04-05 07:27 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton | ||
2011-04-05 08:11 -!- heg__(~heg@dyn.83-228-214-133.dsl.vtx.ch) has joined #tryton | ||
2011-04-05 08:25 -!- mkr(~openlabs@203.190.134.107) has joined #tryton | ||
2011-04-05 08:35 -!- okko(~okko@62.58.29.41) has joined #tryton | ||
2011-04-05 08:37 -!- Vladimirek(~vladimir@adsl-dyn88.91-127-104.t-com.sk) has joined #tryton | ||
2011-04-05 08:46 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-04-05 09:02 <mkr> hi guys. | ||
2011-04-05 09:04 <plantian> hello | ||
2011-04-05 09:04 <mkr> I want to apply for the GSoC 2011 and I've decided to go with 'Email Integration'. But I have some doubts about Twisted. | ||
2011-04-05 09:04 <mkr> May anyone help me with that? | ||
2011-04-05 09:05 -!- ecarreras(~under@81.184.3.75.static.user.ono.com) has joined #tryton | ||
2011-04-05 09:05 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton | ||
2011-04-05 09:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-04-05 09:15 <plantian> mkr: I think maybe ask sharoon, he seems to have created the email blueprint and is a mentor. | ||
2011-04-05 09:18 <mkr> ok | ||
2011-04-05 09:23 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton | ||
2011-04-05 09:40 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton | ||
2011-04-05 10:37 -!- Saurabh(~saurabh@203.190.134.107) has joined #tryton | ||
2011-04-05 10:44 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton | ||
2011-04-05 10:44 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton | ||
2011-04-05 10:44 -!- okko(~okko@62.58.29.41) has joined #tryton | ||
2011-04-05 10:44 -!- heffer(~felix@fedora/heffer) has joined #tryton | ||
2011-04-05 10:44 -!- saxa(~sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton | ||
2011-04-05 10:59 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton | ||
2011-04-05 11:00 -!- predatell(~predatell@85.198.132.141) has joined #tryton | ||
2011-04-05 11:15 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton | ||
2011-04-05 11:37 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 11:40 -!- paepke(~paepke@pD95440B2.dip0.t-ipconnect.de) has joined #tryton | ||
2011-04-05 11:43 -!- abeamud(~antonio@156.Red-80-38-175.staticIP.rima-tde.net) has joined #tryton | ||
2011-04-05 12:02 -!- Saurabh1(~saurabh@203.190.134.107) has joined #tryton | ||
2011-04-05 12:02 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 12:09 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 12:09 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton | ||
2011-04-05 12:21 -!- trifon(~trifon@95-42-37-182.btc-net.bg) has joined #tryton | ||
2011-04-05 12:29 -!- elbenfreund1(~elbenfreu@p54B950BD.dip.t-dialin.net) has joined #tryton | ||
2011-04-05 12:29 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 12:33 -!- Mayank(~beakkon@122.163.52.210) has joined #tryton | ||
2011-04-05 12:43 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 12:48 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has left #tryton | ||
2011-04-05 12:55 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 13:09 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 13:21 -!- heffer(~felix@hyperion.fetzig.org) has joined #tryton | ||
2011-04-05 13:21 -!- heffer(~felix@fedora/heffer) has joined #tryton | ||
2011-04-05 13:22 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton | ||
2011-04-05 13:33 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-04-05 13:37 -!- heffer(~felix@fedora/heffer) has joined #tryton | ||
2011-04-05 13:47 -!- abeamud(~antonio@156.Red-80-38-175.staticIP.rima-tde.net) has joined #tryton | ||
2011-04-05 13:51 <abeamud> Hi.. trying to print more than one invoice, tryton suggest me to send directly to printer... How I can get a collection of pdf's without printing them..? | ||
2011-04-05 14:00 -!- okko1(~okko@92.69.210.79) has joined #tryton | ||
2011-04-05 14:02 -!- okko2(~okko@92.69.193.85) has joined #tryton | ||
2011-04-05 14:06 <cedk> abeamud: it is not possible with the current modules | ||
2011-04-05 14:07 <cedk> abeamud: because headers of invoice must be translated in the language of the party and as odt has only once header per file | ||
2011-04-05 14:07 <cedk> abeamud: but you could try to customize the report to generate a pdf for each invoice and then merge them with a tool | ||
2011-04-05 14:09 <abeamud> cedk: tryton always open the openoffice directly... it's possible to generate a pdf without open writer (OO)? | ||
2011-04-05 14:17 <cedk> abeamud: you can configure the report to use Ooo on server-side to generate pdf | ||
2011-04-05 14:19 <abeamud> cedk: exists other report engine for tryton? | ||
2011-04-05 14:20 <cedk> abeamud: not by default but it is easy to extend | ||
2011-04-05 14:22 <abeamud> cedk: I'll try to create a report engine based in mako + wkhtmltopdf like the openerp c2c_webkit_report | ||
2011-04-05 14:23 <abeamud> cedk: Thanks | ||
2011-04-05 14:27 <cedk> abeamud: don't you think it is overkill? | ||
2011-04-05 14:37 -!- Lo-lan-do(~roland@mirobole.placard.fr.eu.org) has joined #tryton | ||
2011-04-05 14:37 <Lo-lan-do> Hi all. | ||
2011-04-05 14:37 <Lo-lan-do> How would I go about refreshing a report? | ||
2011-04-05 14:38 <cedk> Lo-lan-do: what do you mean? | ||
2011-04-05 14:38 <Lo-lan-do> Case in point: I need to refresh the PDF for an invoice because I had previously forgotten to fill in the client's VAT number. | ||
2011-04-05 14:38 <Lo-lan-do> Now the client has been updated, but I don't know how to regenerate the invoice. | ||
2011-04-05 14:39 <Lo-lan-do> Apparently the ODT is stored in the database, but I'm reluctant to just empty the field :-) | ||
2011-04-05 14:40 <cedk> Lo-lan-do: you must clean the field invoice_report in the database | ||
2011-04-05 14:40 <Lo-lan-do> Set it to '' or to NULL? | ||
2011-04-05 14:41 <cedk> Lo-lan-do: but there is https://bugs.tryton.org/roundup/issue1826 | ||
2011-04-05 14:41 <cedk> Lo-lan-do: doesn't matter but better to NULL | ||
2011-04-05 14:44 <Lo-lan-do> ACTION trie | ||
2011-04-05 14:44 <Lo-lan-do> s | ||
2011-04-05 14:46 <Lo-lan-do> Indeed it's not stored, but I can get an updated ODT. Thanks! | ||
2011-04-05 14:47 <cedk> Lo-lan-do: that's the issue1826 | ||
2011-04-05 14:47 <Lo-lan-do> Yes | ||
2011-04-05 14:48 -!- trifon(~trifon@95-42-37-182.btc-net.bg) has joined #tryton | ||
2011-04-05 14:53 <serpent213> when inheriting a model using _name, Python inheritance is usually from ModelSQL and ModelView: http://hg2.tryton.org/modules/account_invoice_history/file/b1baaa0e7026/party.py#l6 | ||
2011-04-05 14:53 <serpent213> but using just Model seems also possible: http://hg2.tryton.org/modules/party_siret/file/093da26e2595/party.py#l8 | ||
2011-04-05 14:53 <serpent213> where is the difference? | ||
2011-04-05 15:12 -!- tony_(~tony@116.233.241.1) has joined #tryton | ||
2011-04-05 15:22 -!- Mayank(~beakkon@122.163.52.210) has joined #tryton | ||
2011-04-05 15:34 -!- okko(~okko@213.125.38.170) has joined #tryton | ||
2011-04-05 15:56 <abeamud> cedk: perhaps it's overkill, but ooffice as a server doesn't convince me, I think it's very heavy for a simple task as generating a pdf... | ||
2011-04-05 16:10 -!- Mayank1(~beakkon@122.163.52.210) has joined #tryton | ||
2011-04-05 16:11 -!- Mayank(~beakkon@122.163.52.210) has joined #tryton | ||
2011-04-05 16:23 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton | ||
2011-04-05 16:34 -!- rhubner(~rhubner@187.59.155.39) has joined #tryton | ||
2011-04-05 16:45 -!- okko1(~okko@92.69.145.96) has joined #tryton | ||
2011-04-05 16:49 <abeamud> cedk: well, i'll try using only the current report engine | ||
2011-04-05 17:13 -!- elbenfreund1(~elbenfreu@p54B923D8.dip.t-dialin.net) has joined #tryton | ||
2011-04-05 17:19 -!- okko(~okko@213.125.38.170) has joined #tryton | ||
2011-04-05 17:37 <cedk> serpent213: there is no difference | ||
2011-04-05 17:46 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-04-05 17:48 -!- paepke(~paepke@pD95440B2.dip0.t-ipconnect.de) has left #tryton | ||
2011-04-05 17:57 -!- Cazou(~Cazou@213.177.83.241) has joined #tryton | ||
2011-04-05 18:00 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-04-05 18:19 -!- caravel(~caravel@1.Red-81-44-157.dynamicIP.rima-tde.net) has joined #tryton | ||
2011-04-05 18:22 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-04-05 18:50 -!- irclog(~irclog@tycho.b2ck.com) has joined #tryton | ||
2011-04-05 18:55 -!- rhubner(~rhubner@187.59.155.39) has left #tryton | ||
2011-04-05 18:56 <serpent213> cedk: in __init__()? | ||
2011-04-05 18:58 <cedk> serpent213: yes | ||
2011-04-05 18:59 <cedk> serpent213: the selection list is a class instance | ||
2011-04-05 19:07 <serpent213> cedk: hmmm, maybe i did get you wrong | ||
2011-04-05 19:07 <serpent213> thought about something like: self.type = self.type.copy() | ||
2011-04-05 19:07 <serpent213> but copy() is not defined... | ||
2011-04-05 19:08 <sharoon> serpent213: list has no copy method, the easiest way to copy a list to another is list2 = list1[:] | ||
2011-04-05 19:09 <sharoon> serpent213: i dont know if its useful in this context, but this is the usual way to copy a list | ||
2011-04-05 19:09 <sharoon> serpent213: if thats what you are trytong to do | ||
2011-04-05 19:09 <sharoon> s/trytong/trying | ||
2011-04-05 19:12 -!- chrue(~chrue@host-091-097-030-164.ewe-ip-backbone.de) has joined #tryton | ||
2011-04-05 19:17 <serpent213> tried it this way now: http://pastie.org/1759584 | ||
2011-04-05 19:18 <serpent213> but the new entry does not get added this way... | ||
2011-04-05 19:20 <cedk> serpent213: self.type.selection = = self.type.selection[:] | ||
2011-04-05 19:20 <cedk> serpent213: self.type.selection += [...] | ||
2011-04-05 19:25 <serpent213> cedk: tried that before; adds the entry twice as well... | ||
2011-04-05 19:28 <cedk> serpent213: that's strange | ||
2011-04-05 19:28 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-04-05 19:28 <sharoon> cedk: serpent213: how can the a class be __init__ twice ? | ||
2011-04-05 19:29 <sharoon> serpent213: it will not happen automatically unless some other method/subclass is manually calling __init__() again | ||
2011-04-05 19:29 <sharoon> serpent213: how many ancestors does you class have ? | ||
2011-04-05 19:31 <serpent213> sharoon: you can see it here: http://pastie.org/1758573 | ||
2011-04-05 19:31 <serpent213> i'll try adding a traceback... | ||
2011-04-05 19:32 <cedk> serpent213: it misses the copy | ||
2011-04-05 19:32 <cedk> serpent213: http://pastie.org/1759651 | ||
2011-04-05 19:36 <serpent213> cedk: yes, i included the copy -- just wanted to show the class hierarchy | ||
2011-04-05 19:44 <serpent213> the second __init__ invocation is done by the company module: http://hg2.tryton.org/modules/company/file/cdf49e14a9ae/company.py#l208 | ||
2011-04-05 19:52 -!- dfamorato(~dfamorato@173-9-190-190-miami.txt.hfc.comcastbusiness.net) has joined #tryton | ||
2011-04-05 20:02 <serpent213> this seems suitable: http://pastie.org/1759769 | ||
2011-04-05 20:02 <serpent213> :) | ||
2011-04-05 20:18 <cedk> serpent213: I guess we generate diamond inheritage | ||
2011-04-05 20:24 <sharoon> cedk: is that good or bad ? | ||
2011-04-05 20:29 -!- yangoon(~mathiasb@p549F3A74.dip.t-dialin.net) has left #tryton | ||
2011-04-05 20:29 -!- yangoon(~mathiasb@p549F3A74.dip.t-dialin.net) has joined #tryton | ||
2011-04-05 20:33 <cedk> sharoon: need to be analysed | ||
2011-04-05 20:34 <sharoon> cedk: this could be avoided by making sure that the __init__ methods in subclasses (by _inherit) never call super, but just call ModelSQL.__init__(self) | ||
2011-04-05 20:35 <cedk> sharoon: no it is bad | ||
2011-04-05 20:36 <cedk> sharoon: I think it is when we create the real object we must be sure to have a one way path | ||
2011-04-05 20:37 <cedk> sharoon: I think this could be improved by just creating class inheriting object (or nothing) and register it instead of the pseudo instance | ||
2011-04-05 20:37 <sharoon> cedk: we once discussed a metaclass pattern ,do you remember ? | ||
2011-04-05 20:37 <cedk> sharoon: meta class will be used for ActiveRecord | ||
2011-04-05 20:50 -!- LordVan(~lordvan@93.82.207.62) has joined #tryton | ||
2011-04-05 20:50 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton | ||
2011-04-05 21:23 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-04-05 21:29 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-04-05 22:20 -!- dfamorato(~Secret@173-9-190-190-miami.txt.hfc.comcastbusiness.net) has joined #tryton | ||
2011-04-05 22:24 -!- Cazou(~Cazou@213.177.83.241) has joined #tryton | ||
2011-04-05 22:26 -!- enlightx(~enlightx@109.55.145.90) has joined #tryton | ||
2011-04-05 22:33 -!- yangoon_rm(~mathiasb@p549F3A74.dip.t-dialin.net) has joined #tryton | ||
2011-04-05 22:35 -!- enlightx(~enlightx@109.55.145.90) has joined #tryton | ||
2011-04-05 22:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-04-05 22:47 -!- dfamorato(~Secret@173-9-190-190-miami.txt.hfc.comcastbusiness.net) has joined #tryton | ||
2011-04-05 22:49 -!- dfamorato(~Secret@173-9-190-190-miami.txt.hfc.comcastbusiness.net) has left #tryton | ||
2011-04-05 23:04 -!- serpent223(~digger@teralink.net) has joined #tryton | ||
2011-04-05 23:04 <zodman> :o excelent extension the hgnested cedk | ||
2011-04-05 23:05 <cedk> zodman: thx :-) | ||
2011-04-05 23:05 <cedk> zodman: could be improved | ||
2011-04-05 23:06 <zodman> yes i think | ||
2011-04-05 23:17 -!- elbenfreund(~elbenfreu@f055253158.adsl.alicedsl.de) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!