For open discussions, an IRC Channel have been set up for Open ERP and Open Object: irc://irc.freenode.net/#openobject.
| *** OpenObjectBot` has joined #openobject | 00:24 | |
| *** sraps_ has quit IRC | 00:24 | |
| *** sraps__ has joined #openobject | 00:25 | |
| *** ovnicraft has joined #openobject | 00:25 | |
| *** mozart_ar has joined #openobject | 00:25 | |
| *** julian1828 has joined #openobject | 00:25 | |
| *** pascal has joined #openobject | 00:25 | |
| *** jehan has joined #openobject | 00:25 | |
| *** komsas has joined #openobject | 00:25 | |
| *** KangOl has joined #openobject | 00:25 | |
| *** Nyx has joined #openobject | 00:25 | |
| *** yangoon has joined #openobject | 00:25 | |
| *** mac_ has joined #openobject | 00:25 | |
| *** hjmf has joined #openobject | 00:25 | |
| *** javivf has joined #openobject | 00:25 | |
| *** edannenbe has joined #openobject | 00:25 | |
| *** cjeske has joined #openobject | 00:25 | |
| *** rationalperseus has joined #openobject | 00:25 | |
| *** kook_ has joined #openobject | 00:25 | |
| *** DracoDynasty has joined #openobject | 00:25 | |
| *** zanaga has joined #openobject | 00:25 | |
| *** rfxr has joined #openobject | 00:25 | |
| *** la_loOse has joined #openobject | 00:25 | |
| *** zigzapgabe has joined #openobject | 00:25 | |
| *** mozmck has joined #openobject | 00:25 | |
| *** dieck has joined #openobject | 00:25 | |
| *** alex_joni has joined #openobject | 00:25 | |
| *** ecarreras has joined #openobject | 00:25 | |
| *** sejo has joined #openobject | 00:25 | |
| *** marc0s has joined #openobject | 00:25 | |
| *** mozmck_work1 has joined #openobject | 00:25 | |
| *** caneca has joined #openobject | 00:25 | |
| *** pelzi_ has joined #openobject | 00:25 | |
| *** Adwitya has joined #openobject | 00:25 | |
| *** ulimit has joined #openobject | 00:25 | |
| *** barjavel.freenode.net sets mode: +o KangOl | 00:25 | |
| *** mrcast has joined #openobject | 00:33 | |
| *** Nyx has quit IRC | 00:34 | |
| *** ToadP has joined #openobject | 00:46 | |
| *** ToadP1 has joined #openobject | 00:46 | |
| *** Gavin_Achado has joined #openobject | 00:47 | |
| *** Gavin_Achado has left #openobject | 00:49 | |
| *** ToadP1 has left #openobject | 00:49 | |
| *** ToadP has left #openobject | 00:49 | |
| *** komsas has quit IRC | 00:59 | |
| *** ovnicraft has quit IRC | 01:00 | |
| *** rationalperseus has quit IRC | 01:01 | |
| *** julian1828 has quit IRC | 01:12 | |
| *** yangoon_rm has joined #openobject | 01:23 | |
| *** alex_joni has quit IRC | 01:29 | |
| *** yangoon_rm has quit IRC | 02:49 | |
| *** mrcast has quit IRC | 02:52 | |
| *** mozart_ar has left #openobject | 04:43 | |
| *** zigzapgabe has quit IRC | 04:51 | |
| *** zigzapgabe has joined #openobject | 04:52 | |
| *** julian1828 has joined #openobject | 04:52 | |
| *** yangoon has quit IRC | 05:19 | |
| *** yangoon has joined #openobject | 05:35 | |
| *** r3c4ll has joined #openobject | 06:07 | |
| *** julian1828 has left #openobject | 06:21 | |
| *** mr_amit has joined #openobject | 06:36 | |
| *** cedk has joined #openobject | 07:13 | |
| *** Gavin_Achado has joined #openobject | 07:23 | |
| *** rationalperseus has joined #openobject | 07:39 | |
| *** Gavin_Achado has left #openobject | 07:47 | |
| *** hawodi has joined #openobject | 08:30 | |
| *** mrcast has joined #openobject | 08:31 | |
| *** hawodi has quit IRC | 08:36 | |
| *** hawodi has joined #openobject | 08:37 | |
| *** cedk has quit IRC | 08:38 | |
| *** hawodi has quit IRC | 08:39 | |
| *** hawodi has joined #openobject | 08:40 | |
| *** hawodi has quit IRC | 08:41 | |
| *** hawodi has joined #openobject | 08:42 | |
| *** hawodi has quit IRC | 08:44 | |
| *** hawodi has joined #openobject | 08:45 | |
| *** pascal has quit IRC | 08:47 | |
| *** alex_joni has joined #openobject | 08:51 | |
| *** hawodi has quit IRC | 08:53 | |
| *** hawodi has joined #openobject | 08:53 | |
| *** hawodi has joined #openobject | 08:55 | |
| *** hawodi has quit IRC | 08:56 | |
| *** hawodi has joined #openobject | 08:56 | |
| *** hawodi has joined #openobject | 08:58 | |
| *** hawodi has quit IRC | 09:01 | |
| *** hawodi has joined #openobject | 09:01 | |
| *** hawodi has quit IRC | 09:04 | |
| *** hawodi has joined #openobject | 09:04 | |
| *** KangOl has quit IRC | 09:09 | |
| *** hawodi has quit IRC | 09:11 | |
| *** hawodi has joined #openobject | 09:11 | |
| *** Gavin_Achado1 has joined #openobject | 09:17 | |
| *** Gavin_Achado1 has left #openobject | 09:17 | |
| *** cjeske has quit IRC | 09:18 | |
| *** Adwitya has quit IRC | 09:18 | |
| *** la_loOse has quit IRC | 09:18 | |
| *** pelzi_ has quit IRC | 09:18 | |
| *** la_loOse has joined #openobject | 09:21 | |
| *** Adwitya has joined #openobject | 09:21 | |
| *** pelzi_ has joined #openobject | 09:21 | |
| *** dukai has joined #openobject | 09:21 | |
| *** hawodi has quit IRC | 09:22 | |
| *** hawodi has joined #openobject | 09:23 | |
| *** hawodi has quit IRC | 09:24 | |
| *** hawodi has joined #openobject | 09:25 | |
| *** hawodi has quit IRC | 09:26 | |
| *** hawodi has joined #openobject | 09:26 | |
| *** hawodi has quit IRC | 09:28 | |
| *** hawodi has joined #openobject | 09:28 | |
| *** hawodi has quit IRC | 09:30 | |
| *** hawodi has joined #openobject | 09:30 | |
| *** hawodi has quit IRC | 09:35 | |
| *** cedk has joined #openobject | 09:35 | |
| *** eLBati has joined #openobject | 09:35 | |
| *** hawodi has joined #openobject | 09:35 | |
| *** hawodi has quit IRC | 09:36 | |
| *** hawodi has joined #openobject | 09:37 | |
| *** hawodi has quit IRC | 09:39 | |
| *** hawodi has joined #openobject | 09:40 | |
| *** simahawk has joined #openobject | 09:48 | |
| *** KangOl has joined #openobject | 09:58 | |
| *** ChanServ sets mode: +o KangOl | 09:58 | |
| *** mr_amit has quit IRC | 10:01 | |
| *** caneca has quit IRC | 10:02 | |
| *** caneca has joined #openobject | 10:02 | |
| *** stijnbe has joined #openobject | 10:15 | |
| *** bechamel has joined #openobject | 10:16 | |
| *** mr_amit has joined #openobject | 10:24 | |
| *** Nyx has joined #openobject | 10:31 | |
| *** mrcast has quit IRC | 10:34 | |
| caneca | Hello, 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 |
|---|---|---|
| caneca | some one knows why? | 10:50 |
| dukai | caneca: is your char field readonly? | 10:53 |
| caneca | it was then i changes | 10:56 |
| caneca | changed | 10:57 |
| caneca | i first comment the readonly option... tested, and nothing... then i did readonly=False and still not working | 10:57 |
| caneca | dukai, should i drop the field from the database and reload the module? | 11:03 |
| dukai | no | 11:04 |
| dukai | caneca: it's enough to restart the server and upgrade the module | 11:04 |
| caneca | i am doing it over and over again and dont seem to work... | 11:05 |
| *** franckb has joined #openobject | 11:06 | |
| dukai | caneca: if you pastebin your code I could take a look at it | 11:07 |
| *** Nyx has quit IRC | 11:07 | |
| caneca | ok | 11:07 |
| *** Nyx has joined #openobject | 11:07 | |
| *** Nyx has quit IRC | 11:09 | |
| *** Nyx has joined #openobject | 11:11 | |
| *** Red15 has joined #openobject | 11:12 | |
| *** Nyx has quit IRC | 11:12 | |
| *** hsm has joined #openobject | 11:13 | |
| caneca | dukai, http://openerp.pastebin.com/fFpMxnGs | 11:14 |
| hsm | simple 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 |
| caneca | hsm, rgrep "graph" * | grep .py | 11:16 |
| hsm | Nice! thanks! What does the | do? | 11:17 |
| hsm | is it a OR? | 11:17 |
| dukai | caneca: the variables write() gets are in the vals param | 11:18 |
| dukai | no | 11:18 |
| dukai | it's a pipe redirection | 11:18 |
| dukai | and you don't need cr.commit() | 11:18 |
| bechamel | caneca: a bit better http://dpaste.com/210948/ :) | 11:18 |
| dukai | it does commit at the end if osv.except_osv is not raised during execution | 11:19 |
| dukai | caneca: 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 #openobject | 11:21 | |
| dukai | if you need the new values, you could use self.read() | 11:21 |
| caneca | i will try that... thanks | 11:25 |
| *** kalymero has joined #openobject | 11:30 | |
| caneca | dukai, still nothing... | 11:47 |
| caneca | the values i receive.. have nothing about the md5 and other fields.. so it is not saving... | 11:48 |
| caneca | i 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 |
| dukai | caneca: what do you have in vals in write() | 11:50 |
| dukai | ? | 11:50 |
| caneca | dukai, {'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 |
| caneca | the char, and integer fields that i modified in the onchange are not here | 11:52 |
| dukai | caneca: and the extension field in the openerp client is editable? | 11:53 |
| dukai | you can edit it and save it? | 11:53 |
| caneca | yes i can | 11:58 |
| caneca | i mean | 11:58 |
| caneca | the fields that are not being modified i cant | 11:59 |
| caneca | because they are readonly in the view level | 11:59 |
| caneca | those are automatic settings, the user can see but not modify | 11:59 |
| dukai | caneca: the client doesn't return values of readonly fields | 12:04 |
| dukai | that's by design... | 12:04 |
| caneca | really?? shit... this is a problem... do you know a way that i can do it? | 12:04 |
| caneca | i need to show in the screen but the user cant alter | 12:04 |
| caneca | is there another way? | 12:05 |
| dukai | there is, wait a minute | 12:05 |
| caneca | maybe i put the field twice... one visible and readonly.. other invisible and not readonly | 12:05 |
| caneca | it would be a ugly implementation actually hehehe | 12:06 |
| dukai | https://bugs.launchpad.net/openobject-client/+bug/303912 | 12:09 |
| dukai | once I had some code but I deleted it | 12:10 |
| Red15 | caneca, anything i can help with ? | 12:11 |
| caneca | hey 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 |
| caneca | dukai, 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 |
| caneca | Red15, is there a way i can make a field not readonly but not editable to the user in the client? | 12:14 |
| dukai | caneca: you can call your onchange method in the write() to update vals | 12:15 |
| Red15 | caneca, I've done something like override check_perm function | 12:16 |
| Red15 | there you can accept or deny writes/read etc | 12:16 |
| caneca | hum.. i will check that.. | 12:19 |
| *** franckb has quit IRC | 12:19 | |
| caneca | but the onchange method cant be called in the write... i dont know if it was changed or not.... | 12:19 |
| *** alam has joined #openobject | 12:21 | |
| *** javivf has left #openobject | 12:23 | |
| eLBati | can't understand the use of "context" in actions http://doc.openerp.com/developer/2_7_menu_action/7_2_actions.html?highlight=context#window-action | 12:27 |
| eLBati | how may I use such dictionary? | 12:27 |
| caneca | Red15, 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 IRC | 12:45 | |
| *** mr_amit has joined #openobject | 13:07 | |
| Red15 | caneca, sorry it's perm_read | 13:22 |
| *** jehan_ has joined #openobject | 13:24 | |
| *** simahawk is now known as simahawk|lunch | 13:27 | |
| *** alam has quit IRC | 13:30 | |
| *** hsm has left #openobject | 13:40 | |
| *** Billynkid has joined #openobject | 13:46 | |
| *** Billynkid has quit IRC | 14:08 | |
| stijnbe | Where can I find the documentation pdf files? I have to fill in all my information (again)? | 14:22 |
| *** simahawk|lunch is now known as simahawk | 14:22 | |
| *** Billynkid has joined #openobject | 14:26 | |
| *** ovnicraft has joined #openobject | 14:51 | |
| *** mrcast has joined #openobject | 14:55 | |
| *** franckb has joined #openobject | 14:58 | |
| *** cjeske has joined #openobject | 15:02 | |
| *** hjmf has quit IRC | 15:14 | |
| *** mrcast has quit IRC | 15:14 | |
| *** hjmf has joined #openobject | 15:26 | |
| *** dukai has quit IRC | 15:27 | |
| *** mrcast has joined #openobject | 15:40 | |
| eLBati | if I use action with <field name="view_type">tree</field>, after clicking on tree item, I get "No action defined" | 15:42 |
| eLBati | what should I do? | 15:42 |
| eLBati | the same seems to happen with "Employees Structure" | 15:45 |
| eLBati | and with "Bill of Material Structure".. | 15:47 |
| eLBati | is this usual? | 15:49 |
| Red15 | eLBati, what view mode is it ? | 15:49 |
| Red15 | you have view_type and view_mode | 15:49 |
| Red15 | i think you will have view_mode=tree as well | 15:49 |
| *** rationalperseus has quit IRC | 15:50 | |
| Red15 | try changing it to "form" and see if that fixes your problem | 15:50 |
| *** ovnicraft has quit IRC | 15:50 | |
| eLBati | Red15, view_mode not defined | 15:50 |
| Red15 | define it then, as form | 15:50 |
| Red15 | if 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 items | 15:50 |
| Red15 | using view_mode=form and view_type=tree will give you a plain old list | 15:51 |
| *** aPD-Knez has joined #openobject | 15:52 | |
| eLBati | Red15, uhm do you mean using view_type=form and view_mode=tree will give a plain old list ? | 15:53 |
| eLBati | Red15, could you please tell me what do you get if you click on items of "Bill of Material Structure"? | 15:53 |
| Red15 | yes that is a real tre | 15:54 |
| Red15 | tree* | 15:54 |
| eLBati | Red15, using view_type=tree and view_mode=form I get "No action defined" | 15:56 |
| Red15 | maybe other way around ? i always mix up view_type and view_mode | 15:56 |
| eLBati | when clicking on tree items | 15:57 |
| eLBati | but I wonder how to correclty use <field name="view_type">tree</field> ... | 15:59 |
| Red15 | view_type on action has effect on the view select and the state of this view | 16:02 |
| Red15 | for example using view_type=form and view_mode=form will give a form view for your model without any data | 16:02 |
| eLBati | sure | 16:03 |
| Red15 | using view_type=tree and view_mode=tree,form will also maybe be closer to what you want | 16:03 |
| Red15 | because it will still show the folding tree but will allow you to switch view_modes | 16:04 |
| eLBati | Red15, using view_type=tree I correctly get the folding tree | 16:04 |
| Red15 | so you want the folding tree, ok | 16:05 |
| Red15 | so view_type has to be tree then | 16:05 |
| eLBati | Red15, yes i want it :-) | 16:05 |
| Red15 | view_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 |
| eLBati | but if i click an item, i get "No action defined" | 16:05 |
| eLBati | I don't know where to define this action | 16:06 |
| Red15 | so set view_mode="tree,form" will allow user to switch to form view | 16:07 |
| Red15 | which is what you want right ? | 16:07 |
| *** rvalyi has joined #openobject | 16:15 | |
| eLBati | Red15, setting view_mode="tree,form" and clicking on item, I get "No action defined" | 16:21 |
| Red15 | then you'd have to start looking at keyword or something like that eLBati , let me try to find page xplaining that | 16:22 |
| Red15 | http://doc.openerp.com/developer/2_4_module_development/4_4_createing_action.html | 16:23 |
| Red15 | there this is what you should need | 16:23 |
| eLBati | thanks Red15 ;-) | 16:24 |
| *** ovnicraft has joined #openobject | 16:45 | |
| *** bechamel has quit IRC | 16:51 | |
| *** komsas has joined #openobject | 16:54 | |
| *** Spiralmatrix has joined #openobject | 17:08 | |
| *** ovnicraft has quit IRC | 17:23 | |
| *** cjeske has quit IRC | 17:30 | |
| *** ovnicraft has joined #openobject | 17:31 | |
| ovnicraft | eLBati, in waht version? | 17:46 |
| eLBati | ovnicraft, 5.0.11 | 17:52 |
| *** ovnicraft has quit IRC | 18:00 | |
| *** simahawk has quit IRC | 18:09 | |
| *** bechamel has joined #openobject | 18:16 | |
| *** Spiralmatrix has quit IRC | 18:18 | |
| *** bechamel` has joined #openobject | 18:19 | |
| *** bechamel has quit IRC | 18:21 | |
| *** stijnbe has quit IRC | 18:21 | |
| eLBati | I 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 IRC | 18:24 | |
| *** Billynkid has quit IRC | 18:32 | |
| *** edannenbe has quit IRC | 18:38 | |
| *** mrcast has quit IRC | 18:38 | |
| *** jehan_ has quit IRC | 18:50 | |
| *** simahawk has joined #openobject | 18:57 | |
| *** eLBati has quit IRC | 19:05 | |
| *** Red15 has quit IRC | 19:09 | |
| *** aPD-Knez has quit IRC | 19:09 | |
| *** aPD-Knez has joined #openobject | 19:12 | |
| *** Billynkid has joined #openobject | 19:15 | |
| *** KangOl has quit IRC | 19:18 | |
| *** xuru has joined #openobject | 19:27 | |
| xuru | howdy... do you guys know if there is a Positive Pay module available? | 19:28 |
| *** aPD-Knez has quit IRC | 19:37 | |
| *** aPD-Knez has joined #openobject | 19:38 | |
| xuru | anyone awake? | 19:44 |
| *** ovnicraft has joined #openobject | 19:48 | |
| *** simahawk has quit IRC | 19:51 | |
| *** ToadP has joined #openobject | 20:03 | |
| *** ToadP1 has joined #openobject | 20:03 | |
| *** ToadP1 has left #openobject | 20:07 | |
| *** ToadP has left #openobject | 20:07 | |
| *** xuru has left #openobject | 20:07 | |
| *** kalymero has quit IRC | 20:07 | |
| *** caneca has quit IRC | 20:09 | |
| *** KangOl has joined #openobject | 20:14 | |
| *** ChanServ sets mode: +o KangOl | 20:14 | |
| *** caneca has joined #openobject | 20:17 | |
| *** ovnicraft has quit IRC | 20:19 | |
| *** pepeu has joined #openobject | 20:28 | |
| *** eLBati has joined #openobject | 20:45 | |
| *** r3c4ll has quit IRC | 21:01 | |
| *** Billynkid has quit IRC | 21:02 | |
| *** Billynkid has joined #openobject | 21:12 | |
| *** r3c4ll has joined #openobject | 21:17 | |
| *** Spiralmatrix has joined #openobject | 21:28 | |
| *** mr_amit has quit IRC | 21:42 | |
| *** jehan has quit IRC | 21:48 | |
| *** mrcast has joined #openobject | 22:07 | |
| *** ovnicraft has joined #openobject | 22:15 | |
| *** tarik has joined #openobject | 22:16 | |
| *** julian1828 has joined #openobject | 22:28 | |
| *** julian1828 has quit IRC | 22:36 | |
| *** franckb has joined #openobject | 22:38 | |
| *** julian1828 has joined #openobject | 22:44 | |
| *** Billynkid has quit IRC | 22:47 | |
| *** pepeu has quit IRC | 22:49 | |
| *** Billynkid has joined #openobject | 22:55 | |
| *** r3c4ll has quit IRC | 23:15 | |
| *** eLBati has quit IRC | 23:18 | |
| *** r3c4ll has joined #openobject | 23:34 | |
| *** mrcast has quit IRC | 23:37 | |
| *** julian1828 has quit IRC | 23:38 | |
| *** ToadP has joined #openobject | 23:38 | |
| *** ToadP1 has joined #openobject | 23:38 | |
| *** KangOl1 has joined #openobject | 23:44 | |
| *** KangOl has quit IRC | 23:46 | |
| *** bechamel` has quit IRC | 00:15 | |