IRC logs of #tryton for Monday, 2015-07-20

chat.freenode.net #tryton log beginning Mon Jul 20 00:00:02 CEST 2015
-!- clews(~clews@91-113-14-66.adsl.highway.telekom.at) has joined #tryton01:17
-!- smarro(~sebastian@181.16.124.164) has joined #tryton01:41
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:53
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton05:26
-!- frispete(~frispete@p54A9076B.dip0.t-ipconnect.de) has joined #tryton06:40
-!- yangoon(~mathiasb@p549F1880.dip0.t-ipconnect.de) has joined #tryton07:02
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton07:07
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton07:46
-!- nineinchnick(~jwas@109.231.22.187) has joined #tryton08:25
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton08:35
-!- udono(~udono@ip-178-202-238-79.hsi09.unitymediagroup.de) has joined #tryton08:54
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton09:01
-!- Telesight(~anthony@4dafe0c0.ftth.telfortglasvezel.nl) has joined #tryton09:25
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:28
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:28
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:32
-!- Timitos(~kpreisler@2001:4c50:34c:9d00:ae7b:a1ff:feaf:55f0) has joined #tryton09:52
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton10:25
-!- nicoe(~nicoe@103.13.91.165) has joined #tryton12:56
-!- mariomop(~quassel@host107.186-125-101.telecom.net.ar) has joined #tryton13:06
-!- frispete(~frispete@p54A9076B.dip0.t-ipconnect.de) has joined #tryton13:14
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:18
gyKaHi, I wrote a method, which should delete some projects. That method does simple things: looks for the projects by ProjectWork.search() method and calls ProjectWork.delete(project_works)13:55
gyKaBut I am getting an error: You try to read records that don't exist anymore.\n(Document type: project.work)13:56
gyKaI am sure that project I am deleting exists before calling ProjectWork.delete()13:57
gyKaHow to know what Tryton tries to read?14:03
-!- Timitos(~kpreisler@77.47.6.170.dynamic.cablesurf.de) has joined #tryton14:21
-!- smarro(~sebastian@181.16.124.164) has joined #tryton14:27
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton14:29
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton14:36
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton14:39
pokoligyKa: how you call your method?14:51
gyKaProduction = Pool().get('production'); Production.delete_with_projects(productions), Production is assigned as14:54
gyKawrong pasting...14:54
pokoligyKa: can I see the code?14:54
gyKaProduction = Pool().get('production'); Production.delete_with_projects(productions),14:55
pokoligyKa: how are productions related with projects?14:55
gyKapokoli, http://pastebin.com/cm8xwAx915:01
gyKaprojects are related to production through 'origin' field15:02
gyKait stores values such as 'production, 1234', or 'project.work,4321'15:02
pokoligyKa: why you use transaction_remove from a model and not a wizard?15:04
pokoligyKa: it looks like the method is designed to be called from a wizard, but it's attached on the model :S15:05
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton15:05
gyKapokoli, my fault :| http://pastebin.com/jTXh7Jen15:10
pokoligyKa: you can use browse directly on line 3915:11
pokoligyKa: and also on 4815:11
pokoligyKa: do you have the full traceback? on which line it breaks?15:12
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton15:18
gyKapokoli, it breaks in project_plan/work.py file, on siblings = self.search([15:20
gyKa                ('parent', '=', parent_id)15:20
gyKa                ]) line15:20
gyKain 3.4.0 version15:21
-!- FvD(~Thunderbi@ip95-153-64-186.ct.co.cr) has joined #tryton15:21
pokoligyKa: so maybe it's a bug15:24
gyKapokoli, thanks!15:26
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton15:32
-!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton15:40
-!- clews__(~clews@78.142.148.62) has joined #tryton16:41
-!- smarro(~sebastian@181.16.124.164) has joined #tryton17:34
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton18:01
-!- smarro(~sebastian@181.16.124.164) has joined #tryton18:17
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton18:25
-!- nineinchnick(~jwas@109.231.22.187) has joined #tryton18:35
-!- sunny_dealmeida(~quassel@203.115.74.158) has joined #tryton18:44
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton18:46
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton20:22
-!- Telesight1(~anthony@4dafe0c0.ftth.telfortglasvezel.nl) has joined #tryton20:52
-!- kstenger(~karla@200.124.209.158) has joined #tryton21:00
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton22:02
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton22:53

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