chat.freenode.net #tryton log beginning Thu Nov 17 00:00:01 CET 2011 | ||
zxq9 | In the docs it looks like <field name="spam" domain="[('foo', '=', 'bar')]"/> is the syntax for including a domain in a relation field in XML. | 07:35 |
---|---|---|
zxq9 | But I think this is wrong; I get errors. What am I doing wrong? | 07:35 |
zxq9 | Ah, NM. Putting inside the python code is better. | 07:51 |
udono | zxq9: hi, setting the context for a field is done only in python code. | 08:59 |
cedk | grasbauer: what is the difference between identifier and code in the module product_variant? | 10:30 |
grasbauer | cedk: We have a case where the product code for XL-red-cotton is something like 3488XX12 - so I thought that identifier is like a human readable field of the combination | 10:33 |
cedk | grasbauer: will it not be better to just link the product to the attribute values ? | 10:34 |
grasbauer | cedk: ok - and a function field to show this linked attributes in one field? | 10:37 |
cedk | grasbauer: it could but perhaps it is custom | 10:45 |
grasbauer | cedk: I think, that it would be more userfriendly to know for which attributes te variant stands for | 10:47 |
grasbauer | cedk: but you are right - this should be linked | 10:47 |
cedk | grasbauer: but attributes you already know via the template | 10:49 |
grasbauer | cedk: yes - but the variant don't know, for which combination of the possible attributes it stands - this you can read from the code possibly -but it could be hard to understand | 10:51 |
cedk | grasbauer: but when you know the values, you also know the attributes | 10:53 |
grasbauer | cedk: yes - I misunderstood your question | 10:53 |
cedk | grasbauer: I did a first review, don't be affraid of the number of comments :-) | 10:54 |
grasbauer | cedk: I was talking about attributes but meant the values - will link the values to the product ... | 10:55 |
ivanb | hellp | 11:01 |
ivanb | can't install tryton...i just get Fetching databases list when trying to connect | 11:01 |
cedk | ivanb: did you try to create a database from menu client File>Database>New Database ? | 11:05 |
ivanb | no | 11:06 |
ivanb | when i enter ip and port | 11:06 |
ivanb | it just displays fetching database list for ever | 11:07 |
grasbauer | cedk: not afraid of the comments - espected more ... | 11:07 |
cedk | grasbauer: indeed, the issue you could face is that as you already have it in production, you will have more work to do with refactoring | 11:09 |
ivanb | i dont know how to proced | 11:09 |
cedk | grasbauer: that's why we encourage people to talk and review at the beginning | 11:09 |
ivanb | looks like client connects to server, server tries to connect to postgres, but connection somehow doesnt return | 11:10 |
cedk | ivanb: it is perhaps an ipv6 vs ipv4 issue? | 11:10 |
cedk | ivanb: is the user running trytond has connection right to postgresql? | 11:10 |
ivanb | user running tryton is root...i specified connection parametes in tryton.conf | 11:11 |
bechamel | ivanb: test your db connection with "createdb test" in a shell (with the user running trytond) | 11:12 |
ivanb | ok | 11:12 |
ivanb | i get permission denied to create database | 11:16 |
cedk | ivanb: you must create the equivalent user to PostgreSQL using: createuser | 11:17 |
cedk | ivanb: http://www.postgresql.org/docs/8.1/static/app-createuser.html | 11:17 |
ivanb | now i can createdb, with root and tryton users | 11:24 |
ivanb | however, no luck with fetching.... | 11:24 |
bechamel | ivanb: now create a db from the tryton client | 11:24 |
ivanb | i first tried to change server addres from demo2.0.tryton.org:8070 to 192.168.0.1.103:8000 | 11:27 |
ivanb | however,now client is frozen with wait cursor | 11:27 |
cedk | ivanb: which version are you using? | 11:28 |
cedk | ivanb: because you talk about demo2.0 but you use the port of 2.2? | 11:29 |
ivanb | no, i have ubuntu 11.10 | 11:29 |
ivanb | i apt-get tryton and it got me 2.0 | 11:29 |
ivanb | then i downloaded client 2.0. | 11:29 |
cedk | ivanb: so the default port is 8070 not 8000 | 11:31 |
ivanb | oh my god, it works now | 11:35 |
ivanb | i made a mistake because i imagined i must first choose profile and whole port stuff | 11:36 |
ivanb | i have commeted out postgress connection settings...are they not important? | 11:42 |
ivanb | also is there a configuration script, that would config tryton and postgres | 11:43 |
cedk | ivanb: it is up to your own personal taste | 11:44 |
sisalp | Hi, yesterday, I experimented some problems with ssl connections | 11:48 |
sisalp | I rm -r .config/tryton/2.2 and it is fixed. rm known_hosts was not enough | 11:49 |
sisalp | is there a more clever way to do it ? | 11:50 |
bechamel | sisalp: did you tried to install the ssl lib ? | 11:51 |
cedk | sisalp: ha ok, once you connect to a server, tryton client remember the configuration | 11:55 |
cedk | sisalp: it is like the know_hosts of openssh | 11:56 |
sisalp | cedk: so removing known_hosts should be enough to change the server from ssl-yes to ssl-no and vice-versa ? | 11:59 |
sisalp | I'll check it | 11:59 |
cedk | sisalp: yes | 12:02 |
ivanb | bye and thanks for help! | 12:03 |
abeamud | Hi all... It's possible to put the client address in all invoice pages in a report? | 12:59 |
grasbauer | abeamud: yes - in header or footer of the document | 13:00 |
abeamud | grasbauer: from header I can access objects model? | 13:01 |
grasbauer | abeamud: one moment | 13:03 |
grasbauer | abeamud: http://grasbauer.com/sale.odt - a example with something in the footer | 13:05 |
cedk | abeamud: be careful that by default header are replaced by the company one | 13:07 |
abeamud | cedk: I need to adjust in some way the header to not overlap? | 13:09 |
abeamud | cedk: Or If I not use the <style> header I can put in the main odt using the header and footer? | 13:10 |
abeamud | grasbauer: You are not using the <field name="style">header.odt</filed>, no? | 13:11 |
grasbauer | abeamud: not in this case - but if you don't use it, you have to change each report, if somthing changes in the company :-/ | 13:12 |
abeamud | grasbauer: Ah, ok... | 13:13 |
abeamud | grasbauer: a lot of thanks | 13:13 |
cedk | grasbauer: I will propose to remove the company header stuffs | 13:15 |
cedk | grasbauer: I think it is unmanageable | 13:15 |
abeamud | cedk: and then define in all reports a style with the header? | 13:16 |
cedk | abeamud: yep | 13:20 |
abeamud | cedk: +1 | 13:24 |
-!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton | 13:46 | |
grasbauer | cedk: you think, that in the variant stuff a kind of 'human readable'-field in the listview isn't neccessary? Just to know, which attribute.values are choosen? | 13:51 |
cedk | grasbauer: I think that by default the code should be enough | 13:57 |
grasbauer | cedk: ok - so I will extend the module for me only ;) | 13:58 |
cedk | grasbauer: I'm not the only one to decide if enough people agree that it must be in default... | 14:14 |
grasbauer | cedk: I think it should not be a default - each function field slows down the view ... | 14:16 |
cedk | grasbauer: normally not that much, but I really don't like function field that just concatanate one2many | 14:24 |
sisalp | hi, looking for "duplicate", "import", "export", "delete" in menus and cannot find them. What do I miss ? | 16:22 |
nicoe | You missed the new menu | 16:25 |
nicoe | on a brand new client I presume | 16:25 |
nicoe | The new menu is obtained by clicking on the some tool icon | 16:25 |
nicoe | right next to the title | 16:25 |
pheller | Production module contributions now total €1000. :-) | 16:30 |
sisalp | nicoe : I'm looking in application menus on top of the window | 16:34 |
nicoe | sisalp: it is inside the tab | 16:34 |
nicoe | because those actions are linked to the content of the tab | 16:35 |
sisalp | damned ! it is ok, just the user is bugging on update ;-) I think it is the right place | 16:37 |
nicoe | pheller: \o/ | 16:37 |
pheller | wish I could have come to the TUL, but too much to do with school and my normal job. Hopefully I can come to the next one. | 16:39 |
nicoe | we might organize it somewhere else next year. still in europe (that's where the majority of the community is) but somewhere else | 16:40 |
nicoe | That's something to be discussed | 16:41 |
pheller | nicoe: I understand. My vote is for either Munich or somewhere nice in Italy…. then my girlfriend will approve ;-) | 16:41 |
nicoe | I vote go for a place where I have never been ;) | 16:42 |
nicoe | so south italy is good for me (and in November it's probably one of the only place where it's still warm) | 16:43 |
nicoe | or north of Finland would be cool too ... :) | 16:43 |
pheller | hah -- why not try and schedule the next unconference to be a little closer to summer. maybe late august / early september. Then, more locations are acceptable. | 16:44 |
nicoe | we want to make the unconference some time after the release | 16:47 |
nicoe | so we are in may/june or november/december | 16:47 |
pheller | ah ha, good point. | 16:48 |
pheller | I like may/june ;-) | 16:48 |
nicoe | me too | 16:49 |
nicoe | but six month is kind of short | 16:50 |
pheller | yeah, true. | 16:50 |
nicoe | maybe for the third time ... | 16:50 |
sisalp | UndefinedError: {} has no member named "full_name" when trying to print a sale on a freshly configured database | 16:50 |
sisalp | File "/usr/lib/pymodules/python2.6/genshi/template/eval.py", line 403, in undefined is the line | 16:52 |
sisalp | I suspect my system to be faulty since it is my first time on 2.2 | 16:53 |
nicoe | sisalp: you're trying to get a report | 16:53 |
nicoe | is it a custom report ? | 16:53 |
sisalp | no it is the sale order | 16:55 |
nicoe | with a standard installation I suppose | 16:55 |
sisalp | the client claims ascii codec cannot ....0x8e at position 98 | 16:56 |
sisalp | as standard as I could : installing dependencies and running from sources | 16:57 |
nicoe | This is not the real error. I think the unicode error is there because trytond send the error message in french | 16:57 |
nicoe | I'll try to reproduce it | 16:58 |
sisalp | I check dependencies | 16:58 |
sisalp | dependencies "seem" ok | 17:01 |
sisalp | the customer has no addresses set, may it is related | 17:02 |
nicoe | Indeed | 17:02 |
nicoe | genshi tries to get the full_name information but can not find it (according to the error message) | 17:03 |
sisalp | yes but I don't know what is the full_name | 17:03 |
sisalp | I'm on admin@t22.s101.tryton-online.com:8221/ttryton22 with password admin | 17:11 |
nicoe | I can not reproduce it | 17:13 |
sisalp | created a customer, a supplier, two products, one payment term and set a fiscal year on minimal chart. | 17:14 |
nicoe | Yep that's what I did | 17:21 |
nicoe | (without the supplier and products) | 17:21 |
sisalp | invoice is working correctly | 17:58 |
sisalp | general comment : on a sale order : invoice and shipment : "Manual" is misleading. We should consider "No invoice" and "No shipment" instead | 18:00 |
cedk | sisalp: good point | 18:01 |
cedk | sisalp: create an issue | 18:01 |
cedk | sisalp: even we should talk if such option is needed | 18:01 |
sisalp | cedk: in my previously explained vision, no, it is not useful, but today I thing we need it. | 18:04 |
cedk | sisalp: do you have a business case in mind? | 18:05 |
sisalp | I had a discussion with NAN at TUL. he explained me he added 'to be invoiced' shipments in financial menu, so accountant can feed himself his frat invoice list | 18:08 |
sisalp | draft | 18:08 |
cedk | sisalp: ok but is not it because of the poor API of OpenERP? | 18:09 |
cedk | ACTION NAN should be on irc | 18:09 |
sisalp | I thought it was tryton | 18:12 |
cedk | sisalp: don't know, but I think they have not yet Tryton customer | 18:12 |
sisalp | the point is that if at sale level you decide "invoice on shipment", then the ship-man ships and this creates an draft invoice | 18:13 |
cedk | sisalp: yes as expected :-) | 18:14 |
sisalp | it may be oe return on experience yes. | 18:15 |
sisalp | yes as expected. This was what we had problem with. | 18:16 |
sisalp | but we shouldn't reopen the point now | 18:18 |
cedk | sisalp: no but we need to decide if there is valid cases where you want "No invoice/shipment" | 18:20 |
sisalp | my free hosting is of that kind: it a unit of service (open an account), no invoice, but I need an order for a contractual relationship | 18:22 |
cedk | sisalp: for me, it is not a sale but a subscription | 18:26 |
zodman | some one record the POS POC ? almost on phone ? | 18:29 |
zodman | on TUL ? | 18:29 |
zodman | someone* | 18:29 |
cedk | zodman: I don't think it was the second day | 18:30 |
Timitos | zodman: there was not more than you already could see on the POS videos. you know them? | 18:32 |
sisalp | cedk: I can use sales for this, because I don't have periodic renewal. It is a kind of one shot service, and I don't have a better module today. | 18:32 |
zodman | yes Timitos but i want to see on TUL will be more updated. the existed on youtube i show you a friend and not understand. | 18:33 |
cedk | sisalp: and what about price = 0 ? | 18:33 |
cedk | ACTION bbl | 18:34 |
Timitos | zodman: there was no more progress on POS for the moment. there is still much work to do i think. | 18:35 |
jmsbrry | Telesight: Well its a long way back but everything went fine and I think I am over the jet lag | 22:52 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!