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

chat.freenode.net #tryton log beginning Fri Jun 7 00:00:02 CEST 2013
mrechteHello. May several analytic lines be added on an invoice line, and how to select the root account ?09:21
cedkmrechte: there will be one field for each roots09:23
mrechtecedk: thanks, but I have no control on the choice of the root, and I don't know how to create a new field.09:24
cedkmrechte: it is done automaticaly based on the number of roots09:25
mrechtecedk: I have 2 roots and only the first one is shown on the invoice line.09:27
mrechtecedk: it seems there is cache problem, because if I restart the client then I see the two root fields09:54
cedkmrechte: yes the views are cached and as analytic change the view on the fly10:03
mrechtecedk: OK thanks.10:16
rpitWhat is the preferrable way to use ssl-connection: tryton-internal or via webserver? (Tryton 2.6)10:21
cedkrpit: I would say using tryton-internal10:33
cedkrpit: it is what we (B2CK) do10:33
rpitcedk: ok, thank you10:37
-!- pietervdr(52ab65e9@gateway/web/freenode/ip.82.171.101.233) has left #tryton13:49
joachi!17:13
joacExists in tryton something like a File input?17:13
cedkjoac: Binary fields17:16
joaccedk: field is stored on DB, or as file?17:34
cedkjoac: Binary is in DB17:35
cedkjoac: if you want to store as file, you must look at ir.attachement code17:35
joaccedk: ok, thanks!17:40
-!- joac(~joac@181.47.57.173) has left #tryton19:26
plantianhi 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?21:29
cedkplantian: it will use rec_name if possible or _order_name and finally fallback to id21:55
plantiancedk: if I override the rec_name method in a custom module then it will use that rec name right?22:08
plantianfor some reason the product seems to be sorting in a really weird way, that is why i'm asking22:10
plantian*override get_rec_name method I mean22:10
plantianActually maybe the _order field does not apply to records displayed in view.23:05
plantianhttps://www.laspilitas.com/images/grid24_24/12329/tryton/inventory-listing.png -- I'm trying to sort this with -- https://gist.github.com/ianjosephwilson/573250623:22
cedkplantian: override the method doesn't change the order23:58

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!