chat.freenode.net #tryton log beginning Fri Dec 26 00:00:02 CET 2008 | ||
2008-12-26 01:21 -!- igor__(n=igor@190.12.153.202) has joined #tryton | ||
2008-12-26 02:02 -!- yangoon1(n=mathiasb@p549F4E6D.dip.t-dialin.net) has joined #tryton | ||
2008-12-26 05:06 -!- gremly(n=oscar@190.156.166.44) has joined #tryton | ||
2008-12-26 05:19 -!- yangoon(n=mathiasb@p549F4DF2.dip.t-dialin.net) has joined #tryton | ||
2008-12-26 08:08 -!- vengfulsquirrel(n=lily@wireless-216-170-122-150.digitalputty.com) has joined #tryton | ||
2008-12-26 08:30 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton | ||
2008-12-26 08:44 <cristi_an> guys can you check this plz..... http://www.selenic.com/mercurial/wiki/index.cgi/UnderstandingMercurial | ||
2008-12-26 08:44 <cristi_an> for me is not working..... | ||
2008-12-26 08:47 <vengfulsquirrel> yeah its not working | ||
2008-12-26 08:48 <cristi_an> :( | ||
2008-12-26 08:49 <cristi_an> now i have time....to study it a little :) | ||
2008-12-26 08:49 <cristi_an> but.... | ||
2008-12-26 08:49 <vengfulsquirrel> http://209.85.173.132/search?q=cache:uYBPhlIce7oJ:www.selenic.com/mercurial/wiki/index.cgi/UnderstandingMercurial+UnderstandingMercurial&hl=en&ct=clnk&cd=1&gl=us | ||
2008-12-26 08:49 <vengfulsquirrel> its in google cache, but its not as pretty | ||
2008-12-26 08:49 <cristi_an> np thx | ||
2008-12-26 08:49 <cristi_an> it is more then ok.... | ||
2008-12-26 08:49 <cristi_an> do you know why this was choose despite cvs,or svn (more popular i say) | ||
2008-12-26 08:50 <vengfulsquirrel> its much more convenient to use | ||
2008-12-26 08:50 <cristi_an> really ? | ||
2008-12-26 08:50 <vengfulsquirrel> I'm not positive as to why, but that's what I would guess. | ||
2008-12-26 08:51 <vengfulsquirrel> Have you used svn or cvs? | ||
2008-12-26 08:51 <cristi_an> yes ! (only those two) | ||
2008-12-26 08:51 <cristi_an> very nice and easy to use | ||
2008-12-26 08:51 <vengfulsquirrel> cvs? | ||
2008-12-26 08:52 <cristi_an> for me yes | ||
2008-12-26 08:52 <vengfulsquirrel> ha interesting ... i think i've never heard that | ||
2008-12-26 08:52 <cristi_an> why do you consider it complicated ? | ||
2008-12-26 08:53 <cristi_an> integrated in eclipse... and is more then simple | ||
2008-12-26 08:53 <cristi_an> maybe is harder to use from command line (but i never used it in that way) | ||
2008-12-26 08:53 <vengfulsquirrel> I've never used cvs but I've never heard a good thing about it. Subversion is okay but the directory thing is a pain and you can only have one repository. | ||
2008-12-26 08:54 <cristi_an> difference is "Mercurial is a completely decentralized system, and thus has no internal notion of a central repository. Thus users are free to define their own topologies for sharing changes" | ||
2008-12-26 08:54 <vengfulsquirrel> Yes | ||
2008-12-26 08:54 <cristi_an> svn and cvs from what i know have a central repository | ||
2008-12-26 08:54 <vengfulsquirrel> es | ||
2008-12-26 08:54 <vengfulsquirrel> *Yes | ||
2008-12-26 08:54 <cristi_an> but what is the purpose not having a central repository ? | ||
2008-12-26 08:56 <vengfulsquirrel> You can commit to your own repo and then send groups of commits to the central repo once its working, therefore allowing you to make commits without breaking the repo for everyone else. | ||
2008-12-26 08:57 <cristi_an> hmmm what i see here is a 2 step commit | ||
2008-12-26 08:57 <cristi_an> 1 to your own repo | ||
2008-12-26 08:57 <cristi_an> 2 to central repo | ||
2008-12-26 08:58 <cristi_an> step 1 in cvs is not needed...(why to commit something what is local anyway) | ||
2008-12-26 08:59 <vengfulsquirrel> That's just one example. I find the file-tracking without directory tracking actually more convenient. Although you should install it and try it out for yourself. | ||
2008-12-26 09:01 <cristi_an> sure that is the best thing... | ||
2008-12-26 09:03 <vengfulsquirrel> I think you'll like it, looks like there is an eclipse plugin but I've never used it. You should follow a tutorial on the command line first though to get a feel for how it works. | ||
2008-12-26 09:06 <cristi_an> ok ,i'll try it,but having a site that is not working is not a good image for it | ||
2008-12-26 09:11 <vengfulsquirrel> cristi_an: Its the holidays. | ||
2008-12-26 09:12 <vengfulsquirrel> cristi_an: Have you used any open source POS software that was good ? | ||
2008-12-26 09:13 <cristi_an> yes, that one from open bravo for a while (but then i created my own) | ||
2008-12-26 09:14 <cristi_an> there is posterita from adempiere (heard of it ) never used it | ||
2008-12-26 09:14 <vengfulsquirrel> Yeah I'm looking at that now (posterita). | ||
2008-12-26 09:14 <cristi_an> that one has alos web interface | ||
2008-12-26 09:15 <vengfulsquirrel> Yeah I'm not sure if that is better or worse. | ||
2008-12-26 09:23 <vengfulsquirrel> cristi_an: DId you use the open bravo pos with an erp other than open bravo ? | ||
2008-12-26 09:30 <cristi_an> i did not used it with an erp | ||
2008-12-26 09:30 <cristi_an> well knows | ||
2008-12-26 09:30 <cristi_an> well known | ||
2008-12-26 09:30 <cristi_an> i used it with my own erp... | ||
2008-12-26 09:31 <cristi_an> i kind of adapted to my needs ....but later a created my own POS | ||
2008-12-26 09:31 <cristi_an> custom to my clients needs | ||
2008-12-26 09:35 <vengfulsquirrel> right but the openbravo pos would say work with tryton if i wrote a webservices compatible wrapper or whatever | ||
2008-12-26 09:39 <cristi_an> it should work why not | ||
2008-12-26 09:40 <cristi_an> the question is does openbravo pos have all your needs ? | ||
2008-12-26 09:40 <vengfulsquirrel> because the connection between them might be super proprietary ... java web services means bla bla bla to me | ||
2008-12-26 09:42 <cristi_an> well i used open bravo pos....as standalone application | ||
2008-12-26 09:42 <cristi_an> i extraced the data that i needed directly from database.... | ||
2008-12-26 09:42 <cristi_an> from my erp | ||
2008-12-26 09:43 <vengfulsquirrel> oh right i hadn't even thought of doing that | ||
2008-12-26 09:43 <cristi_an> so erp had a connection to the pos's database | ||
2008-12-26 09:43 <cristi_an> then ...i was free of extracting what i needed | ||
2008-12-26 09:44 <cristi_an> btw i did some custom populating stuff (products etc) | ||
2008-12-26 09:44 <cristi_an> in order tohave same id's as in main database | ||
2008-12-26 09:44 <cristi_an> partners... | ||
2008-12-26 09:50 <vengfulsquirrel> yeah i don't know its in java which pretty much means i can't modify it, or it won't be worth it, i was hoping for something in python | ||
2008-12-26 10:00 <cristi_an> then choose the pos from tiny until tryton will have one | ||
2008-12-26 10:06 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton | ||
2008-12-26 10:12 <cristi_an> Timitos: Merry Christmas | ||
2008-12-26 10:13 <Timitos> cristi_an: thx. Merry Christmas to you too :-) | ||
2008-12-26 10:37 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2008-12-26 10:38 <cristi_an> i use the dev script from wiki but i get this | ||
2008-12-26 10:38 <cristi_an> Clone module Mercurial into /home/cristi/work/trytond/trytond/modules/ | ||
2008-12-26 10:38 <cristi_an> abort: 'http://hg.tryton.org/modules/Mercurial' does not appear to be an hg repository! | ||
2008-12-26 10:38 <cristi_an> Clone module Mercurial failed! | ||
2008-12-26 10:39 <cristi_an> is this because the mercurial site is kind of offline ? | ||
2008-12-26 10:39 <cristi_an> http://www.selenic.com/mercurial/wiki/ | ||
2008-12-26 10:50 -!- oversize(n=manuel@dslb-088-069-009-001.pools.arcor-ip.net) has joined #tryton | ||
2008-12-26 10:51 <cristi_an> jusat updated with hg fpull and hg fupdate | ||
2008-12-26 10:51 <cristi_an> but now i got this when i try to start the client | ||
2008-12-26 10:51 <cristi_an> http://paste.ubuntu.com/93113/ | ||
2008-12-26 10:51 <cristi_an> this is the server's console | ||
2008-12-26 10:52 <cristi_an> any of you have an ideea why. | ||
2008-12-26 10:52 <cristi_an> ? | ||
2008-12-26 10:57 <Timitos> crisit_an: the mercurial site seems to be the problem yes. | ||
2008-12-26 10:57 <Timitos> cristi_an: the other problem is that you need to update your database | ||
2008-12-26 10:57 <Timitos> cristi_an: start the server with: trytond -d 'NAMEOFYOURDB' -u all | ||
2008-12-26 10:58 <Timitos> cristi_an: then the modules will be updated | ||
2008-12-26 10:58 <Timitos> NAMEOFYOURDB can also be all dbs you have kommaseparated like: tryton,tryton1,trytontest ... | ||
2008-12-26 10:59 <cristi_an> is this specified somewhere on wiki ? | ||
2008-12-26 11:00 <Timitos> http://code.google.com/p/tryton/wiki/Update | ||
2008-12-26 11:00 <cristi_an> Timitos: you are my hero :) | ||
2008-12-26 11:00 <Timitos> ;-) | ||
2008-12-26 11:00 <cristi_an> unfortunatelly this is when i have time (holidays) and weekends | ||
2008-12-26 11:02 <Timitos> cristi_an: this is clear. but i am only online if there is some time. will be away later ;-) | ||
2008-12-26 11:05 <cristi_an> np, your help is welcome anytime. | ||
2008-12-26 11:06 <cristi_an> btw thx since now i started the client | ||
2008-12-26 11:06 <cristi_an> and it works | ||
2008-12-26 11:24 -!- oversize(n=manuel@94.219.50.112) has joined #tryton | ||
2008-12-26 11:32 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton | ||
2008-12-26 11:36 <cristi_an> cedk: a post on wiki is seen only after approval ? | ||
2008-12-26 11:37 <cristi_an> cedk: in fact on google groups | ||
2008-12-26 11:39 <cedk> cristi_an: yes for new members | ||
2008-12-26 11:41 <cristi_an> cedk: i wonder if i update a module, let's say party (db table,some other logic stuff) and i have an customer that has an old client | ||
2008-12-26 11:43 <cedk> cristi_an: don't understand | ||
2008-12-26 11:44 <cristi_an> cedk: so i update a module modifying the db and some logic inside the module | ||
2008-12-26 11:44 <cristi_an> then the old client | ||
2008-12-26 11:44 <cristi_an> that assume is installed on a customer | ||
2008-12-26 11:45 <cristi_an> the customer is able to run then the module i updated ? | ||
2008-12-26 11:46 <cristi_an> or it had first to go to modules | ||
2008-12-26 11:46 <cristi_an> and do update module | ||
2008-12-26 11:49 <cedk> cristi_an: still don't understand | ||
2008-12-26 11:49 <cristi_an> :) | ||
2008-12-26 11:51 <cristi_an> cedk: scenario i have a customer that run module named customparty v 1.0 | ||
2008-12-26 11:51 <cristi_an> the server runs on some service provider | ||
2008-12-26 11:51 <cristi_an> i do an update on the customparty module | ||
2008-12-26 11:52 <cristi_an> by adding some extra fields and some new logic into it | ||
2008-12-26 11:52 <cristi_an> and custom party becomes v1.1 | ||
2008-12-26 11:52 <cristi_an> but i did not touched the client yet,so the customer has a client that had module 1.0 installed | ||
2008-12-26 11:53 <cristi_an> now the question is : the client will be able to run the customparty module 1.0 with the new code that is on server side | ||
2008-12-26 11:53 <cristi_an> or it has to do an upgrade on the module to have the 1.1 version | ||
2008-12-26 11:54 <cedk> cristi_an: what do you call client ? | ||
2008-12-26 11:54 <cristi_an> client is the tryton client | ||
2008-12-26 11:54 <cristi_an> customer is the the entity that run the client | ||
2008-12-26 11:54 <cristi_an> the firm | ||
2008-12-26 11:54 <cedk> cristi_an: so the client have not any module | ||
2008-12-26 11:54 <yangoon> cristi_an: client and server have to be compatible | ||
2008-12-26 11:54 <cristi_an> yes but we talk about modules.... | ||
2008-12-26 11:55 <cristi_an> on server is 1.1 | ||
2008-12-26 11:55 <cristi_an> on client is 1.0 | ||
2008-12-26 11:55 <yangoon> on the client there are no modules | ||
2008-12-26 11:55 <cristi_an> there are | ||
2008-12-26 11:55 <yangoon> they are served by the server | ||
2008-12-26 11:55 <cristi_an> really ? | ||
2008-12-26 11:55 <yangoon> where? | ||
2008-12-26 11:55 <cristi_an> OKI.... | ||
2008-12-26 11:56 <cristi_an> so the client do not have modules | ||
2008-12-26 11:56 <yangoon> never | ||
2008-12-26 11:56 <cristi_an> then why is upgrade module feature | ||
2008-12-26 11:56 <cristi_an> in modules | ||
2008-12-26 11:56 <cristi_an> ? | ||
2008-12-26 11:56 <yangoon> to tell the server, that he should things | ||
2008-12-26 11:56 <cristi_an> ? | ||
2008-12-26 11:56 <yangoon> he should do things | ||
2008-12-26 11:57 <cristi_an> like what...? | ||
2008-12-26 11:57 <yangoon> in this case: upgrade the modules from your modules directory | ||
2008-12-26 11:57 <yangoon> which is always under trytond/modules | ||
2008-12-26 11:58 <cristi_an> so on server side there are present many of the same modules...like version 1.0 | ||
2008-12-26 11:58 <cristi_an> 1.1 | ||
2008-12-26 11:58 <cristi_an> etc ? | ||
2008-12-26 11:58 <cristi_an> and i may choose to upgrade to some of these ? | ||
2008-12-26 12:02 <Timitos> cristi_an: you mix up client, server and modules | ||
2008-12-26 12:03 <cristi_an> maybe.....:( | ||
2008-12-26 12:03 <Timitos> the client is in directory tryton | ||
2008-12-26 12:03 <Timitos> the server is in directory trytond | ||
2008-12-26 12:03 <cristi_an> that is right | ||
2008-12-26 12:03 <cristi_an> the server and modules are in trytond | ||
2008-12-26 12:03 <Timitos> so you see that on the client there are no modules | ||
2008-12-26 12:03 <Timitos> yes | ||
2008-12-26 12:04 <yangoon> cedk: you certainly registered my first pushes, not very nice, I admit, because of the whole merge stuff from different repos, but it reflects history anyway | ||
2008-12-26 12:04 <cristi_an> there is a module directory | ||
2008-12-26 12:04 <Timitos> so in your case you only change a module | ||
2008-12-26 12:04 <yangoon> cedk luckily this won't happen again now | ||
2008-12-26 12:04 <cristi_an> Timitos: yes | ||
2008-12-26 12:04 <cedk> yangoon: ok, and I see that you succeed to push merge | ||
2008-12-26 12:04 <Timitos> so you need to update the database | ||
2008-12-26 12:04 <cristi_an> Timitos: yes | ||
2008-12-26 12:05 <yangoon> cedk: yes, normally it works | ||
2008-12-26 12:05 <Timitos> cristi_an: you need to update the database because the db do not know of the changes of the module | ||
2008-12-26 12:05 <yangoon> cedk: question about tryton.pot | ||
2008-12-26 12:05 <Timitos> cristi_an: but this has no effect on server core or client core | ||
2008-12-26 12:05 <cristi_an> Timitos: but when i update the module i do not have to modify the db manually ? | ||
2008-12-26 12:06 <Timitos> so if server and client still have the same version you do not need to update the client at customer site | ||
2008-12-26 12:06 <cristi_an> it is done by the framework by running the update db stuff | ||
2008-12-26 12:06 <cristi_an> ? | ||
2008-12-26 12:06 <yangoon> cedk: if I follow close the update instructions as described in the wiki, I regenerate it each time before beginning translation which makes sense | ||
2008-12-26 12:06 <cristi_an> Timitos: ok i got it now thx to you.... | ||
2008-12-26 12:07 <Timitos> cristi_an: you are welcome | ||
2008-12-26 12:07 <yangoon> cedk: but perhaps sometimes there is only version string of babel changed | ||
2008-12-26 12:07 <cedk> yangoon: the means that there was no change in the code, so no need to run it | ||
2008-12-26 12:08 <cristi_an> Timitos: only one thing is not clear | ||
2008-12-26 12:08 <cristi_an> Timitos: upgrade feature from client | ||
2008-12-26 12:08 <cristi_an> Timitos: assume i have party 1.0 installed | ||
2008-12-26 12:08 <yangoon> cedk: ok, and in this case revert it before commit | ||
2008-12-26 12:08 <Timitos> the upgrade feature does the same like the trytond -d -u stuff | ||
2008-12-26 12:09 <cedk> yangoon: yes, and I think it is better to make two commits one for .pot and an other for .po .mo | ||
2008-12-26 12:10 <yangoon> cedk: could you please add tryton.desktop for translators as well, I forgot to tell you recently | ||
2008-12-26 12:10 <Timitos> cristi_an: you can also update your db with the upgrade feature from the client. but in your case today you could not enter the db before updating. so you needed to use the tryton -d -u stuff | ||
2008-12-26 12:10 <cristi_an> Timitos: do you know why i could not ? | ||
2008-12-26 12:11 <cedk> yangoon: done | ||
2008-12-26 12:11 <cristi_an> Timitos: it was a special change in server ? | ||
2008-12-26 12:11 <Timitos> cristi_an: i think it was because of a change in trytond core tables | ||
2008-12-26 12:11 <Timitos> cristi_an: yes | ||
2008-12-26 12:11 <cristi_an> Timitos: cleat now | ||
2008-12-26 12:12 <cristi_an> Timitos: so iti is possible on server side to have more versions for one module ? like party 1.0 ,1.1,etc ? | ||
2008-12-26 12:12 <Timitos> cristi_an: i would not do that. and i haven´t tried that yet | ||
2008-12-26 12:13 <Timitos> cristi_an: i do not see any sense in that | ||
2008-12-26 12:13 <Timitos> cristi_an: some of the 1.0 modules cannot be used with 1.1.0 server | ||
2008-12-26 12:14 <cristi_an> Timitos: here is something i do not understand. | ||
2008-12-26 12:14 <cristi_an> why modules have then versions ? | ||
2008-12-26 12:15 <cristi_an> a real life scenario: | ||
2008-12-26 12:15 <cristi_an> i install now on party modules from client | ||
2008-12-26 12:16 <cristi_an> but in 2 weeks i need to add an extra field | ||
2008-12-26 12:16 <cristi_an> first step is to change module code to add that field right ? | ||
2008-12-26 12:16 <Timitos> cristi_an: you should add extra fields with another module. you should not touch base modules. | ||
2008-12-26 12:16 <cristi_an> i an talking in a generic way now | ||
2008-12-26 12:17 <cristi_an> just for you to understand...what i want to ask | ||
2008-12-26 12:17 -!- bechamel(n=user@85.201.86.139) has joined #tryton | ||
2008-12-26 12:18 <Timitos> cristi_an: afk | ||
2008-12-26 12:19 <cristi_an> so i update party module adding the extrafield "founded in" and the user can add 1893 (just as an example) | ||
2008-12-26 12:19 <cristi_an> Timitos: now...do i have a new version of the module called party or not ? | ||
2008-12-26 12:20 <cristi_an> Timitos: if i update the module by adding a field ? | ||
2008-12-26 12:26 <cristi_an> cedk: i started to understand the relation between the client and server and modules but i still have some ? | ||
2008-12-26 12:26 <cristi_an> cedk: module version number are dependent on server' version ? | ||
2008-12-26 12:27 <cristi_an> cedk: is possible for a server to have like may versions for the same module ? | ||
2008-12-26 12:28 <cristi_an> /s/may/many | ||
2008-12-26 12:36 <bechamel> cristi_an: module numbers are just there to tell which server version to use, there is no check to prevent to use modules with other version numbers | ||
2008-12-26 12:37 <bechamel> cristi_an: and you cannot use two version of the same module on the same server (actualy you can try but at best it will mess your db) | ||
2008-12-26 12:38 <cristi_an> bechamel: thx,i see (so only one version is present on server side) | ||
2008-12-26 12:38 <cristi_an> i can't have like party 1.1.0 and party 1.1.1 | ||
2008-12-26 12:41 <bechamel> no, if you want to test several version of modules, clone your trytond repo and checkout different version of modules on each (and two different db) | ||
2008-12-26 12:42 <bechamel> and if you want to extend a module the best way is to create a new module and inherit objects | ||
2008-12-26 12:42 <cristi_an> bechamel: 2,3 more questions plz... | ||
2008-12-26 12:43 <cristi_an> bechamel: so if assume on one of my custom modules i update it by addign some extra fields | ||
2008-12-26 12:43 <bechamel> for example see company/company.py, the User class extend the defaut res.user model | ||
2008-12-26 12:43 <cristi_an> do i have a new version then ? | ||
2008-12-26 12:44 <cristi_an> of my custom module ? | ||
2008-12-26 12:45 <bechamel> version numbering is up to you | ||
2008-12-26 12:45 <cristi_an> the only thing that confused me is upgrade fuinction from client/modules | ||
2008-12-26 12:45 <cristi_an> what do i upgrade there ? | ||
2008-12-26 12:46 <bechamel> the db schema and the xml data | ||
2008-12-26 12:46 <cristi_an> bechamel: of what ? | ||
2008-12-26 12:46 <cristi_an> of the new modules i changed ? | ||
2008-12-26 12:47 <bechamel> if you add a field on a model, and if you restart the server with "-d my_db -u my_module" the field will be added accordingly | ||
2008-12-26 12:48 <cristi_an> but this operation may be done from client side as well ? | ||
2008-12-26 12:48 <cristi_an> using the upgrade feature | ||
2008-12-26 12:48 <bechamel> or more precisely if you add a "test = field.Char" on model my.model the update will add a chr column on the my_model table | ||
2008-12-26 12:48 <bechamel> you must see the client as a web browser | ||
2008-12-26 12:49 <cristi_an> yee interpreting the xml rpc that comes from server | ||
2008-12-26 12:49 <bechamel> the client job is roughly to call the server and show vairous results | ||
2008-12-26 12:50 <bechamel> contrary to lot of other erp the client never access the db directly | ||
2008-12-26 12:50 <cristi_an> bechamel: upgrade feature from client is needed when i did not restarted the server | ||
2008-12-26 12:51 <cristi_an> with "-d my_db -u my_module | ||
2008-12-26 12:51 <cristi_an> and i updated the a module or so.... | ||
2008-12-26 12:51 <cristi_an> so i can propagate the changes on server side...from a client command ? | ||
2008-12-26 12:52 <bechamel> yes the client only tell the server to update a module | ||
2008-12-26 12:52 <cristi_an> thx GOD...!!! | ||
2008-12-26 12:52 <cristi_an> finally i understood | ||
2008-12-26 12:52 <cristi_an> i thought you may upgrade the client which is totally worng..... | ||
2008-12-26 12:53 <cristi_an> bechamel: but that feature is not needed if you restart the server with commands you...just wrote | ||
2008-12-26 12:53 <bechamel> actually I never update the modules from the client i always use command line args on the server side | ||
2008-12-26 12:54 <cristi_an> good !!! | ||
2008-12-26 12:55 <cristi_an> thx to all | ||
2008-12-26 12:56 <cristi_an> so the client has nothing to do with modules | ||
2008-12-26 12:57 <cristi_an> it is just an "interpreter" and "commands provider" for server | ||
2008-12-26 12:57 <bechamel> cristi_an: not at all, for the client module are just a model like any other model | ||
2008-12-26 12:59 <cristi_an> bechamel: yes...that is what i saiD as well (i hope) | ||
2008-12-26 12:59 <bechamel> yes, i write a bit slowly today | ||
2008-12-26 12:59 <cristi_an> bechamel: the client receive from server some xml -rpc that is analized by the client and according to that the UI is displayed | ||
2008-12-26 13:01 <bechamel> most of the client call are search, read, write, create or delete on an arbitrary model, other call are for wizard and reports | ||
2008-12-26 13:02 <bechamel> and to be clear, the server never call the client, all the rpc are initiated by the client and are synchronous | ||
2008-12-26 13:20 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1138:95fe1ad6e4f6 tryton/tryton.desktop: Add strings for de_DE to tryton.desktop | ||
2008-12-26 13:20 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1139:313a28180c31 tryton/share/locale/de_DE/LC_MESSAGES/ (tryton.mo tryton.po): Update translation for de_DE | ||
2008-12-26 13:35 <cristi_an> bechamel: you gave me very preciuos informations | ||
2008-12-26 13:37 <cristi_an> but what do you mean by synchronous ? client 1 make call1 client 2 make call2 ==> when call1 is ended then call2 is executed ? | ||
2008-12-26 13:38 <bechamel> yes, those info are really missing in the docs | ||
2008-12-26 13:38 <cristi_an> but having 100 clients is not dangerous ? | ||
2008-12-26 13:38 <bechamel> cristi_an: no, server side is threaded | ||
2008-12-26 13:38 <cristi_an> OK!!!!! | ||
2008-12-26 13:38 <bechamel> this means that client is "frozen" until the server answer | ||
2008-12-26 13:38 <cristi_an> you meant calls from the same client | ||
2008-12-26 13:39 <cristi_an> cool cause i stated to worry a lot last 1 minute...:) | ||
2008-12-26 13:40 <cristi_an> bechamel: and the modules installed are / client or / company ? | ||
2008-12-26 13:40 <bechamel> openerp introduced an asynch call for reports but cedk told me that it may inrtoduce bugs (the client may be confused by two interleaved rpc) | ||
2008-12-26 13:41 <bechamel> i don't understand your last question | ||
2008-12-26 13:42 <cristi_an> after i install module party i may create companies...meaning i may have 2,3 more companies with the same client | ||
2008-12-26 13:42 <cristi_an> aftert that i may install module x for company 1 | ||
2008-12-26 13:42 <cristi_an> module y for company 2 | ||
2008-12-26 13:42 <cristi_an> since they may have different profiles... | ||
2008-12-26 13:43 <cristi_an> ? | ||
2008-12-26 13:43 <cristi_an> or this may be resolved from user rights ? | ||
2008-12-26 13:43 <cristi_an> i want company x to see module x,y,z | ||
2008-12-26 13:43 <cristi_an> and company y to see module x only | ||
2008-12-26 13:47 -!- ikks(n=igor@201.244.188.98) has joined #tryton | ||
2008-12-26 13:48 <bechamel> cristi_an: if you want different modules for different companies, the easiest is to create two db | ||
2008-12-26 13:53 <cristi_an> aha | ||
2008-12-26 13:54 <cristi_an> i did not think on this possibility | ||
2008-12-26 13:54 <cristi_an> indeed | ||
2008-12-26 14:00 <bechamel> udono: i just saw your mail on the ml, did try to remove on_change_party_type on the company object (to see if this method is called on the party itself) ? | ||
2008-12-26 14:06 -!- gremly(n=oscar@190.156.166.44) has joined #tryton | ||
2008-12-26 14:19 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 125:232d3446fee9 product/product.py: Added complete_name function field | ||
2008-12-26 14:21 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 198:da63214b794d purchase/purchase.xml: Added hidden Reporting menuitem | ||
2008-12-26 14:21 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 199:0050a98d35ae purchase/: merge | ||
2008-12-26 14:52 <udono> bechamel: yes, I did it the first time. But Tryton cannot find the method. No such method on compay.company. For me it would be the best to avoid inheriting company, because this is just the beginning. Actually I needed to inherit all Models, which itself inherit party, and this is worse. Because the party_type module needed to depend on all the coming modules like party_bank... | ||
2008-12-26 14:54 -!- gremly(n=oscar@190.156.166.44) has joined #tryton | ||
2008-12-26 15:16 <udono> bechamel: do you think there is a possibility to overload the Party class with the contents of the inherit class Party for party_types? | ||
2008-12-26 15:25 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1426:1241e997c5cd trytond/trytond/osv/orm.py: Fix order on selection field to order with selection values | ||
2008-12-26 15:30 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton | ||
2008-12-26 15:36 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1427:14fb68b2cc9b trytond/trytond/ir/translation.py: Fix unicode conversion of source in _get_sources if it is None | ||
2008-12-26 15:52 <cristi_an> i did not find any docs related to setup.py | ||
2008-12-26 15:52 <cristi_an> i founded this in party module | ||
2008-12-26 15:54 <bechamel> udono: my point of view is that as you know company is a model that define companies that use the current tryton db, which turns out to inherit party (but it could have been a completely independant object), and that the party_type module is there to give type to parties (aka customer, supplier and so on). So my answer is that we don't need party_type on company, the same way we don't need it on the employee model (which is also a | ||
2008-12-26 15:54 <bechamel> party) | ||
2008-12-26 15:55 <bechamel> cristi_an: setup.py is there for easy_install packaging, it's not part of tryton istself | ||
2008-12-26 15:56 <cristi_an> bechamel: what is easy_install | ||
2008-12-26 15:58 <cedk> cristi_an: http://peak.telecommunity.com/DevCenter/EasyInstall | ||
2008-12-26 15:58 <bechamel> cristi_an: a bit lazy today ? http://www.google.com/search?q=easy_install | ||
2008-12-26 15:58 <bechamel> cristi_an: ;) | ||
2008-12-26 15:58 <cristi_an> com 'on....no is not about that... | ||
2008-12-26 15:59 <cristi_an> but i thought that is something tryton internal thing... | ||
2008-12-26 15:59 <cristi_an> do not make the assumption that what is easy and simple for you it is for the rest...:) | ||
2008-12-26 16:00 <cristi_an> i tend to do the same...when i am in the opossite situation | ||
2008-12-26 16:14 <cristi_an> cedk: my last question for today | ||
2008-12-26 16:14 <cristi_an> i hope | ||
2008-12-26 16:15 <cristi_an> "_sequence: The name of the postgresql sequence that increment the id column." | ||
2008-12-26 16:16 <cristi_an> this is autmoatically created in DB ? | ||
2008-12-26 16:16 <cristi_an> i do not see it defined in address.py or other party model | ||
2008-12-26 16:17 <cedk> cristi_an: yes | ||
2008-12-26 16:17 <cristi_an> k | ||
2008-12-26 17:04 -!- irclog(n=irclog@tycho.b2ck.com) has joined #tryton | ||
2008-12-26 19:13 <CIA-10> tryton: cedric.krier@b2ck.com * r396 /wiki/source.wiki: Add missing link | ||
2008-12-26 19:13 <CIA-10> tryton: cedric.krier@b2ck.com * r397 /wiki/HowtoContribute.wiki: Add ssh access | ||
2008-12-26 19:13 <CIA-10> tryton: cedric.krier@b2ck.com * r398 /wiki/HowtoContribute.wiki: Edited wiki page through web user interface. | ||
2008-12-26 20:07 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton | ||
2008-12-26 20:09 <cristi_an> cedk: id,create_date,write_date...write_uid, are some default fields added to all the tables created from models ? | ||
2008-12-26 20:10 <cedk> cristi_an: yes | ||
2008-12-26 20:10 <cristi_an> what is write_uid | ||
2008-12-26 20:10 <cristi_an> ? | ||
2008-12-26 20:10 <cristi_an> the rest are quite clear | ||
2008-12-26 20:10 <cedk> cristi_an: the id of the last user that modify the record | ||
2008-12-26 20:11 <cristi_an> gr9 so you know wht user did the last update as well as the user who created the item | ||
2008-12-26 20:11 <cristi_an> thx | ||
2008-12-26 20:23 <cristi_an> i found import vatnumber | ||
2008-12-26 20:23 <cristi_an> as code in party module | ||
2008-12-26 20:23 <cristi_an> but i can find where vatnumber is created (vatnumber.py) or so | ||
2008-12-26 20:24 <cristi_an> can any of you point me where can i find vatnumber | ||
2008-12-26 20:24 <cristi_an> ? | ||
2008-12-26 20:26 <yangoon> cristi_an: please have a look at tryton repos | ||
2008-12-26 20:27 <cristi_an> i have installed the tryton client and server using the dev script. | ||
2008-12-26 20:27 <cristi_an> i founded the party module | ||
2008-12-26 20:28 <yangoon> cristi_an: perfect, but it doesn't install any dependencies needed on the system | ||
2008-12-26 20:28 <cristi_an> how come then the client started | ||
2008-12-26 20:28 <cristi_an> ? | ||
2008-12-26 20:28 <cristi_an> and teh local server as well | ||
2008-12-26 20:29 <yangoon> cristi_an: because you have the necessary deps already installed | ||
2008-12-26 20:29 <yangoon> cristi_an: http://hg.tryton.org/hgwebdir.cgi/vatnumber/ | ||
2008-12-26 20:29 <yangoon> http://hg.tryton.org/hgwebdir.cgi/numword/ | ||
2008-12-26 20:30 <cristi_an> let me undestood... | ||
2008-12-26 20:30 <cristi_an> so i have them or not ? | ||
2008-12-26 20:30 <yangoon> no, the addons above are not installed automatically | ||
2008-12-26 20:31 <cristi_an> but why then my local server works...and client as well | ||
2008-12-26 20:31 <yangoon> because they are optional | ||
2008-12-26 20:31 <cristi_an> or they are not mandatory...and my client started | ||
2008-12-26 20:31 <cristi_an> anyway | ||
2008-12-26 20:32 <cristi_an> oki i see | ||
2008-12-26 20:32 <cristi_an> that make sense | ||
2008-12-26 20:32 <yangoon> see the try clause for the import of vatnumber | ||
2008-12-26 20:32 <cristi_an> yes,noticed | ||
2008-12-26 20:32 <cristi_an> that is why i have empty vat combo list or so | ||
2008-12-26 20:33 <cristi_an> how do i get these dependencies ? | ||
2008-12-26 20:33 <yangoon> download and install them | ||
2008-12-26 20:33 <yangoon> cristi_an: what OS are you running? | ||
2008-12-26 20:34 <cristi_an> ububtu | ||
2008-12-26 20:34 <cristi_an> apt-get ? | ||
2008-12-26 20:34 <yangoon> cristi_an: you can probably use http://code.google.com/p/tryton/wiki/InstallationOnDebian | ||
2008-12-26 20:34 <cristi_an> good | ||
2008-12-26 20:34 <cristi_an> thx | ||
2008-12-26 20:47 <cristi_an> any of you using eclipse ? (except timitos ,who is away) | ||
2008-12-26 21:12 <CIA-10> tryton: cedric.krier@b2ck.com * r399 /wiki/HowtoTranslate.wiki: Edited wiki page through web user interface. | ||
2008-12-26 21:12 <CIA-10> tryton: mathias.behrle@gmx.de * r400 /wiki/InstallationOnDebian.wiki: Edited wiki page through web user interface. | ||
2008-12-26 21:12 <CIA-10> tryton: cedric.krier@b2ck.com * r401 /wiki/InstallationOnDebian.wiki: Fix module name | ||
2008-12-26 21:59 -!- oversize(n=manuel@94.219.50.86) has joined #tryton | ||
2008-12-26 22:14 <CIA-10> tryton: mathias.behrle@gmx.de * r402 /wiki/HowToContributeUsingIntuxication.wiki: Removed obsoleted stuff relating to translation | ||
2008-12-26 22:56 -!- vengfulsquirrel(n=lily@wireless-216-170-122-150.digitalputty.com) has joined #tryton | ||
2008-12-26 23:01 -!- vengfulsquirrel(n=lily@wireless-216-170-122-150.digitalputty.com) has left #tryton | ||
2008-12-26 23:11 <CIA-10> tryton: cedric.krier@b2ck.com * r403 /wiki/ProjectOrganization.wiki: Add ikks | ||
2008-12-26 23:36 -!- oversize_(n=manuel@94.219.50.86) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!