IRC Channels

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

Monday, 2010-07-05

*** Gavin_Achado has joined #openobject00:39
*** Gavin_Achado has left #openobject00:39
*** zigzapgabe_ has joined #openobject01:41
*** digitalsatori has joined #openobject02:11
*** mozmck_work has quit IRC03:55
*** G_O_D has joined #openobject03:55
*** G_O_D has quit IRC04:15
*** G_O_D has joined #openobject04:15
*** ToadP has joined #openobject05:13
*** ToadP1 has joined #openobject05:13
*** yangoon has quit IRC05:19
*** yangoon has joined #openobject05:35
*** digitalsatori has quit IRC05:48
*** digitalsatori has joined #openobject05:51
*** G_O_D has quit IRC06:35
*** digitalsatori has quit IRC06:37
*** mr_amit has joined #openobject07:01
*** digitalsatori has joined #openobject07:30
*** digitalsatori has quit IRC07:38
*** mrcast has joined #openobject07:39
*** cedk has joined #openobject07:51
*** digitalsatori has joined #openobject08:06
*** digitalsatori has quit IRC08:16
*** mr_amit has quit IRC08:34
*** eLBati has joined #openobject08:41
*** zigzapgabe_ has quit IRC08:50
*** digitalsatori has joined #openobject08:50
*** quodt has joined #openobject08:51
*** mr_amit has joined #openobject08:53
*** cedk has quit IRC08:53
*** KangOl has quit IRC08:55
*** Nyx has joined #openobject09:11
*** rona1 has joined #openobject09:14
*** rona1 has left #openobject09:14
*** cjeske has joined #openobject09:23
*** simahawk has joined #openobject09:26
*** cedk has joined #openobject09:28
*** edannenbe has joined #openobject09:43
*** tarik has joined #openobject09:50
*** KangOl has joined #openobject09:52
*** ChanServ sets mode: +o KangOl09:52
*** bechamel has joined #openobject10:16
*** mr_amit has quit IRC10:23
*** mr_amit has joined #openobject10:24
*** kalymero has joined #openobject10:32
*** matrixise has joined #openobject10:46
*** ChanServ sets mode: +o matrixise10:46
*** ecarreras has joined #openobject10:52
*** rona1 has joined #openobject10:57
*** cjeske has quit IRC11:07
*** rona1 has left #openobject11:07
*** hsm has joined #openobject11:08
hsmCan 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
matrixiseit's a selection field based on a function.11:15
hsmyeah, but the selection=".., why is it there if the function returns selection items?11:16
matrixisebad code, where can I find this code ?11:17
matrixisewhich file ?11:17
matrixisefound11:17
hsmhr_timesheet_sheet/hr_timesheet_sheet.py l 22211:17
*** simahawk has quit IRC11:17
hsmit seems to be the dropdown box indicating the attendance status.11:18
*** simahawk has joined #openobject11:18
matrixiseok, it's right. The function return a value than we can find in the selection11:19
hsmisn't it double than?11:19
hsma.. does it retrieve the 'selected value' ?11:20
matrixiseyes11:20
hsmso the function call retrieves one value, not a list of values..11:21
matrixisethe selection attribute is for the dropdown box, and the function _state_attendance will compute the right value11:21
matrixisenot a value, but a dict, the key is the id of the record and the value for the dropdown box11:22
hsmok thanks matrixise11:22
matrixisewelcome11:23
eLBatisomehow is it possible to set a default value for a fields.binary? (an image)11:23
*** bit_ has joined #openobject11:24
*** rationalperseus has joined #openobject11:27
*** cjeske has joined #openobject11:28
*** javivf has joined #openobject11:36
*** mr_amit has quit IRC11:48
hsmI 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
matrixiseeLBati, yes, not tested, but I think yes, you can ask to KangOl11:59
matrixisehsm,  ?12:00
eLBatithanks matrixise12:01
KangOleLBati: yes, you can, it's just a field like any others12:04
matrixiseKangOl, thanks12:05
*** mr_amit has joined #openobject12:05
matrixisehi mr_amit12:07
mr_amitmatrixise: hi12:07
hsmmatrixise: yes, do you understand my question?12:09
eLBatithanks KangOl12:09
matrixisehsm, no12:10
hsmmatrixise: 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
hsmmatrixise: but as soon as I save the record, this column stays empty (although I selected an entry).12:11
hsmmatrixise: the keyvalue is an id (int)12:12
hsmmatrixise: 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
matrixiseerror in your code, and I don't know your code12:12
matrixiseyes, in this case, it will show the label with the right key (from the stored value from the database)12:13
hsmok.. let me post.. 5 sec..12:13
hsmhttp://openerp.pastebin.com/9PUuMLiZ12:15
matrixisehsm, you can create a many2one field and use the widget selection12:16
matrixise'preselectie' : fields.many2one('account.analytic.account', 'Preselectie', required=True),12:16
matrixise<field name='preselectie' widget='selection' />12:17
hsmyes, but the widget doesnt allow me to filter..12:17
hsmI want the accounts without a parent_id12:17
matrixisehsm, add a domain on the many2one12:17
hsmin the xml or in the field def?12:18
matrixiseI make an example for you12:18
hsmmatrixise: thanks!12:18
hsmmatrixise: I've been trying this for a while now, but it doesn't seem that a widget listens to a domain filter..12:24
matrixiseyes, I see :/12:25
matrixiseKangOl, may be a bug in the client12:25
hsmmatrixise: you don't know of a solution?12:26
hsmmatrixise: you can see in http://www.openerp.com/forum/post52378.html?sid=a6a74d7d8b7647933871412d0e5cc7f312:28
digitalsatoriI 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
digitalsatorior is there any way I can change a button's readonly attribute on the fly for specific user?12:33
hsmdigitalsatori: attrs="{'readonly':[('user_clicked_id','=','1')]}"12:37
hsmdigitalsatori: you should keep a field that keeps track of the 'clicked-or-not' state per user12:37
hsmdigitalsatori: otherwise you can use 2 buttons which are kept visible/invisible..12:38
hsmmatrixise: Are you still finding a solution?12:39
digitalsatoriThank you  very much hsm, I'm digesting your suggestion12:39
matrixiselunch time ;-)12:40
*** eLBati has quit IRC12:42
*** bechamel has quit IRC12:44
matrixisehsm, http://openerp.pastebin.com/k2FrRjNd12:50
*** bechamel has joined #openobject12:51
digitalsatorihsm: 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 value12:53
digitalsatorihsm: is that correct?12:54
*** mr_amit has quit IRC12:59
*** hounddog has joined #openobject13:00
*** Billynkid1 has joined #openobject13:07
*** mr_amit has joined #openobject13:17
*** caneca has quit IRC13:27
*** simahawk is now known as simahawk|lunch13:32
*** mrcast has quit IRC13:59
*** simahawk|lunch is now known as simahawk14:04
*** stijnbe has joined #openobject14:04
*** Gavin_Achado has joined #openobject14:10
*** Billynkid1 has quit IRC14:14
*** Gavin_Achado has quit IRC14:15
*** Billynkid1 has joined #openobject14:30
*** mrcast has joined #openobject14:43
matrixisepocoo.org is down ?14:58
matrixisearf14:58
hsmmatrixise: thanks matrixise, I'm using your code, but it doesn't work, its the same problem15:34
matrixisesure ? because I tested here and it's working15:35
hsmis the selected one displayed again then?15:37
*** eLBati has joined #openobject15:41
*** tarik has quit IRC15:50
*** tarik has joined #openobject15:53
*** mozmck_work has joined #openobject16:04
*** tarik_ has joined #openobject16:14
*** tarik has quit IRC16:17
*** Billynkid1 has left #openobject16:23
*** hsm has left #openobject16:26
*** zigzapgabe__ has joined #openobject16:47
*** adventureswork has joined #openobject16:52
adventuresworkwhat is the difference between account type & internal type16:54
*** cjeske has quit IRC17:03
adventuresworkhello all17:04
adventuresworkwhat is the difference between account type & internal type pleeeeeeeease?17:04
*** adventureswork has quit IRC17:14
*** ovnicraft has joined #openobject17:20
*** quodt has quit IRC17:28
*** Flydoire|Taktik has joined #openobject17:31
Flydoire|TaktikHi everyone17:31
Flydoire|Taktikdo you know where the default value for "property_account_payable" for a partner comes from ?17:31
Flydoire|TaktikI can't find it in ir.values table...17:31
*** KangOl has quit IRC17:36
*** hjmf has joined #openobject17:36
*** matrixise has quit IRC17:37
*** bechamel has quit IRC17:39
*** KangOl has joined #openobject17:43
*** ChanServ sets mode: +o KangOl17:43
*** rvalyi has joined #openobject17:43
*** matrixise has joined #openobject17:43
*** ChanServ sets mode: +o matrixise17:43
*** mrcast has left #openobject17:44
*** eLBati has quit IRC17:49
*** eLBati has joined #openobject17:50
*** zigzapgabe__ has quit IRC17:53
*** stijnbe has quit IRC17:58
*** kalymero has quit IRC18:17
*** hounddog has quit IRC18:27
*** edannenbe has quit IRC18:40
*** eLBati has quit IRC18:45
*** Nyx has quit IRC19:03
*** cedk has quit IRC19:13
*** cedk has joined #openobject19:13
*** KangOl has quit IRC19:13
*** Flydoire|Taktik has quit IRC19:14
*** hawodi has joined #openobject19:22
*** eLBati has joined #openobject19:22
*** caneca has joined #openobject19:26
hawodiI have physical stocks that I need to use as starting balance. Do I do this from the stock inventory?19:31
*** digitalsatori has quit IRC19:32
canecaHello, how can i redesign completly a tree view that exists?19:38
canecai 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 IRC19:44
rvalyihawodi: yes, create a new periodical inventory for that19:49
*** Nyx has joined #openobject19:51
hawodirvalyi:Thanks a lot.19:55
*** Nyx has quit IRC19:58
hawodirvalyi: 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 #openobject20:00
hawodirvalyi: it happens after I enter the payment details. It just redirect me to the home page. Is this the normal behaviour?20:03
hawodiHow do I create payment terms for daily payment? Do I zero field and select fixed amount?20:16
*** eLBati has quit IRC20:16
*** rationalperseus_ has joined #openobject20:22
*** rationalperseus has quit IRC20:22
*** KangOl has joined #openobject20:25
*** ChanServ sets mode: +o KangOl20:25
*** mr_amit has quit IRC20:29
*** hawodi has quit IRC20:42
*** jeroen has joined #openobject20:51
*** Spiralmatrix has joined #openobject20:56
*** LucaSub1 has joined #openobject21:04
*** LucaSub1 has left #openobject21:05
rvalyihawodi: I always thought this redirection was a web-client bug21:18
rvalyithe GTK client doesn't have this issue21:18
rvalyiyou can report the bug again or try to provide a fix, I think this is a  web-client bug on OpenERP S.A. side21:19
rvalyiso it's usable but the ergonomics are much lower using the web-client21:19
*** Billynkid1 has joined #openobject21:29
*** simahawk has quit IRC21:37
*** pepeu has joined #openobject22:34
*** kalymero has joined #openobject22:46
*** mrcast has joined #openobject22:54
*** pepeu has quit IRC22:55
*** mrcast has quit IRC22:55
*** ovnicraft has quit IRC23:19
*** Billynkid1 has left #openobject23:26
*** KangOl1 has joined #openobject23:45
*** KangOl has quit IRC23:48
*** kalymero has quit IRC23:56
*** Gavin_Achado has joined #openobject00:01
*** Gavin_Achado has left #openobject00:01
*** javivf has quit IRC00:05
*** javivf has joined #openobject00:07
*** rvalyi has left #openobject00:14