chat.freenode.net #tryton log beginning Fri Jan 28 00:00:03 CET 2011 | ||
2011-01-28 00:21 -!- saxa(~sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton | ||
2011-01-28 00:34 -!- kwmiebach1(~ad@xdsl-87-79-56-93.netcologne.de) has left #tryton | ||
2011-01-28 01:54 -!- okko(~okko@203.106.205.138) has joined #tryton | ||
2011-01-28 03:57 -!- ikks(~ikks@190.158.120.51) has joined #tryton | ||
2011-01-28 04:00 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton | ||
2011-01-28 04:10 -!- FWiesing(~franz@mail.tryton.at) has left #tryton | ||
2011-01-28 04:15 -!- heg(~heg@75-202.62-188.cust.bluewin.ch) has joined #tryton | ||
2011-01-28 05:18 -!- yangoon(~mathiasb@p549F5F79.dip.t-dialin.net) has joined #tryton | ||
2011-01-28 06:29 -!- ikks(~ikks@190.158.120.51) has joined #tryton | ||
2011-01-28 08:04 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton | ||
2011-01-28 08:41 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton | ||
2011-01-28 08:42 -!- paepke(~paepke@p4FEB2332.dip0.t-ipconnect.de) has joined #tryton | ||
2011-01-28 09:02 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-01-28 09:26 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-01-28 09:31 -!- enlightx(~enlightx@host88-74-dynamic.30-79-r.retail.telecomitalia.it) has joined #tryton | ||
2011-01-28 09:58 -!- GasbaKid(~GasbaKid@41.96.78.41) has joined #tryton | ||
2011-01-28 10:08 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton | ||
2011-01-28 10:44 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2011-01-28 10:45 -!- elbenfreund(~elbenfreu@p54B94825.dip.t-dialin.net) has joined #tryton | ||
2011-01-28 10:45 -!- elbenfreund(~elbenfreu@p54B94825.dip.t-dialin.net) has left #tryton | ||
2011-01-28 11:20 -!- GasbaKid(~GasbaKid@41.96.78.41) has joined #tryton | ||
2011-01-28 11:21 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton | ||
2011-01-28 11:35 -!- heg(~heg@226-200.62-188.cust.bluewin.ch) has joined #tryton | ||
2011-01-28 11:42 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton | ||
2011-01-28 11:49 -!- Timitos(~kp@88.217.184.172) has joined #tryton | ||
2011-01-28 12:24 -!- paepke(~paepke@p4FEB2332.dip0.t-ipconnect.de) has joined #tryton | ||
2011-01-28 12:31 -!- elbenfreund(~elbenfreu@p54B94825.dip.t-dialin.net) has joined #tryton | ||
2011-01-28 12:46 -!- heg(~heg@52-207.62-188.cust.bluewin.ch) has joined #tryton | ||
2011-01-28 12:48 -!- elbenfreund(~elbenfreu@p54B94825.dip.t-dialin.net) has joined #tryton | ||
2011-01-28 13:02 -!- kwmiebach(~ad@xdsl-87-79-63-92.netcologne.de) has joined #tryton | ||
2011-01-28 14:03 -!- paepke(~paepke@p4FEB01F9.dip0.t-ipconnect.de) has joined #tryton | ||
2011-01-28 14:08 -!- enlightx(~enlightx@host88-74-dynamic.30-79-r.retail.telecomitalia.it) has joined #tryton | ||
2011-01-28 14:13 -!- paepke(~paepke@p4FEB01F9.dip0.t-ipconnect.de) has left #tryton | ||
2011-01-28 15:11 -!- trifon(~trifon@ool-18bf5c35.dyn.optonline.net) has joined #tryton | ||
2011-01-28 15:17 -!- bechamel`(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton | ||
2011-01-28 15:41 -!- woakas(~woakas@200.106.202.91) has joined #tryton | ||
2011-01-28 15:47 -!- pepeu(~manuel@201.155.193.192) has joined #tryton | ||
2011-01-28 16:21 <Lo-lan-do> Can I add or edit views from the UI or do I need to write XML files on the server? | ||
2011-01-28 16:23 <Lo-lan-do> I'd like to have a view for open supplier invoices that displays the amount still to pay instead of (or in addition to) the amount to pay today. | ||
2011-01-28 16:25 <Lo-lan-do> I have a feeling this should be doable with a view extension, but I haven't found how to actually display the new view. | ||
2011-01-28 16:34 <cedk> Lo-lan-do: it is from "Administration>User Interface>Views" | ||
2011-01-28 16:34 <cedk> Lo-lan-do: but it requires some dev level | ||
2011-01-28 16:35 <Lo-lan-do> I have defined a account.invoice_perso view there, inheriting from account.invoice, and tweaked the XML there. | ||
2011-01-28 16:41 <cedk> Lo-lan-do: that should work | ||
2011-01-28 16:43 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton | ||
2011-01-28 16:43 <Lo-lan-do> Yeah, but how do I display that view then? | ||
2011-01-28 16:46 <cedk> Lo-lan-do: what do you mean by "inheriting" ? | ||
2011-01-28 16:47 <Lo-lan-do> cedk: I'm not sure, actually. I thought since my custom view was just a slight change in account.invoice, the rest of its properties should be inherited. | ||
2011-01-28 16:48 <Lo-lan-do> But even without inheritance, my question remains: how do I display a view? It probably needs to be registered somewhere in the UI, but I don't know how do do that registration. | ||
2011-01-28 16:49 -!- z0dman(~andres-va@gponr9-fija-203-7-69.iusacell.net) has joined #tryton | ||
2011-01-28 16:52 <Lo-lan-do> I'm not afraid to write Python if needed, or whatever, but I really need a starting point :-/ | ||
2011-01-28 16:53 <cedk> Lo-lan-do: you can read http://code.google.com/p/tryton/wiki/ViewsAndActions | ||
2011-01-28 16:53 <cedk> Lo-lan-do: the xml just define creation of record | ||
2011-01-28 16:53 <cedk> Lo-lan-do: so you can do the same from the client | ||
2011-01-28 16:55 <Lo-lan-do> I've read that, yes. My view is defined. But how do I *display* it? | ||
2011-01-28 16:55 <Lo-lan-do> (I can switch to French if it helps :-) | ||
2011-01-28 16:57 <cedk> Lo-lan-do: you must put the view in an "action windows" | ||
2011-01-28 16:57 <cedk> Lo-lan-do: and then link the action to a menuitem | ||
2011-01-28 16:58 <Lo-lan-do> Ah-ha! Sounds like a plan. Let me try that :-) | ||
2011-01-28 17:00 <Lo-lan-do> Yay, it works! Thank you so much :-) | ||
2011-01-28 17:13 <Lo-lan-do> Next question: can I have a view display something that's not stored in the model? | ||
2011-01-28 17:15 <Lo-lan-do> In my case, for supplier invoices, I'd like to display the amount that remains to be paid after partial payments. | ||
2011-01-28 17:17 <Lo-lan-do> Ah, maybe with a different model that defines an additional "Function"-type field. | ||
2011-01-28 17:21 <Lo-lan-do> Blah. amount_to_pay does have that information. No need for hacks :-) | ||
2011-01-28 17:25 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton | ||
2011-01-28 18:06 <Lo-lan-do> Would you guys accept a patch adding a searcher to account.invoice.amount_to_pay? | ||
2011-01-28 18:08 <Lo-lan-do> Actually, forget that, I'm not sure I'd use it myself :-) | ||
2011-01-28 18:09 <cedk> Lo-lan-do: why not but it will be difficult :-) | ||
2011-01-28 18:10 <Lo-lan-do> More than the searcher for total_amount? | ||
2011-01-28 18:11 <cedk> Lo-lan-do: yes | ||
2011-01-28 18:11 <Lo-lan-do> Ah, yes. I'd need to reimplement the get_amount_to_pay() logic in SQL, right? | ||
2011-01-28 18:12 <cedk> Lo-lan-do: yes | ||
2011-01-28 18:12 <Lo-lan-do> Fair enough. Oh well. | ||
2011-01-28 18:13 -!- essich(~essich@188.174.147.30) has joined #tryton | ||
2011-01-28 18:14 -!- essich(~essich@188.174.147.30) has left #tryton | ||
2011-01-28 18:34 -!- heffer(~felix@hyperion.fetzig.org) has joined #tryton | ||
2011-01-28 18:34 -!- heffer(~felix@fedora/heffer) has joined #tryton | ||
2011-01-28 20:11 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton | ||
2011-01-28 20:21 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2011-01-28 20:22 -!- nicoe(~nicoe@200.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton | ||
2011-01-28 21:05 -!- enlightx(~enlightx@dynamic-adsl-94-34-226-200.clienti.tiscali.it) has joined #tryton | ||
2011-01-28 21:07 -!- kwmiebach(~ad@xdsl-87-79-176-45.netcologne.de) has joined #tryton | ||
2011-01-28 21:15 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-01-28 21:28 -!- paepke(~paepke@p4FEB01F9.dip0.t-ipconnect.de) has joined #tryton | ||
2011-01-28 21:37 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton | ||
2011-01-28 21:50 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-01-28 21:57 -!- paepke(~paepke@p4FEB01F9.dip0.t-ipconnect.de) has left #tryton | ||
2011-01-28 21:59 -!- JamesPharaoh(~james@173.51.219.87.dynamic.jazztel.es) has joined #tryton | ||
2011-01-28 22:23 -!- gremly(~gremly@190.127.102.216) has joined #tryton | ||
2011-01-28 22:24 -!- gremly(~gremly@190.127.102.216) has joined #tryton | ||
2011-01-28 22:39 -!- gremly(~gremly@190.127.102.216) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!