IRC logs of #tryton for Thursday, 2013-06-06 #tryton log beginning Thu Jun 6 00:00:02 CEST 2013
iamnoobhi, im tryting to do a simple python print of a field, inside the on_changed event of a many2many field.. but i keep on having a error.. --> AttributeError: '' Model has no attribute 'inputby': {'division': Pool().get('req.requnit')(2), 'pendingsr': [Pool().get('sr.srdetails')(1)], 'totalamount': '0.00'}09:41
iamnoobi already put it inside the fields on_changed['inputby'], and the field inputby is there, on an on_changed event of a many2one field im not having this problem,09:43
cedkiamnoob: such issue comes when the field value is not sent by the client09:47
cedkiamnoob: could be it is not in on_change list or in depends09:48
iamnoobcedk: thanks got it09:53
-!- RAU( has left #tryton12:01
_droidhi, im trying to delete a product of mine but fail at it. I get the message: Could not delete "Product" records because they are used on field "Product" of "Product Location".14:06
_droidany ideas why?14:06
_droidor can someone point me to the right direction?14:06
bechamel`_droid: probably because there is a default stock locations defined for this product14:09
_droidbechamel`: yes that is true, how do I remove it??14:14
bechamel`_droid: remove the Product Location record that contains the record you want to remove14:25
_droidbechamel`: sry got dc, did you say something??14:29
bechamel`_droid: yes: "remove the Product Location record that contains the record you want to remove"14:31
_droidbechamel`: i went to locations, but there is no record. I'm new to tryton so excuse my noobishness :), could you elaborate a little more?14:44
bechamel`_droid: from reading the code I see that the default locations are shown on the product view itself14:48
_droidbechamel`: well at Products->"my product"->Default Locations14:50
_droidbechamel`: yes14:50
bechamel`_droid: actually you must first delete the default locations lines (save the form) and then delete the product14:52
bechamel`_droid: which is kind of counter-intuitive :(14:53
_droidbechamel`: @ Locations, there is nothing listed and when I try to delete the default location of the Product, as you described, I get this message: Could not delete "Product" records because they are used on field "Product" of "Product Location".14:55
giedriushi guys, is it possible to change rec_name of object on single many2one relation?14:56
bechamel`_droid: you try to delete a default location and you get an error message about the product ?14:59
_droidbechamel`: yes15:00
_droidbechamel`:  I went to Products->"my product"->Default Locations  in order to delete the record of that location and I get the error message15:01
bechamel`_droid: open the product form, delete the location line(s) at the bottom, *save the form* and then try to delete it.15:06
_droidbechamel`: ahhh, ok. My mistake, I used ctrl+d to delete the record didn't took notice of a paper shredder on the right hand side thank you for your patience15:09
_droidok, i'm now at Products->Categories->Categories and want to delete (with ctrl+d) a record and I get an application error message.
_droidDid I do something wrong??15:20
bechamel`_droid: no error message on the client ?15:22
_droidbechamel`: the message is in the pastebin link15:22
cedkbechamel`, _droid: I think an ondelete='CASCADE' is missing15:42
bechamel`cedk: yes15:44
TelesightI wondered if the documents in the filestore are encrypted?21:07
cedkTelesight: no21:09
TelesightOk thanks, that is pitty ;-)21:09
TelesightA question about the permissionsystem of version 2.8: If I create a new user and put this user in a new created group and this group has no rights at all, the user can still enter data and see things ... I expected the user can do nothing untill I give the group rights.21:19
TelesightDoes a user get some bottomline rights or so?21:27
TelesightAnybody an idea?21:37

Generated by 2.11.0 by Marius Gedminas - find it at!