IRC logs of #tryton for Monday, 2011-12-12

chat.freenode.net #tryton log beginning Mon Dec 12 00:00:01 CET 2011
2011-12-12 04:59 <zxq9_> Are there any tutorials on how to use Function fields to retrieve data from a model linked through a Many2One relationship, for example?
2011-12-12 15:51 <jcm> cedk: hi
2011-12-12 15:51 <jcm> cedk: with the carrier module, there's something I don't undestand in the concept
2011-12-12 15:51 <jcm> cedk: the carrier is the company who moves the products, isn't it?
2011-12-12 15:52 <jcm> cedk: if a shipping company has 3 shipping products, how can I choose between them for the shipment_cost? the field on sale points only to carrier and not on carrier product
2011-12-12 16:13 <cedk> jcm: the carrier is the service
2011-12-12 16:26 <jcm> cedk: so I need to create a carrier for each shipping products ?
2011-12-12 16:27 -!- andreasgrab(~andreas@2001:15c0:662b:6:223:18ff:fe99:3e8f) has left #tryton
2011-12-12 16:27 <cedk> jcm: yes
2011-12-12 16:28 <jcm> cedk: then I don't see the difference between a shipping (service) product and a carrier
2011-12-12 16:29 <jcm> and in English I'm not sure, but in French the word 'transporteur' means the company who sells shipping service, not the service
2011-12-12 16:29 <cedk> jcm: and what is the problem?
2011-12-12 16:38 <bechamel> cedk: it looks like the problem is the vocabulary
2011-12-12 17:13 -!- AngelMoya(~angel@31.222.116.48) has left #tryton
2011-12-12 17:13 <jcm> bechamel: exactly. I expect the thing to be what I understand from the name...
2011-12-12 17:14 <jcm> more, for carrier, I don't see the point naming two things the same : I will have a carrier ShippingServiceXX for each product ShippingServiceXX
2011-12-12 17:18 <cedk> http://bugs.tryton.org/issue2340
2011-12-12 18:59 <jarray52> I'm getting the error message:
2011-12-12 18:59 <jarray52> Error:
2011-12-12 18:59 <jarray52> No option 'databas' in section : <database_name>
2011-12-12 20:03 <bdunnette> Evening, all...
2011-12-12 20:04 <bdunnette> Is there a simple way to add a company's logo to reports? For instance, would adding it to the header_a4 file do this - and is that only effective if you're using A4-formatted reports (which we don't here in the US)?
2011-12-12 20:12 <cedk> bdunnette: no and in the future the header will be removed
2011-12-12 20:13 <cedk> jarray52: I think it is duplicated with https://bugs.tryton.org/issue2009
2011-12-12 20:15 <jarray52> cedk: Yes. I saw that. The problem persisted even after uninstalling, but I just realized that tryton creates a config directory in $HOME/.config/tryton, which I'm deleting and retesting now.
2011-12-12 20:15 <bdunnette> cedk: Is there some other way to insert a logo, then, short of creating a custom module?
2011-12-12 20:18 <cedk> bdunnette: what do you mean?
2011-12-12 20:24 <bdunnette> cedk: Is there a way to have a company's logo (or other image) inserted into the report header?
2011-12-12 20:25 <cedk> bdunnette: you can with the header_a4.odt but as I said this will be removed otherwise add it to the wanted reports
2011-12-12 20:26 <bdunnette> cedk: Ah, I see... so the way to do it, going forward, would be to add it to each individual report; that makes sense, thanks!
2011-12-12 20:31 <cedk> bdunnette: but be careful that if you hard-code the image in the template, it will be for any companies
2011-12-12 20:44 <bdunnette> cedk: Understood - our current install is for a single company, so that shouldn't be an issue!
2011-12-12 21:59 <jarray52> I'm getting the error message: INFO:dispatcher:bad login or password 'tryton' from 127.0.0.1:29600 using NetRPC on database '<database_name>'.
2011-12-12 22:00 <jarray52> When I tried logging into mysql with tryton, I had no problems with the same password.
2011-12-12 22:00 <jarray52> Any suggestions?
2011-12-12 22:16 <jarray52> I'm getting the error message: INFO:dispatcher:bad login or password 'tryton' from 127.0.0.1:29600 using NetRPC on database '<database_name>'
2011-12-12 22:16 <jarray52> However, I can login to mysql with the user tryton and the same password.
2011-12-12 22:17 <jarray52> Any suggestions?
2011-12-12 22:35 <jarray52> I'm getting the error: INFO:dispatcher:bad login or password 'tryton' from 127.0.0.1:23043 using NetRPC on database '<Database name>'. However, I can login to mysql with the username tryton.
2011-12-12 22:39 <cedk> jarray52: the database password is different of the user password
2011-12-12 22:40 <jarray52> cedk: I'm doing a trial run and set them both to 'password'.
2011-12-12 22:41 <cedk> jarray52: and you created a user 'tryton' in Tryton?
2011-12-12 22:42 <jarray52> cedk: Do you mean a profile? Or a user?
2011-12-12 22:43 <cedk> jarray52: a user. There is no profile
2011-12-12 22:46 <jarray52> cedk: After starting the trytond server and then the tryton client, I see the login. It gives me the option to Manage profiles and/or enter host, database, user name, and password.
2011-12-12 22:50 <jarray52> cedk: And, the config file has a tryton user. Is there something else I need to do?
2011-12-12 23:05 <jarray52> cedk: I have a db_user and a db_password. I also granted the tryton user in mysql the ability to create databases. And then created a database through the tryton client.
2011-12-12 23:05 <jarray52> cedk: Is there something else that needs to be done?
2011-12-12 23:07 <jcm> jarray52: in the menu, did you try to Create database ?
2011-12-12 23:07 <jarray52> jcm: Yes. The database creation worked fine.
2011-12-12 23:08 <jcm> jarray52: then login to the created db with admin/admin
2011-12-12 23:08 <jcm> later edit the user in Administration and change the password
2011-12-12 23:09 <jarray52> jcm: When using admin/admin, I get the same error message: "Connection error! Bad username or password!"
2011-12-12 23:10 <jarray52> jcm: Should I try creating a new database?
2011-12-12 23:11 <jarray52> jcm: Oh... I need to use admin with the admin password that I entered when creating the database.
2011-12-12 23:12 <jarray52> jcm: Thanks.
2011-12-12 23:12 <jarray52> jcm: Now, I can add users.
2011-12-12 23:12 <jarray52> jcm: Thanks.
2011-12-12 23:50 <jarray52> I'm getting the message: The field "Rate" on "Unit of measure has too many decimal digits." Is this problem caused by user stupidity or some other problem?

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!