IRC Channels

For open discussions, an IRC Channel have been set up for Open ERP and Open Object: irc://irc.freenode.net/#openobject.

Thursday, 2010-07-22

*** ToadP has joined #openobject00:27
*** ToadP1 has joined #openobject00:27
*** Gavin_Achado1 has joined #openobject00:29
*** Gavin_Achado1 has left #openobject00:30
*** pheller has joined #openobject00:37
*** ovnicraft has quit IRC01:09
*** pheller has quit IRC01:46
*** pheller has joined #openobject01:50
*** digitalsatori has joined #openobject02:29
*** pheller has left #openobject02:37
*** hjmf has quit IRC02:49
*** yangoon has quit IRC02:49
*** yangoon has joined #openobject02:56
*** hjmf has joined #openobject03:50
*** Gavin_Achado has joined #openobject04:01
*** hjmf has joined #openobject04:06
*** zigzapgabe_ has joined #openobject04:13
*** zigzapgabe__ has joined #openobject04:15
*** zigzapgabe_ has quit IRC04:19
*** hjmf has joined #openobject04:24
*** zigzapgabe__ has quit IRC04:31
*** Gavin_Achado has left #openobject04:35
*** hjmf has joined #openobject04:41
*** julian1828 has quit IRC04:56
*** hjmf has joined #openobject04:59
*** bearcame has joined #openobject05:07
*** khadafi-dolphin_ has joined #openobject05:07
*** hjmf has joined #openobject05:16
*** yangoon has quit IRC05:18
*** hjmf has joined #openobject05:32
*** yangoon has joined #openobject05:34
*** hjmf has joined #openobject05:49
*** hjmf has quit IRC05:53
*** hjmf has joined #openobject05:54
*** hjmf has joined #openobject06:10
*** digitalsatori has quit IRC06:19
*** hjmf has joined #openobject06:27
*** julian1828 has joined #openobject07:41
*** bearcame has quit IRC07:52
*** bearcame has joined #openobject07:52
*** mr_amit has joined #openobject08:02
*** mrcast has joined #openobject08:16
*** xrg_ has quit IRC08:21
*** hjmf has quit IRC08:52
*** rationalperseus has joined #openobject08:53
*** simahawk has joined #openobject08:54
*** cedk has quit IRC08:58
*** mrcast has quit IRC09:00
*** hjmf has joined #openobject09:04
*** ecarreras has quit IRC09:05
*** eLBati has joined #openobject09:05
*** ecarreras has joined #openobject09:08
*** xrg_ has joined #openobject09:13
*** hjmf has joined #openobject09:21
*** cedk has joined #openobject09:23
*** rona1 has joined #openobject09:24
*** rona1 has left #openobject09:24
*** julian1828 has quit IRC09:30
*** hjmf has joined #openobject09:38
*** hsm has joined #openobject09:44
hsmhi guys. Does anyone know if it is possible to hide a button (<button) conditionally? I know the parameter 'states', but that condition is not usable in my case.09:46
hsmi found the attrs="{ value to make a button invisible.. Can python be used in the condition?09:57
hsmon http://doc.openerp.com/developer/2_6_views_events/views/design_element.html#field attrs is explained10:00
mr_amithsm: besides that, tou can either use states or attrs not both (web client)10:02
mr_amits/tou/you10:02
hsmmr_amit: thanks, i did not know that.. but do you know if 'field_name','operator', 'value' can use python code in the value part?10:03
mr_amitno10:03
mr_amitthe expression will be evaluated at client side10:04
mr_amitusing javascript10:04
mr_amitso the values should be field value10:05
* mr_amit bbs10:06
hsmmr_amit: ok, that helps, thanks anyway10:09
cedkmr_amit: one more point where Tryton beats OE http://doc.tryton.org/1.6/trytond/doc/topics/pyson.html :-)10:09
*** julian1828 has joined #openobject10:10
mr_amitcedk: wonder how pyson handles Eval10:13
*** mrcast has joined #openobject10:13
cedkmr_amit: it takes values from the record10:21
*** zigzapgabe_ has joined #openobject10:23
*** bechamel has joined #openobject10:23
*** zigzapgabe_ has quit IRC10:24
eLBatihow can I load a custom csv translation file by module?10:46
*** julian1828 has quit IRC10:54
*** cjeske has joined #openobject11:17
*** edannenbe has joined #openobject11:20
*** Red15 has joined #openobject11:35
*** simahawk has quit IRC11:50
*** ok9 has joined #openobject12:03
*** skunx has joined #openobject12:19
*** khadafi-dolphin_ has quit IRC12:25
*** bearcame has quit IRC12:25
*** ok9 has quit IRC12:28
*** skunx has quit IRC12:29
*** tarik has joined #openobject12:34
*** simahawk has joined #openobject12:54
*** eLBati has quit IRC13:01
*** mrcast has quit IRC13:05
*** mrcast has joined #openobject13:08
*** cedk has quit IRC13:12
*** cedk has joined #openobject13:15
*** matrixise has joined #openobject13:37
*** matrixise has quit IRC13:42
*** matrixise has joined #openobject13:42
*** rationalperseus has quit IRC13:46
*** rationalperseus has joined #openobject13:48
*** KangOl has left #openobject13:52
*** amigrave has joined #openobject13:52
*** eLBati has joined #openobject13:58
*** simahawk has quit IRC14:01
hsmCan you guys explain this? http://pastebin.com/Un17jSnN14:02
hsmi tried to get weeknumbers.. if you compare it to your own calendar it doesn't match.. jan 1st must be in week 1, as dec 31th14:03
*** ToadP has left #openobject14:04
*** ToadP1 has left #openobject14:04
edannenbehsm, jan should be 2013 i guess?14:07
edannenbeits still 2012 in the strptime14:08
hsmsorry..14:11
hsmbut still..14:12
hsmhttp://pastebin.com/SH8sSTji14:12
hsmedannenbe: thanks.. what do you think?14:12
hsmedannenbe: i think it has something to do with ISO..14:13
hsmbut im not sure how to fix this..14:13
hsmhttp://pastebin.com/YnZefwky this seems better.. strange14:17
*** simahawk has joined #openobject14:34
*** tarik_ has joined #openobject14:36
*** tarik has quit IRC14:40
*** simahawk has quit IRC14:44
*** cjeske has quit IRC14:51
*** cjeske has joined #openobject14:55
Red15hsm: shudder I'd honestly suggest to not use datetime14:55
hsmRed15: hi! Not DateTime or not datetime?14:56
hsmRed15: datetime is for now the only method that does what I want..14:56
*** matrixise has quit IRC14:56
*** matrixise has joined #openobject14:58
*** julian1828 has joined #openobject15:01
*** amigrave has quit IRC15:01
*** amigrave has joined #openobject15:02
*** mrcast_ has joined #openobject15:12
*** mrcast has quit IRC15:12
*** mrcast_ has quit IRC15:13
*** julian1828 has quit IRC15:19
*** julian1828 has joined #openobject15:20
*** digitalsatori has joined #openobject15:21
*** simahawk has joined #openobject15:33
*** pepeu has joined #openobject15:35
*** digitalsatori has quit IRC15:36
*** cedk has quit IRC15:39
*** cedk has joined #openobject15:39
*** mrcast has joined #openobject15:49
*** simahawk has quit IRC15:49
*** simahawk has joined #openobject15:53
*** amigrave has quit IRC15:56
*** digitalsatori has joined #openobject15:59
*** julian1828 has quit IRC16:03
*** simahawk has quit IRC16:07
*** digitalsatori has quit IRC16:07
*** julian1828 has joined #openobject16:09
*** simahawk has joined #openobject16:24
*** simahawk has quit IRC16:30
*** julian1828 has quit IRC16:34
*** matrixise has quit IRC16:40
*** eLBati has quit IRC16:46
*** simahawk has joined #openobject16:53
*** eLBati has joined #openobject16:57
*** matrixise has joined #openobject17:06
*** r3c4ll has joined #openobject17:08
*** hsm has left #openobject17:12
*** simahawk has quit IRC17:13
*** caneca has joined #openobject17:15
canecaHello, I have a module with a one2many field, and i want to choose one of them to be the default value. How i do it?17:18
matrixisereplace your one2many by one many2one field17:19
canecaFor exemple: Nicknames.on2many: [Jonny, Jo, John, Pepe] Default_Nickname [Jo]17:19
matrixiseok, use the _defaults keyword17:20
canecabut the _default is for choosing the value of the field in the creation if you dont specify one... isnt it?17:21
cedkcaneca: better order it by sequence and define the first one as the default17:21
canecai cant define the default... the user that define...17:21
matrixisecedk: good choice17:22
cedkmatrixise: we don like that in Tryton for default address17:23
*** matrixise has quit IRC17:24
*** matrixise has joined #openobject17:24
matrixisere17:25
canecamaybe if i put a many2one in the nickname module, with a default flag there... where one person can have just one default nickname... and then in the person i just call the one2many nicknames...17:27
canecamaybe this will do...17:28
cedkcaneca: but how can you ensure that the many2one will contain a value of the one2many17:31
canecabecause the many2one will always be created inside thw other module... i thing17:32
canecathink17:32
cedkcaneca: I don't understand17:33
cedkcaneca: i don't speak about database column17:34
canecai have a person... i will just create nicknames for this person inside the person's view... so.. everytime i create a new nickname i ensure that this nickname will have the many2one field with right person_id17:35
cedkcaneca: that the normal behavior of one2many17:37
canecai am a little confuse with one2many and many2one... sorry hehehe...17:38
canecaif i create a one2many in person... can i access it from the nickname? for example?17:39
cedkcaneca: a one2many requires that you define a many2one17:40
*** edannenbe has quit IRC17:44
canecacedk, and the oposite is also true?17:45
*** bechamel has quit IRC17:50
*** cjeske has quit IRC17:57
cedkcaneca: no18:01
*** cedk has quit IRC18:02
*** mr_amit has quit IRC18:10
*** mrcast has quit IRC18:15
*** xrg_ has quit IRC18:28
*** tarik_ has quit IRC18:31
*** cedk has joined #openobject18:48
*** Red15 has quit IRC18:49
*** matrixise has quit IRC19:21
*** ovnicraft has joined #openobject19:27
*** xrg_ has joined #openobject19:27
*** eLBati has quit IRC19:49
*** ToadP has joined #openobject19:50
*** ToadP1 has joined #openobject19:50
*** ToadP1 has left #openobject19:50
*** hawodi has joined #openobject19:59
*** eLBati has joined #openobject20:04
*** LucaSub1 has joined #openobject20:16
*** LucaSub1 has left #openobject20:17
eLBatihere http://doc.openerp.com/book/3/3_9/payment_terms.html says "Text that you put in the field Description is used on invoices", but after creating my invoice, with my payment term, can't see such description anywhere20:44
*** quodt has joined #openobject21:06
*** hawodi has quit IRC21:13
*** quodt has quit IRC21:14
*** quodt has joined #openobject21:14
*** quodt_ has joined #openobject21:21
*** quodt has quit IRC21:25
*** mrcast has joined #openobject22:15
*** ludo2 has joined #openobject22:27
*** ludo2 has quit IRC22:31
*** pepeu has quit IRC23:06
*** LucaSub1 has joined #openobject23:14
*** LucaSub1 has left #openobject23:15
*** matrixise has joined #openobject23:18
*** rationalperseus has quit IRC23:32
*** Gavin_Achado has joined #openobject23:51
*** Gavin_Achado has left #openobject23:52
*** LucaSub1 has joined #openobject23:57
*** LucaSub1 has left #openobject23:57
*** LucaSub1 has joined #openobject00:00
*** LucaSub1 has left #openobject00:00
*** LucaSub1 has joined #openobject00:01
*** LucaSub1 has left #openobject00:01
*** LucaSub1 has joined #openobject00:02
*** LucaSub1 has left #openobject00:03
*** eLBati has quit IRC00:06
*** LucaSub1 has joined #openobject00:08
*** LucaSub1 has left #openobject00:11