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-01

*** OpenObjectBot` has joined #openobject00:24
*** sraps_ has quit IRC00:24
*** sraps__ has joined #openobject00:25
*** ovnicraft has joined #openobject00:25
*** mozart_ar has joined #openobject00:25
*** julian1828 has joined #openobject00:25
*** pascal has joined #openobject00:25
*** jehan has joined #openobject00:25
*** komsas has joined #openobject00:25
*** KangOl has joined #openobject00:25
*** Nyx has joined #openobject00:25
*** yangoon has joined #openobject00:25
*** mac_ has joined #openobject00:25
*** hjmf has joined #openobject00:25
*** javivf has joined #openobject00:25
*** edannenbe has joined #openobject00:25
*** cjeske has joined #openobject00:25
*** rationalperseus has joined #openobject00:25
*** kook_ has joined #openobject00:25
*** DracoDynasty has joined #openobject00:25
*** zanaga has joined #openobject00:25
*** rfxr has joined #openobject00:25
*** la_loOse has joined #openobject00:25
*** zigzapgabe has joined #openobject00:25
*** mozmck has joined #openobject00:25
*** dieck has joined #openobject00:25
*** alex_joni has joined #openobject00:25
*** ecarreras has joined #openobject00:25
*** sejo has joined #openobject00:25
*** marc0s has joined #openobject00:25
*** mozmck_work1 has joined #openobject00:25
*** caneca has joined #openobject00:25
*** pelzi_ has joined #openobject00:25
*** Adwitya has joined #openobject00:25
*** ulimit has joined #openobject00:25
*** barjavel.freenode.net sets mode: +o KangOl00:25
*** mrcast has joined #openobject00:33
*** Nyx has quit IRC00:34
*** ToadP has joined #openobject00:46
*** ToadP1 has joined #openobject00:46
*** Gavin_Achado has joined #openobject00:47
*** Gavin_Achado has left #openobject00:49
*** ToadP1 has left #openobject00:49
*** ToadP has left #openobject00:49
*** komsas has quit IRC00:59
*** ovnicraft has quit IRC01:00
*** rationalperseus has quit IRC01:01
*** julian1828 has quit IRC01:12
*** yangoon_rm has joined #openobject01:23
*** alex_joni has quit IRC01:29
*** yangoon_rm has quit IRC02:49
*** mrcast has quit IRC02:52
*** mozart_ar has left #openobject04:43
*** zigzapgabe has quit IRC04:51
*** zigzapgabe has joined #openobject04:52
*** julian1828 has joined #openobject04:52
*** yangoon has quit IRC05:19
*** yangoon has joined #openobject05:35
*** r3c4ll has joined #openobject06:07
*** julian1828 has left #openobject06:21
*** mr_amit has joined #openobject06:36
*** cedk has joined #openobject07:13
*** Gavin_Achado has joined #openobject07:23
*** rationalperseus has joined #openobject07:39
*** Gavin_Achado has left #openobject07:47
*** hawodi has joined #openobject08:30
*** mrcast has joined #openobject08:31
*** hawodi has quit IRC08:36
*** hawodi has joined #openobject08:37
*** cedk has quit IRC08:38
*** hawodi has quit IRC08:39
*** hawodi has joined #openobject08:40
*** hawodi has quit IRC08:41
*** hawodi has joined #openobject08:42
*** hawodi has quit IRC08:44
*** hawodi has joined #openobject08:45
*** pascal has quit IRC08:47
*** alex_joni has joined #openobject08:51
*** hawodi has quit IRC08:53
*** hawodi has joined #openobject08:53
*** hawodi has joined #openobject08:55
*** hawodi has quit IRC08:56
*** hawodi has joined #openobject08:56
*** hawodi has joined #openobject08:58
*** hawodi has quit IRC09:01
*** hawodi has joined #openobject09:01
*** hawodi has quit IRC09:04
*** hawodi has joined #openobject09:04
*** KangOl has quit IRC09:09
*** hawodi has quit IRC09:11
*** hawodi has joined #openobject09:11
*** Gavin_Achado1 has joined #openobject09:17
*** Gavin_Achado1 has left #openobject09:17
*** cjeske has quit IRC09:18
*** Adwitya has quit IRC09:18
*** la_loOse has quit IRC09:18
*** pelzi_ has quit IRC09:18
*** la_loOse has joined #openobject09:21
*** Adwitya has joined #openobject09:21
*** pelzi_ has joined #openobject09:21
*** dukai has joined #openobject09:21
*** hawodi has quit IRC09:22
*** hawodi has joined #openobject09:23
*** hawodi has quit IRC09:24
*** hawodi has joined #openobject09:25
*** hawodi has quit IRC09:26
*** hawodi has joined #openobject09:26
*** hawodi has quit IRC09:28
*** hawodi has joined #openobject09:28
*** hawodi has quit IRC09:30
*** hawodi has joined #openobject09:30
*** hawodi has quit IRC09:35
*** cedk has joined #openobject09:35
*** eLBati has joined #openobject09:35
*** hawodi has joined #openobject09:35
*** hawodi has quit IRC09:36
*** hawodi has joined #openobject09:37
*** hawodi has quit IRC09:39
*** hawodi has joined #openobject09:40
*** simahawk has joined #openobject09:48
*** KangOl has joined #openobject09:58
*** ChanServ sets mode: +o KangOl09:58
*** mr_amit has quit IRC10:01
*** caneca has quit IRC10:02
*** caneca has joined #openobject10:02
*** stijnbe has joined #openobject10:15
*** bechamel has joined #openobject10:16
*** mr_amit has joined #openobject10:24
*** Nyx has joined #openobject10:31
*** mrcast has quit IRC10:34
canecaHello, I did a function onchange that clean one char field and some other flags. Them i am overwriting the orm write function to save a product as i wish, but the char field that i altered is not being send to the write function, in the other hand, the boolean fields are...10:49
canecasome one knows why?10:50
dukaicaneca: is your char field readonly?10:53
canecait was then i changes10:56
canecachanged10:57
canecai first comment the readonly option... tested, and nothing... then i did readonly=False and still not working10:57
canecadukai, should i drop the field from the database and reload the module?11:03
dukaino11:04
dukaicaneca: it's enough to restart the server and upgrade the module11:04
canecai am doing it over and over again and dont seem to work...11:05
*** franckb has joined #openobject11:06
dukaicaneca: if you pastebin your code I could take a look at it11:07
*** Nyx has quit IRC11:07
canecaok11:07
*** Nyx has joined #openobject11:07
*** Nyx has quit IRC11:09
*** Nyx has joined #openobject11:11
*** Red15 has joined #openobject11:12
*** Nyx has quit IRC11:12
*** hsm has joined #openobject11:13
canecadukai, http://openerp.pastebin.com/fFpMxnGs11:14
hsmsimple grep question: I am familiar with rgrep "graph" *, but what if I want to see all *.py files with graph in it? rgrep "graph" *.py doesn't work....11:14
canecahsm,  rgrep "graph" * | grep .py11:16
hsmNice! thanks! What does the | do?11:17
hsmis it a OR?11:17
dukaicaneca: the variables write() gets are in the vals param11:18
dukaino11:18
dukaiit's a pipe redirection11:18
dukaiand you don't need cr.commit()11:18
bechamelcaneca: a bit better http://dpaste.com/210948/ :)11:18
dukaiit does commit at the end if osv.except_osv is not raised during execution11:19
dukaicaneca: about the self.browse(): I think browse() in this case, during the execution of the write() method, returns the old values (caching)11:21
*** Nyx has joined #openobject11:21
dukaiif you need the new values, you could use self.read()11:21
canecai will try that... thanks11:25
*** kalymero has joined #openobject11:30
canecadukai, still nothing...11:47
canecathe values i receive.. have nothing about the md5 and other fields.. so it is not saving...11:48
canecai created a test fields.char did some alteration in the onchange.. and them i saw that this new field as well didnt come to the write...11:48
dukaicaneca: what do you have in vals in write()11:50
dukai?11:50
canecadukai, {'url': 'http://www.laboitenoire.net/images/produits/ZILDJIAN/PZI-ASGH-B.jpg', 'label': 'ZILDJIAN ASGH', 'default': 0, 'active': 1, 'error_log_ids': [], 'thumbnail': 0, 'duplicated': 0}11:52
canecathe char, and integer fields that i modified in the onchange are not here11:52
dukaicaneca: and the extension field in the openerp client is editable?11:53
dukaiyou can edit it and save it?11:53
canecayes i can11:58
canecai mean11:58
canecathe fields that are not being modified i cant11:59
canecabecause they are readonly in the view level11:59
canecathose are automatic settings, the user can see but not modify11:59
dukaicaneca: the client doesn't return values of readonly fields12:04
dukaithat's by design...12:04
canecareally?? shit... this is a problem... do you know a way that i can do it?12:04
canecai need to show in the screen but the user cant alter12:04
canecais there another way?12:05
dukaithere is, wait a minute12:05
canecamaybe i put the field twice... one visible and readonly.. other invisible and not readonly12:05
canecait would be a ugly implementation actually hehehe12:06
dukaihttps://bugs.launchpad.net/openobject-client/+bug/30391212:09
dukaionce I had some code but I deleted it12:10
Red15caneca, anything i can help with ?12:11
canecahey Red15 i am having some problems with readonly fields... and dukai is helping me... looks like what i want to do is not possible.... heheheh...12:13
canecadukai,  i can patch my client because there is duzen of people using it in different operation systems... and the company decided not to patch the client...12:14
canecaRed15, is there a way i can make a field not readonly but not editable to the user in the client?12:14
dukaicaneca: you can call your onchange method in the write() to update vals12:15
Red15caneca, I've done something like override check_perm function12:16
Red15there you can accept or deny writes/read etc12:16
canecahum.. i will check that..12:19
*** franckb has quit IRC12:19
canecabut the onchange method cant be called in the write... i dont know if it was changed or not....12:19
*** alam has joined #openobject12:21
*** javivf has left #openobject12:23
eLBatican't understand the use of "context" in actions http://doc.openerp.com/developer/2_7_menu_action/7_2_actions.html?highlight=context#window-action12:27
eLBatihow may I use such dictionary?12:27
canecaRed15, im not finding the check_perm function in the openerp documentation... is it there or it is just in the code? =)12:32
*** mr_amit has quit IRC12:45
*** mr_amit has joined #openobject13:07
Red15caneca, sorry it's perm_read13:22
*** jehan_ has joined #openobject13:24
*** simahawk is now known as simahawk|lunch13:27
*** alam has quit IRC13:30
*** hsm has left #openobject13:40
*** Billynkid has joined #openobject13:46
*** Billynkid has quit IRC14:08
stijnbeWhere can I find the documentation pdf files? I have to fill in all my information (again)?14:22
*** simahawk|lunch is now known as simahawk14:22
*** Billynkid has joined #openobject14:26
*** ovnicraft has joined #openobject14:51
*** mrcast has joined #openobject14:55
*** franckb has joined #openobject14:58
*** cjeske has joined #openobject15:02
*** hjmf has quit IRC15:14
*** mrcast has quit IRC15:14
*** hjmf has joined #openobject15:26
*** dukai has quit IRC15:27
*** mrcast has joined #openobject15:40
eLBatiif I use action with <field name="view_type">tree</field>, after clicking on tree item, I get "No action defined"15:42
eLBatiwhat should I do?15:42
eLBatithe same seems to happen with "Employees Structure"15:45
eLBatiand with "Bill of Material Structure"..15:47
eLBatiis this usual?15:49
Red15eLBati, what view mode is it ?15:49
Red15you have view_type and view_mode15:49
Red15i think you will have view_mode=tree as well15:49
*** rationalperseus has quit IRC15:50
Red15try changing it to "form" and see if that fixes your problem15:50
*** ovnicraft has quit IRC15:50
eLBatiRed15, view_mode not defined15:50
Red15define it then, as form15:50
Red15if you have view_mode=tree and view_type=tree you will get a real folding tree, which has a different action when you click on items15:50
Red15using view_mode=form and view_type=tree will give you a plain old list15:51
*** aPD-Knez has joined #openobject15:52
eLBatiRed15, uhm do you mean using view_type=form and view_mode=tree will give a plain old list ?15:53
eLBatiRed15, could you please tell me what do you get if you click on items of "Bill of Material Structure"?15:53
Red15yes that is a real tre15:54
Red15tree*15:54
eLBatiRed15, using view_type=tree and view_mode=form I get "No action defined"15:56
Red15maybe other way around ? i always mix up view_type and view_mode15:56
eLBatiwhen clicking on tree items15:57
eLBatibut I wonder how to correclty use <field name="view_type">tree</field> ...15:59
Red15view_type on action has effect on the view select and the state of this view16:02
Red15for example using view_type=form and view_mode=form will give a form view for your model without any data16:02
eLBatisure16:03
Red15using view_type=tree and view_mode=tree,form will also maybe be closer to what you want16:03
Red15because it will still show the folding tree but will allow you to switch view_modes16:04
eLBatiRed15, using view_type=tree I correctly get the folding tree16:04
Red15so you want the folding tree, ok16:05
Red15so view_type has to be tree then16:05
eLBatiRed15, yes i want it :-)16:05
Red15view_mode is the selection of possible other views that the user will see (buttons at top, or grayed out if not allowed in action)16:05
eLBatibut if i click an item, i get "No action defined"16:05
eLBatiI don't know where to define this action16:06
Red15so set view_mode="tree,form" will allow user to switch to form view16:07
Red15which is what you want right ?16:07
*** rvalyi has joined #openobject16:15
eLBatiRed15, setting view_mode="tree,form" and clicking on item,  I get  "No action defined"16:21
Red15then you'd have to start looking at keyword or something like that eLBati , let me try to find page xplaining that16:22
Red15http://doc.openerp.com/developer/2_4_module_development/4_4_createing_action.html16:23
Red15there this is what you should need16:23
eLBatithanks Red15 ;-)16:24
*** ovnicraft has joined #openobject16:45
*** bechamel has quit IRC16:51
*** komsas has joined #openobject16:54
*** Spiralmatrix has joined #openobject17:08
*** ovnicraft has quit IRC17:23
*** cjeske has quit IRC17:30
*** ovnicraft has joined #openobject17:31
ovnicrafteLBati, in waht version?17:46
eLBatiovnicraft, 5.0.1117:52
*** ovnicraft has quit IRC18:00
*** simahawk has quit IRC18:09
*** bechamel has joined #openobject18:16
*** Spiralmatrix has quit IRC18:18
*** bechamel` has joined #openobject18:19
*** bechamel has quit IRC18:21
*** stijnbe has quit IRC18:21
eLBatiI  have 2 form views for the same object. is it possible to specify which one of these must be open when clicking on a list record?18:22
*** franckb has quit IRC18:24
*** Billynkid has quit IRC18:32
*** edannenbe has quit IRC18:38
*** mrcast has quit IRC18:38
*** jehan_ has quit IRC18:50
*** simahawk has joined #openobject18:57
*** eLBati has quit IRC19:05
*** Red15 has quit IRC19:09
*** aPD-Knez has quit IRC19:09
*** aPD-Knez has joined #openobject19:12
*** Billynkid has joined #openobject19:15
*** KangOl has quit IRC19:18
*** xuru has joined #openobject19:27
xuruhowdy...  do you guys know if there is a Positive Pay module available?19:28
*** aPD-Knez has quit IRC19:37
*** aPD-Knez has joined #openobject19:38
xuruanyone awake?19:44
*** ovnicraft has joined #openobject19:48
*** simahawk has quit IRC19:51
*** ToadP has joined #openobject20:03
*** ToadP1 has joined #openobject20:03
*** ToadP1 has left #openobject20:07
*** ToadP has left #openobject20:07
*** xuru has left #openobject20:07
*** kalymero has quit IRC20:07
*** caneca has quit IRC20:09
*** KangOl has joined #openobject20:14
*** ChanServ sets mode: +o KangOl20:14
*** caneca has joined #openobject20:17
*** ovnicraft has quit IRC20:19
*** pepeu has joined #openobject20:28
*** eLBati has joined #openobject20:45
*** r3c4ll has quit IRC21:01
*** Billynkid has quit IRC21:02
*** Billynkid has joined #openobject21:12
*** r3c4ll has joined #openobject21:17
*** Spiralmatrix has joined #openobject21:28
*** mr_amit has quit IRC21:42
*** jehan has quit IRC21:48
*** mrcast has joined #openobject22:07
*** ovnicraft has joined #openobject22:15
*** tarik has joined #openobject22:16
*** julian1828 has joined #openobject22:28
*** julian1828 has quit IRC22:36
*** franckb has joined #openobject22:38
*** julian1828 has joined #openobject22:44
*** Billynkid has quit IRC22:47
*** pepeu has quit IRC22:49
*** Billynkid has joined #openobject22:55
*** r3c4ll has quit IRC23:15
*** eLBati has quit IRC23:18
*** r3c4ll has joined #openobject23:34
*** mrcast has quit IRC23:37
*** julian1828 has quit IRC23:38
*** ToadP has joined #openobject23:38
*** ToadP1 has joined #openobject23:38
*** KangOl1 has joined #openobject23:44
*** KangOl has quit IRC23:46
*** bechamel` has quit IRC00:15