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

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

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