IRC logs of #tryton for Wednesday, 2014-02-26

chat.freenode.net #tryton log beginning Wed Feb 26 00:00:02 CET 2014
2014-02-26 01:17 -!- cedk(~ced@85.26.36.239) has joined #tryton
2014-02-26 01:38 -!- laidback_01(~quassel@72-160-61-55.dyn.centurytel.net) has joined #tryton
2014-02-26 02:43 -!- digitalsatori(~Thunderbi@116.234.234.90) has joined #tryton
2014-02-26 04:23 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 05:44 -!- sharoonthomas(~sharoonth@122.177.10.178) has joined #tryton
2014-02-26 05:44 -!- laidback_01(~quassel@72-160-54-101.dyn.centurytel.net) has joined #tryton
2014-02-26 06:17 -!- yangoon(~mathiasb@p549F3866.dip0.t-ipconnect.de) has joined #tryton
2014-02-26 06:40 -!- frispete_(~frispete@p54A93642.dip0.t-ipconnect.de) has joined #tryton
2014-02-26 06:56 -!- sharoonthomas(~sharoonth@122.177.10.178) has joined #tryton
2014-02-26 07:23 -!- sharoonthomas(~sharoonth@122.177.47.92) has joined #tryton
2014-02-26 07:35 -!- sharoonthomas(~sharoonth@122.177.47.92) has joined #tryton
2014-02-26 07:39 -!- strebitz(~sebastian@91.183.59.105) has joined #tryton
2014-02-26 07:42 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 07:46 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-02-26 07:50 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 08:04 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 08:06 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 08:32 -!- grasbauer(~jan@dslb-092-078-091-250.pools.arcor-ip.net) has joined #tryton
2014-02-26 08:37 -!- jeancavallo(~giovanni@LVelizy-156-46-68-52.w80-12.abo.wanadoo.fr) has joined #tryton
2014-02-26 08:56 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 08:59 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 09:16 -!- sharoonthomas(~sharoonth@122.177.246.186) has joined #tryton
2014-02-26 09:22 -!- cedk(~ced@85.26.36.239) has joined #tryton
2014-02-26 09:23 -!- cedk(~ced@85.26.36.239) has joined #tryton
2014-02-26 09:28 -!- littlebit(~Thunderbi@ulmg-5d844ef3.pool.mediaWays.net) has joined #tryton
2014-02-26 10:09 -!- jvblasco(~seba@62.43.196.37) has joined #tryton
2014-02-26 10:14 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 10:34 -!- nicoe(~nicoe@138.102-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2014-02-26 10:37 <jvblasco> is there anything i should for using/configuring icons for usage in the gui?
2014-02-26 10:38 <jvblasco> cause using the same code, there are icons that work, others that do not
2014-02-26 10:38 <jvblasco> i'm using icons from: http://commons.wikimedia.org/wiki/Tango_icons
2014-02-26 10:39 <jvblasco> and the code for definining an icon http://pastebin.com/mcvnBsSz
2014-02-26 10:40 <jvblasco> later on in that view definition or others i use the <field name="name"> tag to add the icon in the menu
2014-02-26 10:40 <jvblasco> but some icons work, others don't, and i get internal server errors in the server
2014-02-26 10:43 -!- digitalsatori(~Thunderbi@114.92.211.41) has joined #tryton
2014-02-26 10:49 -!- cons1L1(d9569fa4@gateway/web/freenode/ip.217.86.159.164) has joined #tryton
2014-02-26 11:02 <pokoli> jvblasco: do you have a icons folder in your module with the icon?
2014-02-26 11:03 <jvblasco> pokoli: yeah
2014-02-26 11:03 <jvblasco> pokoli: and all of them are svg and the definitions share the name of the file
2014-02-26 11:03 <pokoli> jvblasco: so If you upgrade the module they should be available on the tryton-server
2014-02-26 11:04 <jvblasco> what do u mean on the tryton-server
2014-02-26 11:04 <jvblasco> ?
2014-02-26 11:04 <jvblasco> i'm using them like: icon="tryton-sysplan-network"
2014-02-26 11:04 <jvblasco> for example
2014-02-26 11:09 <cedk> jvblasco: did you re-login on the client?
2014-02-26 11:15 -!- meanmicio(~lfm@242.Red-193-153-161.dynamicIP.rima-tde.net) has joined #tryton
2014-02-26 11:15 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2014-02-26 11:16 <jvblasco> cedk: yeah
2014-02-26 11:17 <jvblasco> cedk: i restarted the client, just in case, and some icons appeared, others didn't
2014-02-26 11:17 <jvblasco> cedk. pokoli: at lunch time i'll review the installation, to check if icons are being copied
2014-02-26 11:19 <jeancavallo> jvblasco: Naive question : did you update the module where the xml is defined ?
2014-02-26 11:20 -!- Streward(~quassel@85.183.31.24) has joined #tryton
2014-02-26 11:35 <jvblasco> jeancavallo: u mean reinstall and reupdate db and upgrade in the tryton client?
2014-02-26 11:36 <jeancavallo> jvblasco: I mean updating the module either through command line or through the Client (Admin => Modules => Mark for upgrade => Apply pending...)
2014-02-26 11:48 -!- Telesight(~anthony@77-175-168-222.FTTH.ispfabriek.nl) has joined #tryton
2014-02-26 11:57 <jvblasco> yeah
2014-02-26 11:57 <jvblasco> i did
2014-02-26 12:06 <jeancavallo> jvblasco: Ok. only Internal Server Errors ?
2014-02-26 12:07 <jeancavallo> jvblasco: You can try : http://tryton-documentation.readthedocs.org/en/latest/developer_guide/debugging.html#debug-those-annoying-error-500
2014-02-26 12:22 -!- cons1L1(d9569fa4@gateway/web/freenode/ip.217.86.159.164) has joined #tryton
2014-02-26 12:25 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-02-26 12:26 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-02-26 13:00 -!- nicoe(~nicoe@2001:6f8:3aa:0:b699:baff:fe56:2328) has joined #tryton
2014-02-26 13:09 -!- smarro(~sebastian@190.105.85.74) has joined #tryton
2014-02-26 13:19 <jvblasco> jeancavallo: i will when i have some time
2014-02-26 13:24 -!- sharoonthomas(~sharoonth@122.177.145.81) has joined #tryton
2014-02-26 13:26 <jvblasco> i have a problem saving a model to which i just added a list to a o2m attribute. It seems the models for the o2m relation are ok, but when calling the save() method they don't get saved in the db.
2014-02-26 13:26 <jvblasco> here is the code: http://pastebin.com/M3z0heGM
2014-02-26 13:27 <jvblasco> and here is the content of the list servers: http://pastebin.com/pF957GQ2
2014-02-26 13:27 <jvblasco> not sure if i'm doing something wrong, cause i did it the same way in other methods, and it works
2014-02-26 13:28 <jvblasco> for example http://pastebin.com/sL8UnN8H this one works
2014-02-26 13:28 <jvblasco> it only adds 1 model to the o2m relation though
2014-02-26 14:04 <pokoli> jvblasco: which is the code for the get_server_instance function?
2014-02-26 14:07 <jvblasco> omw
2014-02-26 14:09 <jvblasco> pokoli: http://pastebin.com/s7ffQEaE there u go
2014-02-26 14:13 <pokoli> jvblasco: you're set active to false so the client is filtering inactive records
2014-02-26 14:23 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton
2014-02-26 14:37 <jvblasco> pokoli: OMG
2014-02-26 14:38 <jvblasco> pokoli: Thnx, this kind of stuff sometimes makes u feel...
2014-02-26 14:38 <jvblasco> pokoli: there it goes 1 or 2 hours work trying stuff
2014-02-26 14:40 <pokoli> jvblasco: you're welcome. I will recomend setting always a True value on active fields for testing :P
2014-02-26 14:58 -!- sharoonthomas(~sharoonth@122.177.145.81) has joined #tryton
2014-02-26 15:19 -!- digitalsatori(~Thunderbi@116.234.176.167) has joined #tryton
2014-02-26 15:33 -!- digitalsatori(~Thunderbi@114.92.199.176) has joined #tryton
2014-02-26 15:35 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton
2014-02-26 15:40 <jvblasco> pokoli: so, if client filters active fields, is there any way to create a view where inactive records are present?
2014-02-26 15:53 -!- pablovannini(~pablo@181.47.176.42) has joined #tryton
2014-02-26 16:06 -!- digitalsatori(~Thunderbi@114.92.199.176) has joined #tryton
2014-02-26 16:16 -!- canislupus01(~brent@173-25-25-91.client.mchsi.com) has joined #tryton
2014-02-26 16:23 -!- strebitz(~sebastian@91.183.59.105) has left #tryton
2014-02-26 16:41 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-02-26 16:48 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-02-26 16:52 -!- grasbauer(~jan@dslb-092-078-091-250.pools.arcor-ip.net) has joined #tryton
2014-02-26 16:53 <jvblasco> guys, is there any documentation about creating registers from the xml files?
2014-02-26 17:14 <cedk> jvblasco: what do you name "registers"?
2014-02-26 17:20 -!- sharoonthomas(~sharoonth@122.177.145.81) has joined #tryton
2014-02-26 17:25 <jvblasco> cedk: record, sry
2014-02-26 17:25 <jvblasco> cedk: anyway, a file in the db
2014-02-26 17:26 <jvblasco> cedk: i'm trying to figure out how do permissions work, but i cannot
2014-02-26 17:26 <cedk> jvblasco: I don't think but it is pretty simple: record and field tag that's all
2014-02-26 17:26 <jvblasco> cedk: the behaviour is somehow weird
2014-02-26 17:28 <jvblasco> jvblasco: i mean, if i don't tell tryton explicitly anything, it assigns full permissions to every model/menu in a module, isn't it?
2014-02-26 17:28 <jvblasco> ups
2014-02-26 17:28 <jvblasco> i just told that myself lol
2014-02-26 17:33 <cedk> jvblasco: explicit is better than implicit
2014-02-26 17:37 <jvblasco> cedk: but how do base modules work then, implicitly?
2014-02-26 17:38 <jvblasco> cedk: when i create a user and don't assign any permissions to him, he can see almost everything if i don't create a group to explicitly negate that
2014-02-26 17:38 <cedk> jvblasco: you can see everything that doesn't have explicit access control
2014-02-26 17:39 <cedk> jvblasco: add a user to a group doesn't remove access
2014-02-26 17:40 <jvblasco> cedk: then, if i negate explicitly the access to a menu, the user won't see it, so he wouldn't be able to create records in that menu models. But if he tries via webservices, will he be able to do it?
2014-02-26 17:41 <jvblasco> cedk: what do u mean that adding a user to a group, doesn't remove access?
2014-02-26 17:42 <cedk> jvblasco: hiding menu has nothing to do with security
2014-02-26 17:42 <cedk> jvblasco: it is model access
2014-02-26 17:42 <jvblasco> cedk: i c
2014-02-26 17:43 <jvblasco> cedk: so i wonder, do base modules provide any security? or just menu hiding?
2014-02-26 17:44 <jvblasco> cedk: cause i can't any model access restriction in any group
2014-02-26 17:45 <cedk> jvblasco: they are default model access on most of them except the obvious one like party
2014-02-26 17:46 <jvblasco> cedk: and default model access is full access?
2014-02-26 18:04 <cedk> jvblasco: yes
2014-02-26 18:15 <jvblasco> cedk: good to know, pieces start to stick together
2014-02-26 18:15 <jvblasco> cedk: thnx so much for the help
2014-02-26 18:34 -!- sharoonthomas(~sharoonth@182.68.86.220) has joined #tryton
2014-02-26 19:06 -!- pablovannini(~pablo@181.47.176.42) has joined #tryton
2014-02-26 19:11 <jvblasco> see u guys
2014-02-26 19:23 -!- redDave(~quassel@83.70.138.18) has joined #tryton
2014-02-26 20:15 -!- pekka2(~naivsuper@cm-84.210.54.188.getinternet.no) has joined #tryton
2014-02-26 20:42 -!- udono1(~udono@ip-176-199-172-145.unitymediagroup.de) has joined #tryton
2014-02-26 20:50 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-02-26 20:54 -!- thomassgn(~thomas@browniehive.net) has joined #tryton
2014-02-26 21:01 -!- yangoon1(~mathiasb@p549F3866.dip0.t-ipconnect.de) has joined #tryton
2014-02-26 21:01 -!- smarro_(~sebastian@190.105.85.74) has joined #tryton
2014-02-26 21:42 -!- grasbauer(~jan@dslb-092-078-091-250.pools.arcor-ip.net) has joined #tryton
2014-02-26 22:06 -!- ArtGravity(~artgravit@2602:47:d89d:b600:31ca:5319:3b3a:e465) has joined #tryton
2014-02-26 22:18 -!- rafiu1(~Adium@host81-139-178-190.in-addr.btopenworld.com) has joined #tryton
2014-02-26 22:40 -!- pablovannini(~pablo@181.47.176.42) has joined #tryton
2014-02-26 23:29 -!- littlebit(~Thunderbi@ulmg-5d844ef3.pool.mediaWays.net) has joined #tryton

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