IRC logs of #tryton for Wednesday, 2011-09-07

chat.freenode.net #tryton log beginning Wed Sep 7 00:00:01 CEST 2011
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:03
-!- dfamorato_(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton00:12
-!- version2beta(~rob@173.240.241.254) has joined #tryton00:13
version2betacedk: There are many people at djangocon from all over. I figured it was a small chance, but I had hoped you might be tweeting from here and I could meet you. I would have liked that.00:14
cedkversion2beta: it is too far from here00:18
cedkversion2beta: the confs seem interresting00:20
version2betacedk: The next talk is on the Django Software Foundation. I agree it is far - perhaps too far for me, except that my wife (who owns the company also) is from Oregon, where the conference is. But there are also many people from abroad here. Maybe 25% are from other countries and continents.00:30
-!- gremly(~gremly@200.106.218.64) has joined #tryton00:42
-!- ikks(~ikks@186.30.40.126) has joined #tryton01:24
-!- smarro(~sebastian@190.51.100.70) has joined #tryton01:53
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton01:58
-!- saxa(~sasa@189.26.255.43) has joined #tryton02:48
-!- bvillasanti(~bvillasan@190.105.73.252) has joined #tryton03:23
-!- bvillasanti(~bvillasan@190.105.73.252) has left #tryton03:23
-!- saxa(~sasa@189.26.255.43) has joined #tryton03:58
-!- elbenfreund(~elbenfreu@g229216025.adsl.alicedsl.de) has joined #tryton04:48
-!- alimon(~alimon@189.154.55.187) has joined #tryton05:22
-!- blast_hardcheese(~blast_har@cpe-98-151-31-186.socal.res.rr.com) has joined #tryton06:41
-!- vladimirek(~vladimire@bband-dyn34.178-40-42.t-com.sk) has joined #tryton07:26
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton08:03
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton08:03
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton08:23
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton08:33
-!- okko1(~okko@62.58.29.41) has joined #tryton08:38
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton09:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:24
-!- mhi(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton09:29
-!- nicoe(~nicoe@62.58.29.41) has joined #tryton09:31
-!- meanmicio(~lfm@190.195.50.15) has joined #tryton09:48
-!- meanmicio(~lfm@190.195.50.15) has joined #tryton09:51
-!- mari_363636(~martin@91.183.32.14) has joined #tryton09:54
mari_363636Iy8vrNOQAV09:54
-!- mari_363636(~martin@91.183.32.14) has left #tryton09:55
-!- reichlich(~reichlich@p5793D62C.dip.t-dialin.net) has joined #tryton10:09
meanmiciocedk: ping10:31
cedkmeanmicio: pong10:35
meanmiciocedk : do we have any parameter at the client configuration file that controls the user inactivity period10:37
cedkmeanmicio: it is on the server configuration10:38
cedkmeanmicio: session_timeout10:38
meanmiciocedk: so it's a server global param10:38
meanmiciocedk: thanks !10:38
-!- ndn_pit(~ndn_pit@95.56.152.210) has joined #tryton11:11
-!- ndn_pit(~ndn_pit@95.56.152.210) has left #tryton11:11
-!- reichlich_(~reichlich@p578E8BDA.dip.t-dialin.net) has joined #tryton11:14
-!- kostas(~chatzilla@ip133.first.gr) has joined #tryton11:29
kostashello Cedric, this is Kostas from Athens11:31
cedkkostas: hi11:35
kostasI try to import from client 2.0.1 a product csv file11:37
kostasThe error from server is: int() argument must be a string or number, not list11:38
cedkkostas: do you have the full traceback?11:38
cedkkostas: could you give a link to a copy/paste?11:39
kostasThis error appears when I put the filed Category/Name in the csv, if I ommit it I get filed Category reguired11:39
cedkkostas: you can not use Category/Name in import, you must just set Category and fill it with the name of the category11:40
kostaslet me try ...11:42
kostasfor UOM should I di the same ? 'Default UOM' insted of 'Default UOM/Name' ?11:43
cedkkostas: yes11:44
kostasIt worked, thank you.11:44
cedkkostas: you can find here http://hg.tryton.org/trytond/file/9e6b871d4e28/trytond/tests/test_importdata.py#l24511:46
cedkkostas: what is possible to import many2one11:46
kostasBut I think there is a problem in export. When selecting fields we can only specify 'Category/Name' from dialog. In this case I have error: KeyError 'category'11:48
cedkkostas: strange it works here11:54
kostaswhich version of client do you use ?11:55
kostasIn the fileds to export you have 'Category\Name' ?11:55
cedkkostas: client 2.0 from hg and demo server11:56
cedkkostas: both are update to tip from hg11:56
cedkkostas: it must be fixed with 35dd1d62cd6311:58
cedkhttp://hg.tryton.org/2.0/trytond/rev/35dd1d62cd6311:59
kostasThank you Cedric, I will try it.12:02
-!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has joined #tryton12:06
Panderhi all12:06
PanderWhere can I find an example to derive my own class from class Party in order to make needed but simple customisations?12:07
cedkPander: you can have a look at http://hg.tryton.org/2.0/training/12:11
cedkPander: it is a mq repository with basic example of development12:11
cedkPander: the last patch is about extending party12:12
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton12:15
PanderOk, but that is changing the model and is not backwards compatible, right?12:15
Panderhttp://hg.tryton.org/2.0/training/file/e2c16f225cad/party_extend12:15
PanderI mean forwards compatible. My goal is to add some fields such as date of birth.12:18
cedkPander: it is done on a separate module so it is modular12:23
cedkPander: but I don't understand what you mean by "backwards compatible"?12:24
Panderi meant forwards. if I make changes to the source files of party, that is probably not the way to go for adding fields, correct?12:26
cedkPander: it is not the correct way, the correct one is to create a module12:27
cedkPander: that's what it is done in the training repo12:27
cedkPander: you can also have a look at https://code.google.com/p/tryton/wiki/HelloWorld12:28
cedkbut it doesn't extend an existing Model12:28
-!- yangoon(~mathiasb@p549F359F.dip.t-dialin.net) has joined #tryton12:28
Panderclass Hello(ModelSQL, ModelView): -> class Hello(Party): ?12:29
cedkPander: no extending is based on the _name attribute12:31
-!- saxa(~sasa@189.26.255.43) has joined #tryton12:31
cedkPander: look at the training12:31
PanderSecond and more important question, before diving into the details of inheritence, will the module Purchase list instances of my derived class of Party when selecting a Party?12:31
cedkPander: yes12:32
Panderautomatically? :)12:33
cedkPander: yes12:33
cedkPander: if your custom module is activated for the database12:33
-!- ndn_pit(~ndn_pit@95.56.152.210) has joined #tryton12:34
PanderOK, I will make a derived class from Party that will also show up everywhere where you can select or work with a Party in other modules. From it I will make a tutorial for future referecen for other beginners.12:35
ndn_pitis there example for notebook -> page  "angle" attribute?12:36
ndn_piti want to set tab position to "up", but it doesn't rotate tab label...12:39
-!- ndn_pit(~ndn_pit@95.56.152.210) has left #tryton12:50
Pandercedk: my first steps are here http://pastebin.com/eRF0qpZ4 please have a look at it12:55
bechamelPander: example of extension of xml views http://hg.tryton.org/modules/company/file/00f31bb84c4b/company.xml via xpath13:24
-!- elbenfreund(~elbenfreu@g229216025.adsl.alicedsl.de) has joined #tryton13:27
-!- cheche(cheche@46.25.80.67) has joined #tryton13:39
-!- smarro(~sebastian@190.51.100.70) has joined #tryton13:59
-!- elbenfreund(~elbenfreu@g229216025.adsl.alicedsl.de) has joined #tryton14:43
-!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has joined #tryton15:10
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton15:16
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton15:41
-!- elbenfreund(~elbenfreu@g229216025.adsl.alicedsl.de) has joined #tryton15:42
-!- alimon(alimon@189.154.55.187) has joined #tryton15:49
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:17
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton16:27
-!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton16:42
-!- ndn_pit(~ndn_pit@95.56.140.162) has joined #tryton17:05
-!- ndn_pit(~ndn_pit@95.56.140.162) has left #tryton17:05
-!- ndn_pit(~ndn_pit@95.56.140.162) has joined #tryton17:06
-!- ndn_pit(~ndn_pit@95.56.140.162) has left #tryton17:06
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton17:14
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton17:28
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton17:52
elbenfreundhello.  with the release of 2.0, has there been any progress towards a (primitive) manufacturing (MRP) solution or is (http://code.google.com/p/tryton/wiki/TrytonMRPIntegration) still the status quo?18:07
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton18:08
cedkelbenfreund: there is the BOM in codereview18:13
elbenfreundic, thx.18:29
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton18:47
-!- okko1(~okko@62.58.29.41) has joined #tryton19:02
-!- ndn_pit(~ndn_pit@95.56.140.162) has joined #tryton19:05
ndn_pitwhy Eval('field.field') do not work in domain condition?19:06
ndn_piti mean dot notation do not work19:07
-!- hoRn(~jan@dslb-188-106-138-247.pools.arcor-ip.net) has joined #tryton19:12
ndn_pithelp plz i can not work without this...19:27
ndn_pitin documentation:19:28
ndn_pitclass trytond.pyson.Eval(value[, default])19:28
ndn_pit"value can use the dot notation to access objects values in the context"19:28
ndn_piti can not find example in modules19:30
-!- ndn_pit(~ndn_pit@95.56.140.162) has left #tryton20:11
-!- dfamorato_(~dfamorato@2001:470:5:630:ec34:8db2:b23f:d5e3) has joined #tryton20:44
-!- elbenfreund(~elbenfreu@p54B926B1.dip.t-dialin.net) has joined #tryton20:58
-!- enlightx(~enlightx@host224-225-dynamic.0-79-r.retail.telecomitalia.it) has joined #tryton22:06
-!- enlightx(~enlightx@host224-225-dynamic.0-79-r.retail.telecomitalia.it) has joined #tryton22:38

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!