For open discussions, an IRC Channel have been set up for Open ERP and Open Object: irc://irc.freenode.net/#openobject.
| *** Gavin_Achado has joined #openobject | 00:39 | |
| *** Gavin_Achado has left #openobject | 00:39 | |
| *** zigzapgabe_ has joined #openobject | 01:41 | |
| *** digitalsatori has joined #openobject | 02:11 | |
| *** mozmck_work has quit IRC | 03:55 | |
| *** G_O_D has joined #openobject | 03:55 | |
| *** G_O_D has quit IRC | 04:15 | |
| *** G_O_D has joined #openobject | 04:15 | |
| *** ToadP has joined #openobject | 05:13 | |
| *** ToadP1 has joined #openobject | 05:13 | |
| *** yangoon has quit IRC | 05:19 | |
| *** yangoon has joined #openobject | 05:35 | |
| *** digitalsatori has quit IRC | 05:48 | |
| *** digitalsatori has joined #openobject | 05:51 | |
| *** G_O_D has quit IRC | 06:35 | |
| *** digitalsatori has quit IRC | 06:37 | |
| *** mr_amit has joined #openobject | 07:01 | |
| *** digitalsatori has joined #openobject | 07:30 | |
| *** digitalsatori has quit IRC | 07:38 | |
| *** mrcast has joined #openobject | 07:39 | |
| *** cedk has joined #openobject | 07:51 | |
| *** digitalsatori has joined #openobject | 08:06 | |
| *** digitalsatori has quit IRC | 08:16 | |
| *** mr_amit has quit IRC | 08:34 | |
| *** eLBati has joined #openobject | 08:41 | |
| *** zigzapgabe_ has quit IRC | 08:50 | |
| *** digitalsatori has joined #openobject | 08:50 | |
| *** quodt has joined #openobject | 08:51 | |
| *** mr_amit has joined #openobject | 08:53 | |
| *** cedk has quit IRC | 08:53 | |
| *** KangOl has quit IRC | 08:55 | |
| *** Nyx has joined #openobject | 09:11 | |
| *** rona1 has joined #openobject | 09:14 | |
| *** rona1 has left #openobject | 09:14 | |
| *** cjeske has joined #openobject | 09:23 | |
| *** simahawk has joined #openobject | 09:26 | |
| *** cedk has joined #openobject | 09:28 | |
| *** edannenbe has joined #openobject | 09:43 | |
| *** tarik has joined #openobject | 09:50 | |
| *** KangOl has joined #openobject | 09:52 | |
| *** ChanServ sets mode: +o KangOl | 09:52 | |
| *** bechamel has joined #openobject | 10:16 | |
| *** mr_amit has quit IRC | 10:23 | |
| *** mr_amit has joined #openobject | 10:24 | |
| *** kalymero has joined #openobject | 10:32 | |
| *** matrixise has joined #openobject | 10:46 | |
| *** ChanServ sets mode: +o matrixise | 10:46 | |
| *** ecarreras has joined #openobject | 10:52 | |
| *** rona1 has joined #openobject | 10:57 | |
| *** cjeske has quit IRC | 11:07 | |
| *** rona1 has left #openobject | 11:07 | |
| *** hsm has joined #openobject | 11:08 | |
| hsm | Can anyone explain what the following code does? 'state_attendance' : fields.function(_state_attendance, method=True, type='selection', selection=[('absent', 'Absent'), ('present', 'Present'),('none','No employee defined')], string='Current Status'), | 11:14 |
|---|---|---|
| matrixise | it's a selection field based on a function. | 11:15 |
| hsm | yeah, but the selection=".., why is it there if the function returns selection items? | 11:16 |
| matrixise | bad code, where can I find this code ? | 11:17 |
| matrixise | which file ? | 11:17 |
| matrixise | found | 11:17 |
| hsm | hr_timesheet_sheet/hr_timesheet_sheet.py l 222 | 11:17 |
| *** simahawk has quit IRC | 11:17 | |
| hsm | it seems to be the dropdown box indicating the attendance status. | 11:18 |
| *** simahawk has joined #openobject | 11:18 | |
| matrixise | ok, it's right. The function return a value than we can find in the selection | 11:19 |
| hsm | isn't it double than? | 11:19 |
| hsm | a.. does it retrieve the 'selected value' ? | 11:20 |
| matrixise | yes | 11:20 |
| hsm | so the function call retrieves one value, not a list of values.. | 11:21 |
| matrixise | the selection attribute is for the dropdown box, and the function _state_attendance will compute the right value | 11:21 |
| matrixise | not a value, but a dict, the key is the id of the record and the value for the dropdown box | 11:22 |
| hsm | ok thanks matrixise | 11:22 |
| matrixise | welcome | 11:23 |
| eLBati | somehow is it possible to set a default value for a fields.binary? (an image) | 11:23 |
| *** bit_ has joined #openobject | 11:24 | |
| *** rationalperseus has joined #openobject | 11:27 | |
| *** cjeske has joined #openobject | 11:28 | |
| *** javivf has joined #openobject | 11:36 | |
| *** mr_amit has quit IRC | 11:48 | |
| hsm | I used a fields.selection() column which works perfectly (it saves it in the database), but when reading the field, it doesn't. What do I need in this case? | 11:52 |
| matrixise | eLBati, yes, not tested, but I think yes, you can ask to KangOl | 11:59 |
| matrixise | hsm, ? | 12:00 |
| eLBati | thanks matrixise | 12:01 |
| KangOl | eLBati: yes, you can, it's just a field like any others | 12:04 |
| matrixise | KangOl, thanks | 12:05 |
| *** mr_amit has joined #openobject | 12:05 | |
| matrixise | hi mr_amit | 12:07 |
| mr_amit | matrixise: hi | 12:07 |
| hsm | matrixise: yes, do you understand my question? | 12:09 |
| eLBati | thanks KangOl | 12:09 |
| matrixise | hsm, no | 12:10 |
| hsm | matrixise: ok.. I have a column in an object which is of the type selection. I use a selection function that returns a list of objects. In the interface a drop-down is shown with objects. | 12:11 |
| hsm | matrixise: but as soon as I save the record, this column stays empty (although I selected an entry). | 12:11 |
| hsm | matrixise: the keyvalue is an id (int) | 12:12 |
| hsm | matrixise: I expect that the dropdown will automatically show the entry in the list that matches with the value in the database (the id). right? | 12:12 |
| matrixise | error in your code, and I don't know your code | 12:12 |
| matrixise | yes, in this case, it will show the label with the right key (from the stored value from the database) | 12:13 |
| hsm | ok.. let me post.. 5 sec.. | 12:13 |
| hsm | http://openerp.pastebin.com/9PUuMLiZ | 12:15 |
| matrixise | hsm, you can create a many2one field and use the widget selection | 12:16 |
| matrixise | 'preselectie' : fields.many2one('account.analytic.account', 'Preselectie', required=True), | 12:16 |
| matrixise | <field name='preselectie' widget='selection' /> | 12:17 |
| hsm | yes, but the widget doesnt allow me to filter.. | 12:17 |
| hsm | I want the accounts without a parent_id | 12:17 |
| matrixise | hsm, add a domain on the many2one | 12:17 |
| hsm | in the xml or in the field def? | 12:18 |
| matrixise | I make an example for you | 12:18 |
| hsm | matrixise: thanks! | 12:18 |
| hsm | matrixise: I've been trying this for a while now, but it doesn't seem that a widget listens to a domain filter.. | 12:24 |
| matrixise | yes, I see :/ | 12:25 |
| matrixise | KangOl, may be a bug in the client | 12:25 |
| hsm | matrixise: you don't know of a solution? | 12:26 |
| hsm | matrixise: you can see in http://www.openerp.com/forum/post52378.html?sid=a6a74d7d8b7647933871412d0e5cc7f3 | 12:28 |
| digitalsatori | I want a button become read-only for the person who click on, while remain clickable for the other user. is there anyway I can achieve this? | 12:32 |
| digitalsatori | or is there any way I can change a button's readonly attribute on the fly for specific user? | 12:33 |
| hsm | digitalsatori: attrs="{'readonly':[('user_clicked_id','=','1')]}" | 12:37 |
| hsm | digitalsatori: you should keep a field that keeps track of the 'clicked-or-not' state per user | 12:37 |
| hsm | digitalsatori: otherwise you can use 2 buttons which are kept visible/invisible.. | 12:38 |
| hsm | matrixise: Are you still finding a solution? | 12:39 |
| digitalsatori | Thank you very much hsm, I'm digesting your suggestion | 12:39 |
| matrixise | lunch time ;-) | 12:40 |
| *** eLBati has quit IRC | 12:42 | |
| *** bechamel has quit IRC | 12:44 | |
| matrixise | hsm, http://openerp.pastebin.com/k2FrRjNd | 12:50 |
| *** bechamel has joined #openobject | 12:51 | |
| digitalsatori | hsm: for the first advice, what I understand is that we probably need 2 fields, 1 fields keeps track all the already clicked user_id, the other field will caculate the click state accoding the first field and the current login user, the readonly attr use the second field's value | 12:53 |
| digitalsatori | hsm: is that correct? | 12:54 |
| *** mr_amit has quit IRC | 12:59 | |
| *** hounddog has joined #openobject | 13:00 | |
| *** Billynkid1 has joined #openobject | 13:07 | |
| *** mr_amit has joined #openobject | 13:17 | |
| *** caneca has quit IRC | 13:27 | |
| *** simahawk is now known as simahawk|lunch | 13:32 | |
| *** mrcast has quit IRC | 13:59 | |
| *** simahawk|lunch is now known as simahawk | 14:04 | |
| *** stijnbe has joined #openobject | 14:04 | |
| *** Gavin_Achado has joined #openobject | 14:10 | |
| *** Billynkid1 has quit IRC | 14:14 | |
| *** Gavin_Achado has quit IRC | 14:15 | |
| *** Billynkid1 has joined #openobject | 14:30 | |
| *** mrcast has joined #openobject | 14:43 | |
| matrixise | pocoo.org is down ? | 14:58 |
| matrixise | arf | 14:58 |
| hsm | matrixise: thanks matrixise, I'm using your code, but it doesn't work, its the same problem | 15:34 |
| matrixise | sure ? because I tested here and it's working | 15:35 |
| hsm | is the selected one displayed again then? | 15:37 |
| *** eLBati has joined #openobject | 15:41 | |
| *** tarik has quit IRC | 15:50 | |
| *** tarik has joined #openobject | 15:53 | |
| *** mozmck_work has joined #openobject | 16:04 | |
| *** tarik_ has joined #openobject | 16:14 | |
| *** tarik has quit IRC | 16:17 | |
| *** Billynkid1 has left #openobject | 16:23 | |
| *** hsm has left #openobject | 16:26 | |
| *** zigzapgabe__ has joined #openobject | 16:47 | |
| *** adventureswork has joined #openobject | 16:52 | |
| adventureswork | what is the difference between account type & internal type | 16:54 |
| *** cjeske has quit IRC | 17:03 | |
| adventureswork | hello all | 17:04 |
| adventureswork | what is the difference between account type & internal type pleeeeeeeease? | 17:04 |
| *** adventureswork has quit IRC | 17:14 | |
| *** ovnicraft has joined #openobject | 17:20 | |
| *** quodt has quit IRC | 17:28 | |
| *** Flydoire|Taktik has joined #openobject | 17:31 | |
| Flydoire|Taktik | Hi everyone | 17:31 |
| Flydoire|Taktik | do you know where the default value for "property_account_payable" for a partner comes from ? | 17:31 |
| Flydoire|Taktik | I can't find it in ir.values table... | 17:31 |
| *** KangOl has quit IRC | 17:36 | |
| *** hjmf has joined #openobject | 17:36 | |
| *** matrixise has quit IRC | 17:37 | |
| *** bechamel has quit IRC | 17:39 | |
| *** KangOl has joined #openobject | 17:43 | |
| *** ChanServ sets mode: +o KangOl | 17:43 | |
| *** rvalyi has joined #openobject | 17:43 | |
| *** matrixise has joined #openobject | 17:43 | |
| *** ChanServ sets mode: +o matrixise | 17:43 | |
| *** mrcast has left #openobject | 17:44 | |
| *** eLBati has quit IRC | 17:49 | |
| *** eLBati has joined #openobject | 17:50 | |
| *** zigzapgabe__ has quit IRC | 17:53 | |
| *** stijnbe has quit IRC | 17:58 | |
| *** kalymero has quit IRC | 18:17 | |
| *** hounddog has quit IRC | 18:27 | |
| *** edannenbe has quit IRC | 18:40 | |
| *** eLBati has quit IRC | 18:45 | |
| *** Nyx has quit IRC | 19:03 | |
| *** cedk has quit IRC | 19:13 | |
| *** cedk has joined #openobject | 19:13 | |
| *** KangOl has quit IRC | 19:13 | |
| *** Flydoire|Taktik has quit IRC | 19:14 | |
| *** hawodi has joined #openobject | 19:22 | |
| *** eLBati has joined #openobject | 19:22 | |
| *** caneca has joined #openobject | 19:26 | |
| hawodi | I have physical stocks that I need to use as starting balance. Do I do this from the stock inventory? | 19:31 |
| *** digitalsatori has quit IRC | 19:32 | |
| caneca | Hello, how can i redesign completly a tree view that exists? | 19:38 |
| caneca | i am trying to redesign the product list/tree view... but using inherit_id i can just delete one field by time, so i want to completly do this view again, is there a way for it? | 19:41 |
| *** eLBati has quit IRC | 19:44 | |
| rvalyi | hawodi: yes, create a new periodical inventory for that | 19:49 |
| *** Nyx has joined #openobject | 19:51 | |
| hawodi | rvalyi:Thanks a lot. | 19:55 |
| *** Nyx has quit IRC | 19:58 | |
| hawodi | rvalyi: I noticed that when I enter sales order using sale_simple_pos, click on prevalidate order and the page closes. | 20:00 |
| *** eLBati has joined #openobject | 20:00 | |
| hawodi | rvalyi: it happens after I enter the payment details. It just redirect me to the home page. Is this the normal behaviour? | 20:03 |
| hawodi | How do I create payment terms for daily payment? Do I zero field and select fixed amount? | 20:16 |
| *** eLBati has quit IRC | 20:16 | |
| *** rationalperseus_ has joined #openobject | 20:22 | |
| *** rationalperseus has quit IRC | 20:22 | |
| *** KangOl has joined #openobject | 20:25 | |
| *** ChanServ sets mode: +o KangOl | 20:25 | |
| *** mr_amit has quit IRC | 20:29 | |
| *** hawodi has quit IRC | 20:42 | |
| *** jeroen has joined #openobject | 20:51 | |
| *** Spiralmatrix has joined #openobject | 20:56 | |
| *** LucaSub1 has joined #openobject | 21:04 | |
| *** LucaSub1 has left #openobject | 21:05 | |
| rvalyi | hawodi: I always thought this redirection was a web-client bug | 21:18 |
| rvalyi | the GTK client doesn't have this issue | 21:18 |
| rvalyi | you can report the bug again or try to provide a fix, I think this is a web-client bug on OpenERP S.A. side | 21:19 |
| rvalyi | so it's usable but the ergonomics are much lower using the web-client | 21:19 |
| *** Billynkid1 has joined #openobject | 21:29 | |
| *** simahawk has quit IRC | 21:37 | |
| *** pepeu has joined #openobject | 22:34 | |
| *** kalymero has joined #openobject | 22:46 | |
| *** mrcast has joined #openobject | 22:54 | |
| *** pepeu has quit IRC | 22:55 | |
| *** mrcast has quit IRC | 22:55 | |
| *** ovnicraft has quit IRC | 23:19 | |
| *** Billynkid1 has left #openobject | 23:26 | |
| *** KangOl1 has joined #openobject | 23:45 | |
| *** KangOl has quit IRC | 23:48 | |
| *** kalymero has quit IRC | 23:56 | |
| *** Gavin_Achado has joined #openobject | 00:01 | |
| *** Gavin_Achado has left #openobject | 00:01 | |
| *** javivf has quit IRC | 00:05 | |
| *** javivf has joined #openobject | 00:07 | |
| *** rvalyi has left #openobject | 00:14 | |