IRC logs of #tryton for Wednesday, 2015-04-15

chat.freenode.net #tryton log beginning Wed Apr 15 00:00:01 CEST 2015
2015-04-15 00:23 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-04-15 00:31 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-04-15 01:27 -!- MarkyC(~MarkyC@135-23-252-4.cpe.pppoe.ca) has joined #tryton
2015-04-15 01:31 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-04-15 01:53 -!- newzen(~newzen@200.93.114.96) has joined #tryton
2015-04-15 03:04 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-04-15 03:24 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-04-15 03:31 -!- newzen(~newzen@200.93.94.10) has joined #tryton
2015-04-15 05:11 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 05:25 -!- newzen(~newzen@200.93.94.10) has joined #tryton
2015-04-15 06:08 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 06:40 -!- frispete(~frispete@p54A9082A.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 07:01 -!- yangoon(~mathiasb@p549F18CD.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 07:25 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-04-15 08:06 -!- michael-kohlhaas(~mk@unaffiliated/michael-kohlhaas) has joined #tryton
2015-04-15 08:38 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 08:51 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 09:10 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 09:30 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 09:31 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-04-15 09:46 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 10:06 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-04-15 10:13 -!- Telesight(~anthony@4dafef36.ftth.telfortglasvezel.nl) has joined #tryton
2015-04-15 10:25 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-04-15 10:26 -!- yangoon(~mathiasb@p549F0AC0.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 10:33 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-04-15 10:33 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-04-15 10:33 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-04-15 10:34 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-04-15 10:35 -!- nicoe(~nicoe@91.179.2.235) has joined #tryton
2015-04-15 10:35 -!- deys(~deys@1.186.37.3) has joined #tryton
2015-04-15 10:43 -!- deys(~deys@1.186.37.3) has joined #tryton
2015-04-15 10:55 <pokoli> hi, how can I syncronize ir model data? I see a button there but it's always readonly
2015-04-15 11:09 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 11:17 -!- nicoe(~nicoe@2a02:a03f:3068:4b00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-04-15 11:23 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 11:33 -!- digitalsatori1(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 11:58 <yangoon> pokoli: same for me;)
2015-04-15 11:58 <yangoon> didn't have the time so far to look at permissions etc.
2015-04-15 11:59 <yangoon> pokoli: doesn't it work with the proteus script you posted on a recent issue?
2015-04-15 12:00 <pokoli> yangoon: can not see any speciall permissions
2015-04-15 12:05 <pokoli> yangoon: that was the issue https://bugs.tryton.org/issue4651
2015-04-15 12:05 <pokoli> yangoon: and, i get a write access error while using proteus
2015-04-15 12:05 <yangoon> ah, weird
2015-04-15 12:10 <pokoli> yangoon: no ir.access record means no access for anyone? Am I right?
2015-04-15 12:12 <pokoli> yangoon: there is an access rule that only allows read for ir.model.data
2015-04-15 12:12 <yangoon> pokoli: ususally it means access for everyone
2015-04-15 12:12 -!- newzen(~newzen@200.93.94.10) has joined #tryton
2015-04-15 12:13 <pokoli> yangoon: so you have to modify it to allow write in order to make the button available
2015-04-15 12:13 <yangoon> pokoli: probably that's the solution, yes
2015-04-15 12:14 <yangoon> pokoli: probably a missing access definition for the admin group
2015-04-15 12:15 <pokoli> yangoon: I will report is as bug :)
2015-04-15 12:16 <yangoon> pokoli: +1
2015-04-15 12:27 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 13:06 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-04-15 13:06 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-04-15 13:16 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 13:30 -!- deys(~deys@1.186.37.3) has joined #tryton
2015-04-15 13:34 -!- deys(~deys@1.186.37.3) has joined #tryton
2015-04-15 13:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-04-15 14:04 -!- lfm(~meanmicio@11.Red-79-157-220.dynamicIP.rima-tde.net) has joined #tryton
2015-04-15 14:05 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2015-04-15 14:12 -!- digitalsatori(~Thunderbi@101.87.133.130) has joined #tryton
2015-04-15 14:48 -!- smarro(~sebastian@190.173.162.254) has joined #tryton
2015-04-15 14:56 -!- MarkyC(~MarkyC@158.106.83.87) has joined #tryton
2015-04-15 15:08 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has left #tryton
2015-04-15 15:11 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 15:13 -!- pablovannini(~pablo@110-189-235-201.fibertel.com.ar) has joined #tryton
2015-04-15 15:25 -!- umang(67f5769a@gateway/web/freenode/ip.103.245.118.154) has joined #tryton
2015-04-15 15:27 <umang> Hi! In 3.4, I am getting product quantity as 0 when I call product.quantity on product with the locations and stock_date_end in context. Am I missing something?
2015-04-15 16:01 <pokoli> umang: do you think this is not correct?
2015-04-15 16:02 <pokoli> umang: how can we reproduce it?
2015-04-15 16:10 <umang> pokoli: This is a module I wrote on 3.2 https://github.com/openlabs/trytond-sale-available-stock/blob/develop/sale.py It shows a user the available stock on sale line using a function field. That function field is also an on_change_with method. It returns correct quanttity when it is called as on_change_with method in sale line view, but gives 0 quantity when called as a getter
2015-04-15 16:11 <umang> I think it's because of something in the context that sale line view has and sale view doesn't
2015-04-15 16:12 <umang> And this used to work fine in 3.2
2015-04-15 16:12 <pokoli> umang: if you open the product search list, there is the quantity shown there
2015-04-15 16:12 <pokoli> umang: could you check if the result is the same?
2015-04-15 16:13 <umang> No there it shows the quantity
2015-04-15 16:14 <pokoli> umag: maybe you're missing stock_skip_warehouse
2015-04-15 16:14 <pokoli> umang: you can see the context used on this view on the product field definition of sale line (line 1027 of sale.py on 3.4 branch)
2015-04-15 16:16 <umang> pokoli: Already setting that in context
2015-04-15 16:19 <pokoli> umang: i see you're using stock_assign
2015-04-15 16:19 <pokoli> umang: have you check that there aren't assigned moves that make the diference?
2015-04-15 16:21 <umang> pokoli: Yes checked that and also tried removing stock_assign from context. Do you know what "_check_access" in context is for?
2015-04-15 16:23 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 16:26 <pokoli> umang: for checking access permisions, you should have this set to true
2015-04-15 16:26 <umang> pokoli: Thanks
2015-04-15 16:31 <kstenger> umang: your depends contain '_parent_sale.warehouse' but you use self.warehouse, could that be it?
2015-04-15 16:33 <umang> kstenger: I am using that because here self.warehouse is a function field and it uses parent sale's warehouse in it's getter
2015-04-15 16:35 <kstenger> umang: ok, I thought that would be a depend of the other getter
2015-04-15 16:36 <pokoli> umang: why you don't set the context on the field, and directly call product.quantity?
2015-04-15 16:40 <umang> pokoli: You mean to say set context on the lines field on sale and then try ?
2015-04-15 16:40 <pokoli> umang: on the functional field of lines
2015-04-15 16:40 <pokoli> and avoid set_context inside field
2015-04-15 16:44 <umang> pokoli: I think I can't do that because I change the warehouse to fetch quantity depending on some fields and setting context in the getter helps me do that
2015-04-15 16:48 <pokoli> umang: right, context it's only used for relation fields, sorry
2015-04-15 16:55 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-04-15 17:07 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-04-15 17:13 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-04-15 17:29 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-04-15 17:32 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-04-15 17:37 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-04-15 17:46 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-04-15 18:00 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2015-04-15 18:09 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-04-15 18:15 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 18:33 -!- nineinchnick(~jwas@109.231.18.226) has joined #tryton
2015-04-15 18:35 -!- pablovannini(~pablo@110-189-235-201.fibertel.com.ar) has joined #tryton
2015-04-15 18:45 -!- MarkyC_(~MarkyC@pat-199-212-66-244.airyork.yorku.ca) has joined #tryton
2015-04-15 18:47 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2015-04-15 19:04 -!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton
2015-04-15 19:09 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-04-15 20:01 -!- sunny_dealmeida(~quassel@203.115.76.15) has joined #tryton
2015-04-15 20:17 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-04-15 20:22 -!- lukio(~lukio@181.47.181.184) has joined #tryton
2015-04-15 20:22 -!- pablovannini(~pablo@181.47.181.184) has joined #tryton
2015-04-15 20:26 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-04-15 20:36 -!- smarro(~sebastian@186.57.175.129) has joined #tryton
2015-04-15 20:49 -!- yangoon(~mathiasb@p549F0489.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 21:10 -!- mariomop(~quassel@host105.190-138-113.telecom.net.ar) has joined #tryton
2015-04-15 21:14 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-04-15 21:39 -!- yangoon(~mathiasb@p549F0FB7.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 22:02 -!- frispete(~frispete@p54A9082A.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 22:05 -!- Telesight(~anthony@4dafef36.ftth.telfortglasvezel.nl) has joined #tryton
2015-04-15 22:13 -!- frispete(~frispete@p54A9082A.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 22:20 -!- frispete(~frispete@p54A9082A.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 22:28 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-04-15 22:30 -!- frispete(~frispete@p54A9082A.dip0.t-ipconnect.de) has joined #tryton
2015-04-15 22:46 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-04-15 23:23 -!- lukio(~lukio@181.47.181.184) has left #tryton

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