IRC logs of #tryton for Friday, 2009-02-13

chat.freenode.net #tryton log beginning Fri Feb 13 00:00:01 CET 2009
-!- ikks(i=igor@190.102.215.195) has joined #tryton01:51
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton02:06
-!- ikks(i=igor@190.102.218.2) has joined #tryton05:01
-!- yangoon(n=mathiasb@p549F7A2D.dip.t-dialin.net) has joined #tryton05:19
-!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton07:13
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton07:21
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton07:44
-!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton07:52
-!- bechamel(n=user@85.201.86.139) has joined #tryton08:54
-!- carlos(n=carlos@89.7.24.44) has joined #tryton09:00
-!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton09:28
-!- juanfer(n=juanfer@190.157.120.122) has joined #tryton09:28
-!- Gedd(n=ged@148.221-243-81.adsl-dyn.isp.belgacom.be) has joined #tryton09:39
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:12
-!- paola(n=paola@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton10:17
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton10:42
-!- bechamel(n=user@85.201.86.139) has joined #tryton12:11
-!- ikks(i=igor@190.120.133.167) has joined #tryton12:15
CIA-10tryton: matb roundup * #778/Refactorization: logging of pooler in database update: [new] Since refactorization of the pooler the name of the database which is updated is no more logged (for switch -u all). Would be nice to have ...12:20
CIA-10tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): Doesn't work here. Definitely all calls to attributes/functions of company are not recognized. Deleting the call to company.header reults in U ...13:31
-!- ikks_(n=igor@190.144.69.234) has joined #tryton13:32
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1544:2798019662d1 trytond/trytond/pool.py: Add logging info when init pool for issue77813:37
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1545:56545a0f35cb trytond/trytond/backend/postgresql/database.py: Add logging info when connect to database13:37
CIA-10tryton: ced roundup * #778/Refactorization: logging of pooler in database update: [chatting] Fix with changeset 2798019662d113:37
cedkyangoon: did you send your module?14:07
-!- simahawk(n=simao@ppp-246-61.21-151.libero.it) has joined #tryton14:08
-!- paola(n=paola@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton14:12
-!- enlightx(n=enlightx@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton14:13
cedkyangoon: I receive it14:26
cedkyangoon: by the way, did you run with at least the changest 1525 ?14:28
cedkyangoon: ok, with your module I had the issue14:34
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1546:e8e6a0de00ba trytond/trytond/modules/__init__.py: Look for all report names before creating missing reports for issue77614:39
CIA-10tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): [resolved] Fix with changeset e8e6a0de00ba14:39
-!- paola(n=paola@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton15:11
-!- juanfer(n=juanfer@190.144.69.234) has joined #tryton15:50
bechamelhi everybody, i made a sort of graph of the tryton architecture: http://www.b2ck.com/~bch/arch.png, comments are welcomed16:27
carlosbechamel: it looks nice16:57
carlosbechamel: however, shouldn't you note the DB backend split that is being done for 1.2?16:58
carlosI know there is no support for other db backends, but the architecture allows (or is going to allow) it16:58
bechamelcarlos: when other backend will be supported I will update it :)16:58
carlosok16:59
carlosbechamel: I have a question about the architecture now that I see your graph16:59
carlosdoes it mean that all report logic is on the client side?17:00
carlosfor instance, If I create an xml-rpc client, will I need to add the logic to generate the Invoice  as PDF ?17:00
bechamelcarlos: there is a report square on the kernel17:01
carloshmm, right, I missed it :-P17:02
carlosthen, what's in the kernel and what's in the client?17:02
carlosif it's easy to explain it, if it's complex, don't worry too much17:02
bechamelcarlos: all the creation of the document is made server side, the client only has to ask for it and call the correct program to show it17:02
carlosok, that makes much more sense, I was worried I misunderstood the way it worked17:03
carlosbechamel: thanks for the explanation17:03
bechamelcarlos: the graph is made for non-technician people, so it's more eye-candy than rigorous17:05
bechameland graph are not rigorous by definition :)17:05
carlosindeed :-P17:05
-!- bechamel`(n=user@85.201.86.139) has joined #tryton17:56
-!- enlightx_(n=enlightx@host-84-220-89-221.cust-adsl.tiscali.it) has joined #tryton18:24
-!- enlightx(n=enlightx@host-84-220-89-221.cust-adsl.tiscali.it) has joined #tryton18:25
-!- simahawk(n=simao@ppp-246-61.21-151.libero.it) has joined #tryton18:29
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton21:00
udonobechamel: the graph looking very nice!21:23
udonobechamel: missing smtp connection for outgoing EMail21:24
udonoand caldav for next version21:24
bechameludono: yes21:24
bechameludono: I didn't thought about smtp21:24
bechameludono: and the graph will follow the new feature21:25
udonobechamel: will the source be available? So we can translate print a nice illustration for the ceBIT21:26
bechameludono: yes of course21:28
bechameludono: i send you a mail21:28
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton21:30
udonobechamel: you forget odf integration with openofficeorg21:32
bechameludono: it's the report stuff21:32
udonobechamel: and the arrow lines could be more big21:32
bechameludono: you can put bigger arrow if you want, i used inkscape to create it21:34
udonobechamel: yes, thanks a lot!21:37
udonobechamel: did you take a look on the advertisment stuff?21:38
udonobechamel: yangoon sended it to you I think?!21:38
bechameludono: yes I received it21:39
bechameludono: the idea is to add a news with this content ?21:40
udonobechamel: yes, Its direct advertisment, so I would prefer it to news instead of press coverage.21:40
bechameludono: ok21:42
vengfulsquirrelcedk: Hey so I don't know if you looked at my planned module breakup on the wiki but I've only started on the base production module's model.22:08
vengfulsquirrelThe states/fields are not complete but maybe if you wanted to just give the relations a rough look over: http://mercurial.intuxication.org/hg/production/file/13e086973724/production.py  ,  http://laspilitas.com/s/images/production-model.png22:09
vengfulsquirrelI still need to talk to X0d about the revisions because I'm not sure how necessary they are.22:09
cedkvengfulsquirrel: I don't see the need of type all over22:15
cedkvengfulsquirrel: why is there a principal_product in production?22:16
cedkvengfulsquirrel: for me input and output lines for the production are stock.move22:16
vengfulsquirrelThe type was all over because I thought we might need it for extending it, I havne't started on the phantoms and stuff though.22:17
carloscedk: is there any way to use xml-rpc from the client  in Tryton 1.0?22:17
vengfulsquirrelThere is a principal product in production because I assumed a production would be created to produce a specific product.22:17
cedkcarlos: no22:17
cedkvengfulsquirrel: I think it is not needed22:18
carloscedk: and is there any xmlrpc client example available?22:18
carlosI need a trivial one22:18
carlosnothing complex22:18
cedkvengfulsquirrel: I don't see the needs of consumed_moves22:18
cedkcarlos: bechamel have got some I think22:19
vengfulsquirrelThe input and output lines have to be more than stock moves because there needs to be reports of what was actually selected for production and what actually came out of the production.  The products could change or be added.22:19
cedkvengfulsquirrel: ok, I understand the input but not the output22:19
cedkvengfulsquirrel: and I will call input with other name22:20
vengfulsquirrelIt is meant to parallel the bom though but is more condensed that is why the names are similar.22:20
cedkvengfulsquirrel: like bom selected ...22:20
carloscedk: ok, thanks22:21
bechamelcarlos: http://pastie.org/388622, don't forget to allow xmlrpc on the server config22:21
cedkvengfulsquirrel: or bom split22:21
bechamelbbl22:21
vengfulsquirrelAlso the output is necessary if for example extra "products" are produced if something goes wrong, like waste or partially completed products.22:21
cedkvengfulsquirrel: but this is the moves that makes that22:21
vengfulsquirrelThe moves need to know what product they are moving though.22:23
cedkvengfulsquirrel: I think that the bom split is more complex22:23
cedkvengfulsquirrel: this will be computed on time22:23
vengfulsquirrelWhat is a bom split ?22:23
cedkvengfulsquirrel: it is all the boms splitted into lines22:25
vengfulsquirrelYou mean exploding the bom ?22:27
cedkvengfulsquirrel: yes22:28
vengfulsquirrelcedk: The moves to/from consumed/produced were meant so as to not flood lost/found.22:28
cedkvengfulsquirrel: I don't understand, you just need to leave it in production location22:29
vengfulsquirrelYou mean the Production Input Zone ?22:29
vengfulsquirrelcedk: http://www.laspilitas.com/s/images/production-inventory-layout.png22:29
cedkvengfulsquirrel: I think there is too much location in production22:30
cedkvengfulsquirrel: one location is enough22:30
vengfulsquirrelSo you would just create draft moves to lower the quantitiy forecasts until the production started ?22:32
cedkvengfulsquirrel: yes22:32
carlosbechamel: thanks!22:33
cedkvengfulsquirrel: and even assigned22:33
cedkvengfulsquirrel: for me the production will be first a selection of some boms22:34
cedkvengfulsquirrel: one normal and some phatoms22:34
vengfulsquirrelhttp://www.laspilitas.com/s/images/production-order-states.png22:34
cedkvengfulsquirrel: and so input and out will be real move that are computed from the selection of boms22:36
cedkvengfulsquirrel: it is no needed for me to have two steps between the selection of boms and the creation of moves22:37
cedkvengfulsquirrel: I don't understand unfinished state22:39
cedkvengfulsquirrel: can I have the source of the diagram production-order-states22:39
cedkvengfulsquirrel: I will change it like I see the production22:40
vengfulsquirrelcedk: Yeah the Unfinished state is meant to collect the repucussions of canceling a production that has been started.22:40
vengfulsquirrelSo like some stuff must be thrown away and some stuff must be considered a Work In Progress22:40
vengfulsquirreletc.22:40
cedkvengfulsquirrel: still don't understand22:41
cedkvengfulsquirrel: you want to set to done some moves ?22:42
vengfulsquirrelI guess that state was meant to help account for everything that was used in the production that was canceled.22:44
vengfulsquirrelHold on I'm trying to upload the diagrams.22:44
cedkvengfulsquirrel: ok, but I don't see how this will be made in the GUI22:45
cedkvengfulsquirrel: it can be something other than a state, but a wizard that ask what must be move to lost and found22:46
cedkvengfulsquirrel: but I think this is some thing for real complex production22:46
vengfulsquirrelhttp://laspilitas.com/tryton/production-order-states.dia22:49
vengfulsquirrelhttp://www.laspilitas.com/tryton/production-inventory-layout.dia22:49
vengfulsquirrelcedk: My plan was that you would pull the stock necessary for a production AND THEN "start" the production.  In the same fashion that you would pull stock from storage to the input zone and then ship it to the customer.22:51
vengfulsquirrelSorry I meant *storage->output->customer   but similarly the produced->output->storage would also parallel supplier->input->storage .22:52
vengfulsquirrelI think it would be more convenient for the system to guess where stock should be moved to in storage after production based on what is already there.  But usually the person that does that probably doesn't have anything to do with production they are just putting stuff away.22:53
vengfulsquirrelThat is why there are steps: Select boms, Pull materials, Start production, Record production results, Put materials away.22:54
cedkvengfulsquirrel: I'm not sure that it must be handle in the production order22:55
cedkvengfulsquirrel: it must be configured with the location tree22:55
vengfulsquirrelWhat do you mean ?  It would work similarly to assignation.22:56
vengfulsquirrelDefaulting to moving to the root: Storage Zone.22:56
vengfulsquirrelI think inventory management is the most difficult problem for my business and that's what I am so concerned with machine assistance when accounting for inventory.22:57
vengfulsquirrelSo maybe I should think of a way to extend a more minimal production order to fulfill my inventory management needs.22:58
cedkhttp://www.b2ck.com/~ced/production-order-states.png23:02
cedkvengfulsquirrel: I mean if you need to move product in a pre-production storage23:03
cedkvengfulsquirrel: you must create this location outside the storage23:04
cedkvengfulsquirrel: and the scheduler will generate the internal packing that must be done23:04
cedkvengfulsquirrel: it is better to decompose stuff and reuse the existing mecanism23:04
cedkvengfulsquirrel: because I think that it is not at the production time that you move the product from the storage to the pre-production location?23:06
vengfulsquirrelyeah but a production order could be created weeks/months in advanced and then maybe the materials would be pulled 'right before' or maybe a week before23:07
vengfulsquirrelcedk: Hey there is a problem with doing all that at the draft stage.23:08
vengfulsquirrelBoms needs to be selected AND THEN substitutes must be selected23:09
cedkvengfulsquirrel: the scheduler will create the order as soon as it sees that the stock quantity of a product is lesser than 023:11
cedkvengfulsquirrel: so it is not done at draft stage but long time before23:11
cedkvengfulsquirrel: it depends of the range of date that the scheduler evaluates23:12
vengfulsquirrelYeah okay just as long as that can be turned off because that probably will only work for make to order businesses.23:12
cedkvengfulsquirrel: even for other way to work23:13
cedkvengfulsquirrel: if it is not to order, the production order must be created by a planning so we fail into the same senario23:14
vengfulsquirrelYeah okay that's True23:14
vengfulsquirrelOkay something about your diagram: if a production stops you can't just cancel the original moves some of the materials could have been destroyed or partially altered23:16
CIA-10tryton: vengfulsquirrel * r436 /wiki/TrytonMRPIntegration.wiki: Fixed links.23:16
cedkvengfulsquirrel: I think that must be made with a wizard23:17
cedkvengfulsquirrel: so you put a wizard on the button cancel23:18
cedkvengfulsquirrel: but this can be made with optionnal module23:18
cedkvengfulsquirrel: to keep the based module as simple as possible23:18
cedkI go to lunch23:18
cedkbbl23:18
vengfulsquirrelcedk: okay wizard might be fine, ttyl23:19
cedkback23:43
vengfulsquirrelhey23:46
cedkvengfulsquirrel: one last things, I think you must allow to select a phatom bom in the bom lines23:46
vengfulsquirrelcedk: That is meant for a seperate module though in my plan.23:47
cedkvengfulsquirrel: I don't think that will be possible23:47
vengfulsquirrelI don't see how these moves are going to work when products will need to be substituted either.23:47
vengfulsquirrelI think we might need to make the production order states more extensive in order to make it modular enough to add in more modules later.23:48
cedkvengfulsquirrel: because this will define all the boms in a production order23:48
vengfulsquirrelYeah sorry what do you mean by phantom bom ?23:48
vengfulsquirrelI think we got this confused before.23:48
cedkvengfulsquirrel: it is a bom where the result is not a real product23:49
vengfulsquirrelYes okay23:49
vengfulsquirrelSo when a production bom has an input line that references a phantom product that phantom product's bom will be merged into the production bom.23:49
cedkvengfulsquirrel: yes23:50
vengfulsquirrelYes okay that is determined at bom "explosion" time.23:50
vengfulsquirrelSubstitutes must be determed after the bom has been exploded.23:50
cedkvengfulsquirrel: and if there is more than one bom for a phantom product, we must allow to select one23:50
cedkvengfulsquirrel: at the draft state when we change the boms selection of a production order, we need to "explode" it23:51
vengfulsquirrelYeah okay so maybe that will be like Complete Lines is in the inventory.23:51
cedkvengfulsquirrel: yes complete or change23:52
vengfulsquirrelHmmm23:52
vengfulsquirrelThat is very confusing23:52
cedkvengfulsquirrel: the best will be on the fly but the simplest will be to put a compute button23:52
vengfulsquirrelselecting a different phantom could include more phantoms23:53
cedkvengfulsquirrel: yes23:53
vengfulsquirrelSo it can be any number of steps23:53
cedkvengfulsquirrel: the selection stuff will be a little bit complex23:53
vengfulsquirrelbased on user input23:53
vengfulsquirrelthe user will just have to keep making changes and clicking Explode BOM until they are satisfied23:54
cedkvengfulsquirrel: I think it must be a set of line with (default bom, selected bom) ordered by the level in the bom tree23:54
vengfulsquirrelyeah okay I'll have to think about that more but the model will have to be much more complex23:56
vengfulsquirreland I'm not sure we need that complexity in the base module23:57
vengfulsquirrelbut i'm not sure we can not put it in either23:57
cedkvengfulsquirrel: I think we need in the base the selection of bom23:58
bechamelcarlos: I just remember that i made this http://code.google.com/p/tryton/wiki/CodeSnippets23:58
vengfulsquirrelyeah but sorry i am also thinking about substitutes23:58
cedkvengfulsquirrel: and phatom bom is very useful even in simple production23:58
carlosbechamel: don't worry, I just discovered that OpenBravoPOS is not using xmlrpc but soap23:59
vengfulsquirrelif you substitute a phantom product with another phantom product than a new bom must be selected23:59
carlosbechamel: so I need to do my own server to connect it with Tryton23:59
carlosbechamel: that's why my xmlrpc testing was not working23:59
bechamelcarlos: ok23:59

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!