IRC logs of #tryton for Saturday, 2011-11-05 #tryton log beginning Sat Nov 5 00:00:01 CET 2011
2011-11-05 00:21 <hoRn> search_quantity - got it
2011-11-05 07:54 -!- hoRn( has left #tryton
2011-11-05 11:44 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton
2011-11-05 12:28 <sisalp> just checked service sale workflow. Tryton works well.
2011-11-05 12:58 <cedk> sisalp: I saw your post on OE forum
2011-11-05 12:59 <cedk> sisalp: I was wondering how to manage it in Tryton
2011-11-05 12:59 <cedk> sisalp: I think I will adapt/check sale_supply module to also work on services
2011-11-05 13:05 <cedk> sisalp: indeed it works correctly :-)
2011-11-05 13:05 <cedk> sisalp: but perhaps the name: 'on_stock' is not really good when it is a service
2011-11-05 13:06 <cedk> ACTION request for suggestion about "On Stock" supply method for services
2011-11-05 15:20 <sisalp> cedk: there are two problems with OE
2011-11-05 15:22 <sisalp> cedk: a user creates endless orders because a product uses some option it shouldn't, even if it makes sens: a real trap
2011-11-05 15:23 <sisalp> second : to manage services you must add modules which contradict others
2011-11-05 15:25 <sisalp> cedk: on_stock makes sens for stockable products
2011-11-05 15:26 <sisalp> cedk: it should not be possible to select this value for products which cannot be stocked
2011-11-05 15:27 <cedk> sisalp: but you can see the manpower of the company as a stock
2011-11-05 15:28 <sisalp> cedk: manpower is a capacity but not a stock, only computer scientists can think it is the same ;-)
2011-11-05 15:28 <sisalp> cedk: similat mechanisms can apply to both, but it is not the same
2011-11-05 15:28 <sisalp> similar
2011-11-05 15:29 <cedk> sisalp: that's why I'm asking for a better term
2011-11-05 15:30 <cedk> a merge of "On Stock" and "On Task"
2011-11-05 15:30 <sisalp> what is not on stock ? on order ?
2011-11-05 15:31 <cedk> sisalp: On Purchase
2011-11-05 15:31 <sisalp> not for sales also ?
2011-11-05 15:32 <cedk> sisalp: a sale does't supply
2011-11-05 15:32 <sisalp> ok
2011-11-05 15:33 <sisalp> is it possible that : if product is stockable choice=Purchase|Stock, else choice=Purchase|task ?
2011-11-05 15:34 <cedk> sisalp: we can not do it with selection field
2011-11-05 15:35 <sisalp> too bad
2011-11-05 15:35 <sisalp> would "From Scheduler" be correct ?
2011-11-05 15:37 <sisalp> does "On" means "originated by" ?
2011-11-05 15:44 <Telesight> Although a service can not be put on the shelf, you can make preparations for the service to be sold (i.e: creating documents) at that moment these service parts are on stock.
2011-11-05 15:44 <cedk> sisalp: "On" comes from "Supply On ..."
2011-11-05 15:45 <cedk> Telesight: come on, you don't take care of the stock for paper
2011-11-05 15:46 <Telesight> cedk: I mean digital documents ;-)
2011-11-05 15:56 <Telesight> The problem is that a service may exists out of different parts (intake, design etc) and hours made at a clients place. The first you can create earlier/before the real sale is made. You made hours for these parts (so they have a value) and you create something for it (where to stock?)
2011-11-05 16:03 <cedk> Telesight: you don't sale hours based on timesheet with sale orders
2011-11-05 16:15 <sisalp> cedk: does "Supply On ..." mean "Supply originated by..." ? or "Supply which will be directed to..." ?
2011-11-05 16:16 <cedk> sisalp: I don't understand
2011-11-05 16:18 <sisalp> On is one of these word like "sur" in French which means many different things : on a wall, on demand, on behalf, on/off..., so whic one here ?
2011-11-05 16:18 <cedk> sisalp: it says, the sale line product will be supply/
2011-11-05 16:18 <cedk> sisalp: it says, the sale line product will be supply on purchase
2011-11-05 16:19 <cedk> or on stock
2011-11-05 16:20 <cedk> sisalp: in french: "Approvisioner par le stock" ou "Approvisioner par achat"
2011-11-05 16:21 <sisalp> the sale line will supplied by a purchase
2011-11-05 16:23 <sisalp> so it's clearer for me : get_from_stock, buy_it
2011-11-05 16:24 <cedk> sisalp: not for me, because buy_it is valid for both
2011-11-05 16:24 <sisalp> if it is in stock it cannot be bought again, I think
2011-11-05 16:25 <sisalp> I'm not proposing a solution, I just think I now understand what it meant
2011-11-05 16:26 <cedk> sisalp: but perhaps it is not in stock, so it will be buy
2011-11-05 16:26 <sisalp> you mean that if there is not enough in stock, it will be bought
2011-11-05 16:26 <cedk> sisalp: yes
2011-11-05 16:27 <sisalp> but will if go through stock before being assigned to this order ?
2011-11-05 16:28 <sisalp> it
2011-11-05 16:31 <cedk> sisalp: yes in any cases (except drop shipping)
2011-11-05 16:32 <sisalp> the purchase order will be generated from the stock rules (min/max/qty) isn't ? independently from the order ?
2011-11-05 16:32 <cedk> sisalp: yes
2011-11-05 16:34 <sisalp> will the purchase order be separate in case of On_purchase, or will it be grouped with other needs (other orders or stock rules) ?
2011-11-05 16:35 <cedk> sisalp: On purchase will generate a purchase request, so the convertion into purchase could be grouped or not
2011-11-05 16:36 <sisalp> sounds correct
2011-11-05 16:38 <sisalp> the fact that it will be bought in case stock is low can be understood by anybody I think
2011-11-05 16:39 <sisalp> the salesman thinks : I consider the stock is illimited, it is not my job to provision it. Does it make sens ?
2011-11-05 16:42 <cedk> sisalp: yes in some way
2011-11-05 18:33 <fremo_> Yo ! is there some people going to Li├Ęge through/from Paris on the 10 or 11 ?
2011-11-05 18:33 <fremo_> (with a not full yet car)
2011-11-05 18:34 <cedk> fremo_: I think you will have better result if you ask on the mailing list
2011-11-05 18:35 <fremo_> cedk: you right, I will ;)
2011-11-05 20:20 <vahid_> hi all
2011-11-05 20:21 <vahid_> i install tryton in pip with pip install tryton trytond ... command
2011-11-05 20:22 <vahid_> and run tryton in command line, how connect to local databse ?
2011-11-05 20:22 <cedk> vahid_: you must configure it
2011-11-05 20:23 <cedk> vahid_: follow
2011-11-05 20:25 <vahid_> in localhost port 8000 not open
2011-11-05 20:25 <vahid_> how open it?
2011-11-05 20:25 <vahid_> run trytond
2011-11-05 20:27 <vahid_> cedk: this page error 403 :(
2011-11-05 20:27 <cedk> vahid_: you must connect with the client
2011-11-05 20:28 <vahid_> cedk: i try connect to server with client and not respond server
2011-11-05 20:29 <cedk> vahid_: did you create a database?
2011-11-05 20:30 <vahid_> cedk yes create it
2011-11-05 20:30 <cedk> vahid_: how?
2011-11-05 20:32 <vahid_> cedk: in install tryton in debian repo and create db with instruction and towday remove it and try install tryton with pip
2011-11-05 20:34 <cedk> vahid_: is the user running trytond able to connect to the database?
2011-11-05 20:34 <vahid_> cedk: in dont know
2011-11-05 20:35 <vahid_> cedk: when run trytond : ImportError: No module named psycopg2.pool
2011-11-05 20:36 <cedk> vahid_: so it misses psycopg2 module
2011-11-05 20:37 <vahid_> cedk: how install it?
2011-11-05 20:38 <vahid_> cedk: install psycopg2 :)
2011-11-05 20:38 <vahid_> cedk: tanks
2011-11-05 20:40 <vahid_> vahid_: this step freez trytond : server:waiting for connections...
2011-11-05 20:43 <cedk> vahid_: it is normal, now the server is waiting for connection
2011-11-05 20:46 <vahid_> cedk: database: couldnot conncet to the server
2011-11-05 20:49 <plantian> vahid_: Did you leave server running in one console and start another console for the client?
2011-11-05 20:50 <vahid_> plantian: yes
2011-11-05 20:54 <plantian> vahid_: I guess maybe the database does not exist yet, did you follow the directions on creating the database through client ?
2011-11-05 20:55 <vahid_> plantian: i create it now
2011-11-05 20:55 <vahid_> plantian: what tryton server password?
2011-11-05 20:56 <vahid_> plantian: Can't create the database, caused by an unknown reason.
2011-11-05 20:57 <plantian> vahid_: Maybe admin by default.
2011-11-05 20:57 <plantian> vahid_: Is there any message outputted by the server?
2011-11-05 20:59 <vahid_> plantian: when create new databse this mmessage genrated
2011-11-05 21:00 <vahid_> plantian: Error message:
2011-11-05 21:00 <vahid_> could not connect to server: No such file or directory
2011-11-05 21:04 <vahid_> how create db
2011-11-05 21:06 <vahid_> :(
2011-11-05 21:07 <cedk> vahid_: it seems that the user can not connect to the database
2011-11-05 21:07 <cedk> vahid_: or the database connection is not correctly configured
2011-11-05 21:08 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2011-11-05 21:10 <vahid_> cedk: the port 8000 open in localhost and db passwd is admin
2011-11-05 21:11 <vahid_> cedk: when create db trytond say : ERROR:database:CREATE DB: test failed
2011-11-05 21:11 <vahid_> ERROR:database:Exception in call:
2011-11-05 21:13 <cedk> vahid_: yes it is a database connection issue
2011-11-05 21:20 <Telesight> To install the Tryton client on Ubuntu 11.10 I have to go to the directory "client " in the terminal and type: sudo python install , isn it?
2011-11-05 21:21 <cedk> Telesight: yes, it is a way
2011-11-05 21:21 <cedk> Telesight: but isn't Ubuntu has a package
2011-11-05 21:22 <Telesight> cedk: ok yes stupid ...
2011-11-05 21:23 <cedk> Telesight: mixin setup install and packages in such distribution are often trouble
2011-11-05 21:24 <Telesight> cedk: I was so focused on the terminal that I forgot the rest of the world ;-)
2011-11-05 21:27 <Telesight> cedk: The package manager shows me only version tryton-client 2.0.1 and I need version 2.2 for the client.
2011-11-05 21:29 <cedk> Telesight: Debian guys did not yet update the packages
2011-11-05 21:31 <Telesight> cedk: Lazy guys ... just when you need something ...
2011-11-05 21:33 <cedk> Telesight: they are there
2011-11-05 21:33 <cedk> yangoon, dba: ping
2011-11-05 21:37 <Telesight> cedk: Back to the terminal. When I type this I get the error: /client$ python install
2011-11-05 21:37 <Telesight> Traceback (most recent call last):
2011-11-05 21:37 <Telesight> File "", line 5, in <module>
2011-11-05 21:37 <Telesight> from setuptools import setup, find_packages
2011-11-05 21:37 <Telesight> ImportError: No module named setuptools
2011-11-05 21:39 <cedk> Telesight: you must install the setuptools module
2011-11-05 21:39 <Telesight> cedk: I tried to install setuptools but I only found python3-setuptools and this does not work.
2011-11-05 21:39 <dba> i guess yangoon or me will update to 2.2 soon (next week).
2011-11-05 21:39 <cedk> dba: ok
2011-11-05 21:39 <cedk> dba: any news about ?
2011-11-05 21:40 <dba> Telesight: 'lazy guys' is totally uncalled for and absolutely out of line.
2011-11-05 21:40 <dba> cedk: the 'linux-container' sub-package of lxc, which is the last bit i need for setting up stuff, just passed new this morning.
2011-11-05 21:41 <dba> cedk: i can now start on monday doing the actual move (from the old server to the new, which will host d.t.o)
2011-11-05 21:41 <cedk> dba: it is funny, for the first time OpenBSD is faster on packaging than Debian :-)
2011-11-05 21:42 <dba> well, the required repackaging we have to do for debian doesn't help in that regard.
2011-11-05 21:42 <cedk> dba: repackaging?
2011-11-05 21:42 <dba> which reminds me that i should follow up on the list at some point with the outstanding license/source issues once i've
2011-11-05 21:43 <dba> looked at the current 2.2 stuff.
2011-11-05 21:43 <Telesight> dba: That was of course a joke, I am working on a How to and than one want to speed up to finish it. No offence ... ;-)
2011-11-05 21:45 <cedk> Telesight: i think instead of setuptools, you can install distribute
2011-11-05 21:50 <Telesight> cedk: Well at least, this does not work: sudo apt-get install python3-setuptools
2011-11-05 21:50 <cedk> Telesight: no you need python2
2011-11-05 21:57 <Telesight> cedk: Yes this helps, thanks: sudo apt-get install python-setuptools
2011-11-05 22:02 <Telesight> test1234
2011-11-05 22:07 <Telesight> dba: Version 2.2 of the client for Ubuntu will be available next week? Great thanks, I will take this in account.
2011-11-05 23:24 <pickle_> Hi all... does anyone here know the status of the 2.2 demo server?
2011-11-05 23:26 <cedk> pickle_: it must be up
2011-11-05 23:27 <cedk> pickle_: it works I just connect to it
2011-11-05 23:27 <pickle_> cedk: Looks up and working, but it looks like it's missing module to me - I am a n00b though to Tryton (I've been living in the Dynamics AX world for the last 6 years)...
2011-11-05 23:28 <cedk> pickle_: you can install any modules you want on it
2011-11-05 23:28 <pickle_> cedk: Oh really? Err, woops :) Sorry, maybe I should keep digging :)
2011-11-05 23:28 <cedk> pickle_: we started to use a script to generate demo data, but it is not yet fully complet
2011-11-05 23:28 <cedk> pickle_: so there is only few modules installed
2011-11-05 23:29 <pickle_> cedk: Ahh okay, would the 2.0 demo be more complete?
2011-11-05 23:29 <cedk> pickle_: more modules installed by default
2011-11-05 23:31 <pickle_> cedk: Ok perfect, I'll take a look - just hoping to get a feel for the system and its capabilities before trying to install anything - I'm shopping for a client :)
2011-11-05 23:31 <pickle_> cedk: Thanks for your help :)

Generated by 2.17.3 by Marius Gedminas - find it at!