IRC logs of #tryton for Friday, 2009-02-13 #tryton log beginning Fri Feb 13 00:00:01 CET 2009
-!- ikks(i=igor@ has joined #tryton01:51
-!- vengfulsquirrel( has joined #tryton02:06
-!- ikks(i=igor@ has joined #tryton05:01
-!- yangoon( has joined #tryton05:19
-!- nicoe( has joined #tryton07:13
-!- Timitos(n=Timitos@ has joined #tryton07:21
-!- sharkcz( has joined #tryton07:44
-!- paola( has joined #tryton07:52
-!- bechamel(n=user@ has joined #tryton08:54
-!- carlos(n=carlos@ has joined #tryton09:00
-!- nicoe( has joined #tryton09:28
-!- juanfer(n=juanfer@ has joined #tryton09:28
-!- Gedd( has joined #tryton09:39
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:12
-!- paola( has joined #tryton10:17
-!- tekknokrat( has joined #tryton10:42
-!- bechamel(n=user@ has joined #tryton12:11
-!- ikks(i=igor@ 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/ 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@ has joined #tryton13:32
CIA-10tryton: C?dric Krier <> default * 1544:2798019662d1 trytond/trytond/ Add logging info when init pool for issue77813:37
CIA-10tryton: C?dric Krier <> default * 1545:56545a0f35cb trytond/trytond/backend/postgresql/ 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( has joined #tryton14:08
-!- paola( has joined #tryton14:12
-!- enlightx( 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 <> default * 1546:e8e6a0de00ba trytond/trytond/modules/ Look for all report names before creating missing reports for issue77614:39
CIA-10tryton: ced roundup * #776/genshi/template/ UndefinedError(key, owner=owner): [resolved] Fix with changeset e8e6a0de00ba14:39
-!- paola( has joined #tryton15:11
-!- juanfer(n=juanfer@ has joined #tryton15:50
bechamelhi everybody, i made a sort of graph of the tryton architecture:, 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
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@ has joined #tryton17:56
-!- enlightx_( has joined #tryton18:24
-!- enlightx( has joined #tryton18:25
-!- simahawk( has joined #tryton18:29
-!- vengfulsquirrel( 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( 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:  ,
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:, don't forget to allow xmlrpc on the server config22:21
cedkvengfulsquirrel: or bom split22: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
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
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
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
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
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/ 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
vengfulsquirrelcedk: okay wizard might be fine, ttyl23:19
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
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
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 2.11.0 by Marius Gedminas - find it at!