IRC logs of #tryton for Monday, 2013-09-30 #tryton log beginning Mon Sep 30 00:00:02 CEST 2013
2013-09-30 01:08 -!- beantech1( has left #tryton
2013-09-30 09:23 -!- priyankarani(~priyanka@ has left #tryton
2013-09-30 11:13 <version32> I have followed the helloworld example to make a new module. I cannot see it in the client module list. I have restarted both server and client.
2013-09-30 11:14 <version32> I have also followed the advice here to copy an existing module (making the appropriate changes). I used google_maps as my example. But still no joy.
2013-09-30 11:14 <corro> version32: upgrade a random module you have already installed and refresh the module list
2013-09-30 11:15 <version32> corro; will try. thanks.
2013-09-30 11:19 <version32> corro: 100% success.
2013-09-30 11:40 <corro> version32: good to hear
2013-09-30 11:40 <version32> corro: thank you!
2013-09-30 11:40 <corro> version32: you're welcome
2013-09-30 11:50 -!- priyankarani(~priyanka@ has left #tryton
2013-09-30 12:38 <vishesh> cedk: Hey, can you take a look at bcrypt patch
2013-09-30 12:40 <cedk> vishesh: not before the release
2013-09-30 12:48 <vishesh> cedk: Ok.
2013-09-30 13:03 <guillemNaN> hi, how can I get the filename of a binary field?
2013-09-30 13:21 -!- priyankarani(~priyanka@ has left #tryton
2013-09-30 19:14 -!- priyankarani(~priyanka@ has left #tryton
2013-09-30 20:01 <martinguzman> Hi all! I'm having problems using a function field as a domain from another field. This is what I'm doing:
2013-09-30 20:01 <martinguzman> My problem is that the function method (get_service_categories) is not being called and I'm not sure why... What am I doing wrong? What am I forgetting?
2013-09-30 20:06 -!- vcardon( has left #tryton
2013-09-30 20:44 <cedk> martinguzman: it is called if the field is read
2013-09-30 20:56 <martinguzman> cedk, is there a way to force a read? (I tried to create a default method, but It gives me an error)
2013-09-30 21:01 <cedk> martinguzman: display the record in the client
2013-09-30 21:05 <martinguzman> cedk, I'm displaying it, but the service domain does not work when a new record is created.. (when the new button is pressed, before saving the record)
2013-09-30 21:06 <cedk> martinguzman: nothing is read when creating a record
2013-09-30 21:08 <cedk> martinguzman: you are probably looking for default value
2013-09-30 21:08 <cedk> martinguzman:
2013-09-30 21:13 <martinguzman> cedk, it gives me an error: AttributeError: 'int' object has no attribute 'update'
2013-09-30 21:15 <martinguzman> cedk, I'm returning an id list... and gives me that error..
2013-09-30 21:17 <martinguzman> cedk, this is the traceback:
2013-09-30 21:32 <cedk> martinguzman: default value for a on2many is a list of dict value
2013-09-30 21:32 <cedk> martinguzman: I guess you want to use a many2many
2013-09-30 21:40 <cedk> martinguzman: by the way, I'm wondering why you are using a function field
2013-09-30 21:41 <cedk> martinguzman: you could just tune the domain to use: ('category.service', '=', True)
2013-09-30 21:41 <cedk> martinguzman: don't know what you are using as flag to tag category as service
2013-09-30 21:45 <martinguzman> cedk, I have a configuration model where I want to select some categories and on this model I want to select only services from that category list...
2013-09-30 21:45 <cedk> martinguzman: yes, I understood that
2013-09-30 21:46 <cedk> martinguzman: but you can just use a smart domain instead of relying on function field value
2013-09-30 21:52 <martinguzman> cedk, ok! I understand what you're saying... I'm going to try it.. Thanks for your help! :)
2013-09-30 22:50 -!- katr( has left #tryton

Generated by 2.17.3 by Marius Gedminas - find it at!