IRC logs of #tryton for Friday, 2013-06-07

chat.freenode.net #tryton log beginning Fri Jun 7 00:00:02 CEST 2013
2013-06-07 09:21 <mrechte> Hello. May several analytic lines be added on an invoice line, and how to select the root account ?
2013-06-07 09:23 <cedk> mrechte: there will be one field for each roots
2013-06-07 09:24 <mrechte> cedk: thanks, but I have no control on the choice of the root, and I don't know how to create a new field.
2013-06-07 09:25 <cedk> mrechte: it is done automaticaly based on the number of roots
2013-06-07 09:27 <mrechte> cedk: I have 2 roots and only the first one is shown on the invoice line.
2013-06-07 09:54 <mrechte> cedk: it seems there is cache problem, because if I restart the client then I see the two root fields
2013-06-07 10:03 <cedk> mrechte: yes the views are cached and as analytic change the view on the fly
2013-06-07 10:16 <mrechte> cedk: OK thanks.
2013-06-07 10:21 <rpit> What is the preferrable way to use ssl-connection: tryton-internal or via webserver? (Tryton 2.6)
2013-06-07 10:33 <cedk> rpit: I would say using tryton-internal
2013-06-07 10:33 <cedk> rpit: it is what we (B2CK) do
2013-06-07 10:37 <rpit> cedk: ok, thank you
2013-06-07 13:49 -!- pietervdr(52ab65e9@gateway/web/freenode/ip.82.171.101.233) has left #tryton
2013-06-07 17:13 <joac> hi!
2013-06-07 17:13 <joac> Exists in tryton something like a File input?
2013-06-07 17:16 <cedk> joac: Binary fields
2013-06-07 17:34 <joac> cedk: field is stored on DB, or as file?
2013-06-07 17:35 <cedk> joac: Binary is in DB
2013-06-07 17:35 <cedk> joac: if you want to store as file, you must look at ir.attachement code
2013-06-07 17:40 <joac> cedk: ok, thanks!
2013-06-07 19:26 -!- joac(~joac@181.47.57.173) has left #tryton
2013-06-07 21:29 <plantian> hi guys, if I have a model linked to product and I put MyModel._order = [('product', 'ASC')] will it use the product id to sort or the rec_name of the product model?
2013-06-07 21:55 <cedk> plantian: it will use rec_name if possible or _order_name and finally fallback to id
2013-06-07 22:08 <plantian> cedk: if I override the rec_name method in a custom module then it will use that rec name right?
2013-06-07 22:10 <plantian> for some reason the product seems to be sorting in a really weird way, that is why i'm asking
2013-06-07 22:10 <plantian> *override get_rec_name method I mean
2013-06-07 23:05 <plantian> Actually maybe the _order field does not apply to records displayed in view.
2013-06-07 23:22 <plantian> https://www.laspilitas.com/images/grid24_24/12329/tryton/inventory-listing.png -- I'm trying to sort this with -- https://gist.github.com/ianjosephwilson/5732506
2013-06-07 23:58 <cedk> plantian: override the method doesn't change the order

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