IRC logs of #tryton for Wednesday, 2011-09-07 #tryton log beginning Wed Sep 7 00:00:01 CEST 2011
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:03
-!- dfamorato_( has joined #tryton00:12
-!- version2beta(~rob@ 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@ has joined #tryton00:42
-!- ikks(~ikks@ has joined #tryton01:24
-!- smarro(~sebastian@ has joined #tryton01:53
-!- dfamorato( has joined #tryton01:58
-!- saxa(~sasa@ has joined #tryton02:48
-!- bvillasanti(~bvillasan@ has joined #tryton03:23
-!- bvillasanti(~bvillasan@ has left #tryton03:23
-!- saxa(~sasa@ has joined #tryton03:58
-!- elbenfreund( has joined #tryton04:48
-!- alimon(~alimon@ has joined #tryton05:22
-!- blast_hardcheese( has joined #tryton06:41
-!- vladimirek( has joined #tryton07:26
-!- pjstevns( has joined #tryton08:03
-!- pjstevns( has left #tryton08:03
-!- hoRn( has joined #tryton08:23
-!- bechamel( has joined #tryton08:33
-!- okko1(~okko@ has joined #tryton08:38
-!- pjstevns( has joined #tryton09:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:24
-!- mhi( has joined #tryton09:29
-!- nicoe(~nicoe@ has joined #tryton09:31
-!- meanmicio(~lfm@ has joined #tryton09:48
-!- meanmicio(~lfm@ has joined #tryton09:51
-!- mari_363636(~martin@ has joined #tryton09:54
-!- mari_363636(~martin@ has left #tryton09:55
-!- reichlich( 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@ has joined #tryton11:11
-!- ndn_pit(~ndn_pit@ has left #tryton11:11
-!- reichlich_( has joined #tryton11:14
-!- kostas( 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
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
kostasThank you Cedric, I will try it.12:02
-!- Pander( 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
cedkPander: it is a mq repository with basic example of development12:11
cedkPander: the last patch is about extending party12:12
-!- hoRn( has joined #tryton12:15
PanderOk, but that is changing the model and is not backwards compatible, right?12: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
cedkbut it doesn't extend an existing Model12:28
-!- yangoon( 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@ 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@ 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@ has left #tryton12:50
Pandercedk: my first steps are here please have a look at it12:55
bechamelPander: example of extension of xml views via xpath13:24
-!- elbenfreund( has joined #tryton13:27
-!- cheche(cheche@ has joined #tryton13:39
-!- smarro(~sebastian@ has joined #tryton13:59
-!- elbenfreund( has joined #tryton14:43
-!- bvillasanti( has joined #tryton15:10
-!- hoRn( has joined #tryton15:16
-!- hoRn( has joined #tryton15:41
-!- elbenfreund( has joined #tryton15:42
-!- alimon(alimon@ has joined #tryton15:49
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:17
-!- ccomb( has joined #tryton16:27
-!- vladimirek( has joined #tryton16:42
-!- ndn_pit(~ndn_pit@ has joined #tryton17:05
-!- ndn_pit(~ndn_pit@ has left #tryton17:05
-!- ndn_pit(~ndn_pit@ has joined #tryton17:06
-!- ndn_pit(~ndn_pit@ has left #tryton17:06
-!- dfamorato( has joined #tryton17:14
-!- hoRn( has joined #tryton17:28
-!- hoRn( has joined #tryton17:52
elbenfreundhello.  with the release of 2.0, has there been any progress towards a (primitive) manufacturing (MRP) solution or is ( still the status quo?18:07
-!- ccomb( has joined #tryton18:08
cedkelbenfreund: there is the BOM in codereview18:13
elbenfreundic, thx.18:29
-!- hoRn( has joined #tryton18:47
-!- okko1(~okko@ has joined #tryton19:02
-!- ndn_pit(~ndn_pit@ 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( 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@ has left #tryton20:11
-!- dfamorato_(~dfamorato@2001:470:5:630:ec34:8db2:b23f:d5e3) has joined #tryton20:44
-!- elbenfreund( has joined #tryton20:58
-!- enlightx( has joined #tryton22:06
-!- enlightx( has joined #tryton22:38

Generated by 2.11.0 by Marius Gedminas - find it at!