IRC logs of #tryton for Thursday, 2013-11-28

chat.freenode.net #tryton log beginning Thu Nov 28 00:00:02 CET 2013
2013-11-28 12:09 <maria_> hi everybody!
2013-11-28 12:15 <maria_> I have a doubt about product attribute model, can i save and use a OrderedDict as attributes instead of dictionary? I need to give an order to attributes, and my idea is to program a trigger that orders this dictionary...
2013-11-28 12:19 <cedk> maria_: no
2013-11-28 12:22 <maria_> because tryton hasn't this type...?
2013-11-28 12:23 <cedk> maria_: because json doesn't have this type and the GUI doesn't support ordering
2013-11-28 12:27 <maria_> ok, but, if I'd want to order attributes, and I ha
2013-11-28 12:27 <maria_> I have a method that orders them
2013-11-28 12:28 <cedk> maria_: display is done by alphabetic order
2013-11-28 12:28 <maria_> I can save it without OrderedDict, but the GUI will not show me this order
2013-11-28 12:29 <maria_> oks
2013-11-28 12:29 <maria_> perfect
2013-11-28 12:30 <maria_> can I change this? Instead of alphabetic order of string field... for example, alphabetic order of my new field?
2013-11-28 12:32 <cedk> maria_: no
2013-11-28 12:32 <maria_> oks
2013-11-28 12:32 <cedk> maria_: by the way, I can not understand how such order could be inportant
2013-11-28 12:33 <maria_> in the GUI is indiferent
2013-11-28 12:34 <cedk> maria_: no I can not understand because user can not manage the order
2013-11-28 12:36 <maria_> ah ok ok
2013-11-28 12:37 <maria_> well I'll think another method to achieve that I really need! Thanks for all!
2013-11-28 18:39 <pokoli>
2013-11-28 18:58 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton

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