IRC logs of #tryton for Thursday, 2013-07-04

chat.freenode.net #tryton log beginning Thu Jul 4 00:00:19 CEST 2013
2013-07-04 09:19 <iamnoob> Hi, i have a many2many field, and im wondering if there's a way where after i added a certain record to it, and i wanted to add another record to it, i wont be able to see the records that i have already added (the window that will popup after you click on the '+' sign or 'add existing button'
2013-07-04 10:49 <iamnoob> Hi, i have a many2many field, and im wondering if there's a way where after i added a certain record to it, and i wanted to add another record to it, i wont be able to see the records that i have already added (the window that will popup after you click on the '+' sign or 'add existing button'
2013-07-04 10:56 <udono> iamnoob: hi, I do not understand your question. Maybe an example?
2013-07-04 11:00 <iamnoob> udono: hi, i got this many2many field, and it is connected to another model/table with 5 records. what i need is. if i select 3 of those 5 records. the next time i try to add another record. i can only see 2 records left (since i already selected the 3 records earlier)
2013-07-04 11:02 <cedk> iamnoob: if select twice the same record, it will only appear once in the m2m
2013-07-04 11:02 <cedk> iamnoob: what you suggest will be great to implement
2013-07-04 11:03 <iamnoob> cedk: hi yes its not adding up again, those my problem really is the enduser's .. where the enduser is getting confused
2013-07-04 11:06 <iamnoob> cedk: im trying to figure out what else i can do, they are adding records to the many2many field, but on sometime they make mistakes becuase they added a same record, though tryton now will not add it again, in the enduser's mindset he/she didnt know if he made a mistake if we are talking hundreds of recored already inside that many2many field
2013-07-04 11:08 <udono> iamnoob: doesn't it work in a wizard with recursive give the m2m only the data which is usefull after finalising the processing step?
2013-07-04 11:12 <iamnoob> udono: hmm im afraid im not yet in a level to understand some part of what you said, is there an example of what you had said in the official modules?
2013-07-04 11:14 <iamnoob> udono: some experiments i made was to use domain and then after selecting a certain record, i update the field being read by the domain. but got problem with this because domain doesnt allow me to save records that had been changed
2013-07-04 11:15 <udono> iamnoob: yes, domain sounds to restrictive. Maybe fields function with many2many and separate getter and setter?
2013-07-04 11:17 <cedk> the filtering of m2m search box is not there because we won't want to send queries like this: id not in (....) long list of ids
2013-07-04 11:18 <cedk> but now, I think I have a good idea
2013-07-04 11:18 <cedk> we could filter the search box on the client side by removing from the search result the ids already in the m2m
2013-07-04 11:18 <cedk> this will prevent to have bad queries on server side
2013-07-04 11:20 <iamnoob> that would be great cedk
2013-07-04 11:21 <udono> iamnoob: Does cedk idea solve your problem?
2013-07-04 11:22 <iamnoob> udono: i think of cedk idea. and i think that will solve it. though i dont know how to do it,
2013-07-04 11:26 <udono> iamnoob: First step is creating a feature request. And then find out if you can solve the issue by yourself, codereview, ...
2013-07-04 11:28 <iamnoob> udono: is this the site? http://codereview.tryton.org/
2013-07-04 11:30 <udono> iamnoob: https://bugs.tryton.org/ to create the issue (feature request).
2013-07-04 11:31 <cedk> iamnoob: https://bugs.tryton.org/issue3285
2013-07-04 11:32 <udono> iamnoob: anything else you'll find in http://code.google.com/p/tryton/wiki/HowtoContribute
2013-07-04 11:33 <iamnoob> cedk: thanks , udono: thanks, ill try my best also if i can make those feature
2013-07-04 14:49 <prakash_> hi
2013-07-04 14:51 <WUD> yes, prakash how can I help?
2013-07-04 14:52 <WUD> sorry. gtg
2013-07-04 16:01 <resteve> I'm stop to add new issues in Nereid. It's all :)
2013-07-04 16:02 <sharoonthomas> resteve: great, should have some patches and features for review
2013-07-04 17:20 <resteve> sharoonthomas: I know how to create tests. I try next feedback.
2013-07-04 17:45 <resteve> sharoonthomas: why add nereid.cms.article a reference field? This field is not available in XML view and is required when save
2013-07-04 17:47 <resteve> https://github.com/openlabs/nereid-cms/blob/develop/cms.py#L551
2013-07-04 21:26 <Guest29931> Is it possible to raise user error inside Report?

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