IRC logs of #tryton for Tuesday, 2012-09-25

chat.freenode.net #tryton log beginning Tue Sep 25 00:00:01 CEST 2012
2012-09-25 03:06 -!- FvD(~FvD@186.87.220.201) has left #tryton
2012-09-25 11:07 <rmu> hi
2012-09-25 11:07 <nicoe> rmu: hi
2012-09-25 11:08 <rmu> i sort-of ported product_variant (or some variant of it ;-) to active record. needs a little cleaning, but it could put it somewhere if anybody is interested
2012-09-25 11:52 <rmu> ok here it is https://bitbucket.org/rmu/product_variant
2012-09-25 11:53 <rmu> as there was neither COPYRIGHT nor LICENSE file, I added both too
2012-09-25 15:32 <shomon> hi :)
2012-09-25 15:32 <shomon> if I want to edit the fields I get within the product module, is there a tutorial? I imagine I go to the view and add a new label and field, but how to reflect that in the db...
2012-09-25 15:32 <shomon> or within any module
2012-09-25 15:36 <nicoe> shomon: you must first add the field to the model describing your object and then add this field in the xml describing the view
2012-09-25 15:40 <shomon> nicoe - you mean in the model section. Ok. so that's all I need to do to get the number to show up and be recorded in the db?
2012-09-25 15:55 <rmu> shomon: http://code.google.com/p/tryton/wiki/HelloWorld
2012-09-25 15:57 <shomon> hmm.. thanks rmu !
2012-09-25 15:58 <shomon> what is the difference then between doing what just described by nicoe and just writing a whole new module?
2012-09-25 15:59 <rmu> shomon: you should not mess with the shipped modules, put your customizations into your own module
2012-09-25 15:59 <nicoe> rmu: +1
2012-09-25 15:59 <rmu> the wiki page has details how to do this, and how to add a field to a model
2012-09-25 16:02 <shomon> aah thanks :)
2012-09-25 16:02 <shomon> is it best maybe to copy the existing one and make my change in my own?
2012-09-25 16:02 <shomon> anyway I'll hit the wiki, thanks
2012-09-25 19:26 -!- FvD(~FvD@186.87.220.201) has left #tryton

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