IRC logs of #tryton for Monday, 2013-11-18

chat.freenode.net #tryton log beginning Mon Nov 18 00:00:02 CET 2013
2013-11-18 09:43 -!- priyankarani(~priyanka@122.177.214.145) has left #tryton
2013-11-18 09:46 <priyankarani> cedk: hi.. for tryton 3.0 if "active" field is set to False for any record, would we get that record in search() on that model ?
2013-11-18 09:47 -!- priyankarani(~priyanka@122.177.214.145) has left #tryton
2013-11-18 09:57 <Pilou> priyankarani: no http://hg.tryton.org/trytond/file/759c6ff44b90/trytond/model/modelstorage.py#l373 but it seems you could modify the context for that (active_test)
2013-11-18 10:01 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton
2013-11-18 10:08 <priyankarani> Pilou: is it mainly after 2.8 ? as in 2.8 search doesnt returns inactive records.
2013-11-18 10:13 <Pilou> as far as i known, it's like this since several versions, this behaviour was not modified between 2.8 & 3.0.
2013-11-18 10:18 <rmu> priyankarani: there was a bug in tryton 3.0, see issue3442
2013-11-18 11:23 <jeancavallo> cedk: Is it normal that the prefix / suffix fields on sequences is now mandatory ? I use xml to create default sequences, and I have errors all around.
2013-11-18 11:26 <cedk> jeancavallo: no
2013-11-18 11:27 <jeancavallo> cedk: Checking this out at the moment, but it looks that check_prefix_suffix now fails if nothing is set
2013-11-18 11:33 <jeancavallo> cedk: My bad, I did not notice the ir.date => today API change
2013-11-18 11:38 <Pilou> jeancavallo: maybe you could mention it on a new page "Migration 2.8 -> 3.0" (http://code.google.com/p/tryton/wiki/TableOfContents?tm=6)
2013-11-18 11:42 <jeancavallo> Pilou: I do not know. I called it API change, but it is a new optional argument. Do you think it worths it ?
2013-11-18 11:42 <jeancavallo> Pilou: And it is more 3.0 => 3.2 :)
2013-11-18 11:45 <Pilou> yes, it is worth it
2013-11-18 12:05 <jeancavallo> Pilou: Do I need a special habilitation to push on the wiki or is it just me messing up google's double auth ?
2013-11-18 12:18 <Pilou> jeancavallo: you should ask to cedk (http://www.tryton.org/~irclog/2010-02-21.log.html#t2010-02-21%2023:33)
2013-11-18 12:43 <priyankarani> looks like the active field functionality is broken or something is wrong with the write method
2013-11-18 12:44 <priyankarani> i have written a test for the project module and it seems to showing weird results and the same things works with 2.8
2013-11-18 12:45 <rmu> priyankarani: see bug / issue 3442.
2013-11-18 12:45 <priyankarani> https://github.com/priyankarani/project/commit/1e4731d89228e67aeed5e29cafb4cd5c760d6ed1
2013-11-18 12:46 <priyankarani> @rmu this does not seem to be the same and I am testing with the version of tryton which has the patch included
2013-11-18 12:46 <priyankarani> on setting the active field to false in one of the records, all records seem to be set to false
2013-11-18 12:46 <priyankarani> and its weird to see boolean fields return 0 and 1 instead of False and True
2013-11-18 12:48 <rmu> the symptoms i got were similar, but they have gone with the patch of said issue. have no idea then. sorry for the noise.
2013-11-18 12:54 <sharoonthomas> priyankarani: it looks like some issue with the python-sql change if it does not happen in 2.8 but happens in 3.0. can you try running the test with postgres.
2013-11-18 15:23 <Pilou> Could an integer field be used for _rec_name ?
2013-11-18 15:26 <cedk> Pilou: it will probably fail on searching
2013-11-18 17:22 <cedk> priyankarani: please fill an issue with your test case
2013-11-18 18:58 -!- priyankarani(~priyanka@123.63.112.122) has left #tryton
2013-11-18 19:16 -!- pablovannini(~pablo@181.47.181.28) has left #tryton
2013-11-18 21:27 -!- fireglow(fireglow@unaffiliated/fireglow) has left #tryton

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