IRC logs of #tryton for Wednesday, 2009-02-11

chat.freenode.net #tryton log beginning Wed Feb 11 00:00:01 CET 2009
2009-02-11 00:37 <udono> vengfulsquirrel: are you working on a production prototype?
2009-02-11 00:38 <udono> vengfulsquirrel: Hi
2009-02-11 00:51 <vengfulsquirrel> udono: Hey sorry, had to go to the store, yeah but I was just writing out the simple model so I could make a graph using Tryton.
2009-02-11 01:16 <udono> vengfulsquirrel: ah yes, using it as UML Editor ;-)
2009-02-11 01:18 <udono> vengfulsquirrel: do you have an open repository for lurking... and blaming of course ;-)
2009-02-11 01:24 <vengfulsquirrel> udono: Ha yeah but its like ten lines right now and its just written to make the graph: http://mercurial.intuxication.org/hg/production/file/e29393b8e29e/production.py http://laspilitas.com/s/images/production-model.png
2009-02-11 01:25 <udono> vengfulsquirrel: Looks like a datamodel!
2009-02-11 01:26 <vengfulsquirrel> udono: Yeah but it doesn't have any of the correct constraints and there are a lot of places that I need to still change after clarifying/talking to certain peoples.
2009-02-11 01:28 <vengfulsquirrel> I still have to make repos for all additional functionalities and then make sure those can be extended from this etc.
2009-02-11 01:35 <udono> vengfulsquirrel: sounds good, and so far I don't see redundancies in you model.
2009-02-11 01:36 <udono> vengfulsquirrel: is there some recursive model in your definition? Like BOMs depending on other BOMs?
2009-02-11 01:37 <vengfulsquirrel> Well kind of but not directly since a bom has a list of products and those products themselves can each then have a bom
2009-02-11 01:37 <vengfulsquirrel> but boms do not depend directly on other boms, does that make sense?
2009-02-11 01:38 <vengfulsquirrel> There are issues with that that need to be resolved as well as how to handle revisions, plus how to choose the default bom for a given product.
2009-02-11 01:40 <udono> vengfulsquirrel: yes, this sounds good. Products depends on Boms. So products are SQL-Ledgers assemblies.
2009-02-11 01:40 <vengfulsquirrel> Ha whoa I have no idea what that is SQL-Ledgers assemblies
2009-02-11 01:42 <udono> vengfulsquirrel: They name products made of other products as 'Product of type assembly'
2009-02-11 01:43 <vengfulsquirrel> Oh yeah we would say a product is producible in that case.
2009-02-11 01:43 <vengfulsquirrel> And a checkbox would appear similar to purchasable and salable.
2009-02-11 01:45 <udono> vengfulsquirrel: About default Bom for a given project could be a one2many with a sequence field. With the right widget the user can change the /sequence/ of Items. So the first Item is the default one, then cascading down the others in sequence.
2009-02-11 01:46 <udono> vengfulsquirrel: They name it assembly because they can assemble Service 'packages' as well as bundle packages with Products and services.
2009-02-11 01:46 <vengfulsquirrel> Yeah but there is an added complication that two products might share a bom since boms are multi-output.
2009-02-11 01:47 <udono> vengfulsquirrel: we need a solver?
2009-02-11 01:47 <vengfulsquirrel> udono: Oh yeah services are not yet addressed in this systme.
2009-02-11 01:47 <vengfulsquirrel> Or "product kits"
2009-02-11 01:47 <udono> vengfulsquirrel: Its just naming, I think.
2009-02-11 01:48 <vengfulsquirrel> Well grouping products for marketing purposes versus grouping them into a physical product are two different ideas.
2009-02-11 01:49 <vengfulsquirrel> Like buy a computer and get a free shirt, so you have a product kit : computer package = 1 computer, 1 free t-shirt
2009-02-11 01:49 <udono> vengfulsquirrel: but very similar processes...
2009-02-11 01:51 <vengfulsquirrel> Yeah it might still work but it isn't the ideal use-case.
2009-02-11 01:51 <udono> http://www.cafepress.com/tryton about the t-Shirt
2009-02-11 01:51 <udono> ;-)
2009-02-11 01:52 <udono> and about the computer in your bundle:
2009-02-11 01:52 <vengfulsquirrel> oh snap, MUGS!
2009-02-11 01:52 <vengfulsquirrel> ha who is selling these?
2009-02-11 01:53 <udono> vengfulsquirrel: computer hardware + licensing + one Service for installation and customizing Tryton on the computer.
2009-02-11 01:53 <udono> So why not let produce something like this?
2009-02-11 01:54 <udono> vengfulsquirrel: bechamel initiate it
2009-02-11 01:54 <vengfulsquirrel> I wonder how much it will cost to ship to western US.
2009-02-11 01:55 <udono> vengfulsquirrel: I think its produced on demand
2009-02-11 01:55 <vengfulsquirrel> Yeah so I think that might work I just wouldn't pull services from stock obviuosly, but I don't know I think it might start getting fishy with extension modules.
2009-02-11 01:56 <udono> yeah
2009-02-11 01:57 <vengfulsquirrel> I just haven't spent a lot of time thinking about the problems that might arise for that use-caes.
2009-02-11 01:57 <vengfulsquirrel> *use-case
2009-02-11 01:57 <udono> vengfulsquirrel: Its the strong depending on stock
2009-02-11 01:57 <vengfulsquirrel> Do you work for a company that does production ?
2009-02-11 01:58 <udono> vengfulsquirrel: you need the move ;-)
2009-02-11 01:58 <udono> vengfulsquirrel: no, just services and some dealing, but I know some producer.
2009-02-11 01:59 <udono> vengfulsquirrel: and some of their Problems...
2009-02-11 01:59 <vengfulsquirrel> Yeah phase one of the production module will just help people handle inventory management and rudimentory scheduling.
2009-02-11 01:59 <udono> But I know the service quite good...
2009-02-11 02:03 <vengfulsquirrel> Yeah well hopefully the module can solve a lot of problems and not wall off solutions to those that it cannot.
2009-02-11 05:20 -!- yangoon(n=mathiasb@p549F46E4.dip.t-dialin.net) has joined #tryton
2009-02-11 06:23 -!- panthera(n=daniel@unable-to-package.org) has joined #tryton
2009-02-11 06:28 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-11 07:32 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-11 07:52 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-11 08:09 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-02-11 08:27 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-02-11 08:41 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 377:1587810fe486 account/account.py: Fix: typo
2009-02-11 08:44 <CIA-10> tryton: bch roundup * #773/NameError: global name 'ste' is not defined: [resolved] Fixed with changeset 377:1587810fe486.
2009-02-11 09:05 -!- Timito1(n=Timitos@88.217.184.172) has joined #tryton
2009-02-11 09:19 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-02-11 09:35 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-02-11 09:36 -!- nicoe(n=nicoe@77.109.113.10) has joined #tryton
2009-02-11 09:52 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-11 10:47 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: Okay check this one out: diff -r cbde71ecbb87 product.py --- a/product.py Mon Feb 02 13:11:13 2009 +0100 +++ b/product.py Wed Feb 1 ...
2009-02-11 10:54 -!- enlightx(n=enlightx@host10-71-dynamic.1-79-r.retail.telecomitalia.it) has joined #tryton
2009-02-11 11:01 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: On 11/02/09 10:46 +0100, Ian Wilson wrote: > > Ian Wilson <vengfulsquirrel@gmail.com> added the comment: > > Okay check this one out: > > diff ...
2009-02-11 11:02 -!- Gedd(n=ged@77.109.113.10) has joined #tryton
2009-02-11 11:11 <vengfulsquirrel> cedk: Does browse respect the cursor max ?
2009-02-11 11:12 <cedk> vengfulsquirrel: yes
2009-02-11 11:13 <cedk> vengfulsquirrel: it is the advantage of the use of model
2009-02-11 11:14 <cedk> vengfulsquirrel: and by the way, it is better to prevent to use SQL queries in the modules because it will make more difficult when we will want to use other database then PostgreSQL
2009-02-11 11:16 <vengfulsquirrel> yeah I know its just I don't know the search/browse inner features very well so i don't know how to get stuff done and i don't know if there are any optimizations or if i am fetching all rows all the time
2009-02-11 11:17 <cedk> vengfulsquirrel: you fetch all rows at one time but it can be made with many queries depending of the number of ids
2009-02-11 11:18 <cedk> vengfulsquirrel: there is just two cases where the IN_MAX doesn't work:
2009-02-11 11:18 <vengfulsquirrel> http://rafb.net/p/HpqDGp96.html
2009-02-11 11:18 <vengfulsquirrel> when I do this, am i fetching all products in one query and then calling a query on each product to get the template ?
2009-02-11 11:19 <vengfulsquirrel> so number of product ids + 1 = number of queries ?
2009-02-11 11:19 <cedk> vengfulsquirrel: when searching with a clause on many2many or many2one with the operators in/child_of and a big list of ids
2009-02-11 11:20 <cedk> vengfulsquirrel: no, number of queries will be ids/IN_MAX
2009-02-11 11:21 <vengfulsquirrel> Sorry I mean in that specific paste, does it know not to follow product.template.id to get the template tables's row and just use the template id in the product row ?
2009-02-11 11:22 <cedk> vengfulsquirrel: it will just just the id in the product table
2009-02-11 11:22 <vengfulsquirrel> okay great
2009-02-11 11:23 <vengfulsquirrel> Yeah I still am trying to understand the child_of and tree ordering stuff.
2009-02-11 11:24 <cedk> vengfulsquirrel: it is for recursive in clause
2009-02-11 11:25 <vengfulsquirrel> so by child do you mean and descendant or the direct child ?
2009-02-11 11:25 <vengfulsquirrel> *any descendant
2009-02-11 11:27 <cedk> vengfulsquirrel: any descendant + ids
2009-02-11 11:29 <vengfulsquirrel> Are left and right the numerical order or the sibling ids ?
2009-02-11 11:31 <cedk> vengfulsquirrel: it comes from this: http://en.wikipedia.org/wiki/Tree_traversal
2009-02-11 11:32 <cedk> vengfulsquirrel: so it allow to remove the recursive queries into only one
2009-02-11 11:34 <vengfulsquirrel> So you use level order traversal to display the trees in the gui ?
2009-02-11 11:36 <cedk> vengfulsquirrel: no it is not needed because you open one branch at once and the query is fast
2009-02-11 12:01 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: diff -r cbde71ecbb87 product.py --- a/product.py Mon Feb 02 13:11:13 2009 +0100 +++ b/product.py Wed Feb 11 02:58:32 2009 -0800 @@ - ...
2009-02-11 12:07 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: Sorry I think taking the set in my previous patch was unnecessary and probably would have been of no performance gain. diff -r cbde71ecbb87 produ ...
2009-02-11 12:12 <vengfulsquirrel> cedk: Thanks for your time, I'll read more about tree traversals. Talk to you tomorrow.
2009-02-11 12:17 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: > diff -r cbde71ecbb87 product.py > --- a/product.py Mon Feb 02 13:11:13 2009 +0100 > +++ b/product.py Wed Feb 11 03:03:35 2009 -080 ...
2009-02-11 12:25 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1344:de1fea6c131a trytond/trytond/webdavsvc.py: Fix typo
2009-02-11 12:31 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2009-02-11 13:22 -!- kai_bo(n=kai@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-11 13:32 -!- enlightx(n=enlightx@host10-71-dynamic.1-79-r.retail.telecomitalia.it) has joined #tryton
2009-02-11 13:47 -!- kai_bo(n=kai@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-11 14:12 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-02-11 14:29 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-9756d6c5dcabf0b9) has joined #tryton
2009-02-11 14:56 -!- udono(n=udono@dynamic-unidsl-85-197-23-64.westend.de) has joined #tryton
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1523:903a52fc1bb2 trytond/trytond/ (41 files in 17 dirs):
2009-02-11 14:59 <CIA-10> tryton: Use a new pool for object
2009-02-11 14:59 <CIA-10> tryton: Move workflow method in ModelWorkflow
2009-02-11 14:59 <CIA-10> tryton: Move workflow service in workflow module
2009-02-11 14:59 <CIA-10> tryton: Remove Service and LocalService
2009-02-11 14:59 <CIA-10> tryton: Remove web_service and use a dispatcher in protocols
2009-02-11 14:59 <CIA-10> tryton: New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 378:31af871406f6 account/move.py: Remove LocalService
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 263:aea6b9d76e81 account_invoice/invoice.py: Remove LocalService, pooler and use ModelWorkflow
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 112:fe55e4fcb0e5 account_statement/statement.py: Remove LocalService and use ModelWorkflow
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1177:ac4006b6e284 tryton/tryton/gui/main.py: logout before database restore
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1178:6cf87b9a3a9d tryton/tryton/ (29 files in 14 dirs): Use new netrpc syntax
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 234:a17cfd5acd55 purchase/purchase.py: Remove LocalService and use ModelWorkflow
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 235:b63efed8cbd6 purchase/purchase.py: merge
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 123:6e8f3e001a88 sale/sale.py: Remove LocalService and use ModelWorkflow
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 124:d7f6eab3734c sale/sale.py: merge
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 489:5a1882fc1f8c stock/ (inventory.py packing.py): Remove LocalService and use ModelWorkflow
2009-02-11 14:59 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 490:a4c7cf6c3000 stock/: merge
2009-02-11 15:05 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1524:26703187368d trytond/CHANGELOG: Add changelog
2009-02-11 15:18 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-17a14c485ae1a3dd) has joined #tryton
2009-02-11 15:18 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 236:50ef1617a2e4 purchase/ (CHANGELOG TODO): Sync TODO and CHANGELOG with the code
2009-02-11 15:19 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 125:6779161652bf sale/ (CHANGELOG TODO): Sync TODO and CHANGELOG with the code
2009-02-11 15:20 <cedk> he, changeset 903a52fc1bb2 is made of 4043 lines :-)
2009-02-11 15:20 <cristi_an> you commited latest stuff ?
2009-02-11 15:20 <cedk> cristi_an: yes
2009-02-11 15:21 <cristi_an> ced:gr8
2009-02-11 15:23 <cedk> it reduce the code by 452 lines
2009-02-11 15:23 <cedk> but I put more comments so it must be more
2009-02-11 15:26 <cristi_an> you are sure you did not enlarged the lines :)) ?
2009-02-11 15:26 <cristi_an> in width
2009-02-11 15:26 <cristi_an> :))
2009-02-11 15:27 <cedk> cristi_an: no, rounded to 80 cols like the PEP
2009-02-11 15:28 <cristi_an> hehe :)
2009-02-11 15:29 <cristi_an> it was a stupid joke of mine...
2009-02-11 15:31 <bechamel> cristi_an: all those modifications are made to simplify the code, maybe it will be clearer for you to understand how stuff works
2009-02-11 15:33 <cristi_an> bechamel: thx ,i will check ...
2009-02-11 15:33 <cristi_an> i already created some modules like partner
2009-02-11 15:34 <cristi_an> just for testing puropose
2009-02-11 15:35 <bechamel> cristi_an: I don't deserve your thanks, it's cedk that made this work
2009-02-11 15:37 <cristi_an> thanks.redirect(cedk)
2009-02-11 16:06 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-11 17:06 -!- igor__(n=igor@190.144.69.234) has joined #tryton
2009-02-11 17:41 <CIA-10> tryton: matb roundup * #774/after refact. of pooler: KeyError: 'purchase.request.create_purchase': [new] custom module with from trytond.wizard import Wizard class CreatePurchase(Wizard): 'Create Purchase' _name = 'purchase.request.cr ...
2009-02-11 17:57 <udono> Hi all, after the changes I have some problems with pool(er)
2009-02-11 17:57 <udono> pool.get_db seems no longer exist
2009-02-11 17:58 <cedk> udono: use the Database from backend
2009-02-11 17:59 <udono> cedk: yeah, thanks
2009-02-11 18:22 <udono> cedk: it works so far to the next problem, I cannot solve...
2009-02-11 18:24 <udono> Before:
2009-02-11 18:24 <udono> cr = pooler.get_db(dbname).cursor()
2009-02-11 18:24 <udono> module_obj = pooler.get_pool(cr.dbname).get('ir.module.module')
2009-02-11 18:24 <udono> After:
2009-02-11 18:24 <udono> cr = Database(dbname).connect().cursor()
2009-02-11 18:24 <udono> But the module_opj is silently wrong. I tried some other signatures, But I cannot find a way...
2009-02-11 18:25 <cedk> udono: use the Pool from trytond.pool
2009-02-11 18:25 <udono> cedk: You move the userside Methods all to UpperCase?
2009-02-11 18:26 <cedk> udono: PEP class must start with upper case
2009-02-11 18:28 <udono> cedk: yes, but afaik it was not before, so you change it to PEP. BTW which is good.
2009-02-11 18:28 <CIA-10> tryton: ced roundup * #774/after refact. of pooler: KeyError: 'purchase.request.create_purchase': [resolved] Fix with changeset d81542fe9f45
2009-02-11 18:29 <cedk> udono: globaly Pool and pooler are completly different
2009-02-11 18:30 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1525:d81542fe9f45 trytond/trytond/pool.py: Add missing type in Pool.get for issue774
2009-02-11 18:36 <cedk> udono: you need this for the ldap module?
2009-02-11 18:43 <cedk> udono: because I'm thinking about moving the security.py code into res.user
2009-02-11 19:02 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1526:c84763fa12f6 trytond/trytond/server.py: join ir.cron threads on SIGTERM for issue604
2009-02-11 19:03 <CIA-10> tryton: ced roundup * #604/NoneType-Exception if pressing Ctrl-C in console: [chatting] changeset c84763fa12f6 must fix the issue
2009-02-11 19:04 -!- mmarshall(n=mmarshal@adsl-76-255-75-24.dsl.rcsntx.sbcglobal.net) has joined #tryton
2009-02-11 19:11 <udono> cedk: I see no problem in moving security.py to res_user.
2009-02-11 19:12 <udono> cedk: and it could be more clean, because authentication is user based in tryton.
2009-02-11 19:13 <udono> cedk: another problem: module_obj = Pool(cr.dbname).get('ir.module.module') this won't work. KeyError: 'ir.module.module'
2009-02-11 19:16 <cedk> udono: where did you call this?
2009-02-11 19:17 <udono> http://mercurial.intuxication.org/hg/res_user_auth_ldap/file/f1ba38bb9872/users_ldap.py#l60
2009-02-11 19:17 <udono> cedk: is the old version...
2009-02-11 19:17 <udono> 59: cr = Database(dbname).connect().cursor()
2009-02-11 19:17 <udono> 60: module_obj = Pool(cr.dbname).get('ir.module.module')
2009-02-11 19:18 <udono> cedk is the new one
2009-02-11 19:18 <cedk> udono: I think this is because the Pool can not be initialized
2009-02-11 19:18 <cedk> udono: look at this: http://hg.tryton.org/hgwebdir.cgi/trytond/file/c84763fa12f6/trytond/protocols/dispatcher.py#l81
2009-02-11 19:19 <CIA-10> tryton: udono roundup * #775/KeyError: 'ir.cron': [new] Traceback (most recent call last): File "bin/trytond", line 28, in <module> trytond.server.TrytonServer().run() File "/home/uspallek ...
2009-02-11 19:21 <cedk> udono: I think your issue is linked to what I told you
2009-02-11 19:21 <cedk> udono: if you create a new Pool you must init it
2009-02-11 19:22 <udono> cedk: ok, thanks
2009-02-11 19:22 <cedk> udono: but I will provide a patch to prevent the cron to failed
2009-02-11 19:23 <udono> cedk: init the pool is: pool = Pool(database_name)
2009-02-11 19:23 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1527:caffffa6f6d7 trytond/trytond/netsvc.py: Fix client thread stop with psyco enabled
2009-02-11 19:23 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1528:8dac38ad56cf trytond/trytond/server.py: Add check if ir.cron is in the pool for issue775
2009-02-11 19:23 <CIA-10> tryton: ced roundup * #775/KeyError: 'ir.cron': [resolved] Fix with changeset 8dac38ad56cf
2009-02-11 19:33 <udono> cedk: sorry, I don't know what to do... if not database_name in database_list: pool.init() but my database_name is valid. So how can I init the pool? Both are not working...
2009-02-11 19:33 <udono> pool = Pool()
2009-02-11 19:33 <udono> module_obj = pool(cr.dbname).get('ir.module.module')
2009-02-11 19:33 <udono> # and
2009-02-11 19:33 <udono> pool = Pool(cr.dbname)
2009-02-11 19:33 <udono> module_obj = pool.get('ir.module.module')
2009-02-11 19:36 <cedk> udono: did you look at the code http://hg.tryton.org/hgwebdir.cgi/trytond/file/c84763fa12f6/trytond/protocols/dispatcher.py#l81
2009-02-11 19:36 <udono> yes, I did
2009-02-11 19:36 <udono> cedk: but it dosen't tell me. just one more hint please
2009-02-11 19:37 <udono> so only when my db_name is not in the list, it initialize my pool...
2009-02-11 19:37 <cedk> udono: make the same, before instanciat Pool check if the database name is in database list
2009-02-11 19:37 <cedk> udono: if not run pool.init()
2009-02-11 19:37 <cedk> udono: yes
2009-02-11 19:38 <udono> I see, thanks
2009-02-11 19:38 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): [new] open invoice in first database: Traceback (most recent call last): File "/trytond/netsvc.py", line 215, in run res = dispatch(*msg) ...
2009-02-11 19:40 <udono> Is there a way to deactivate a module for the init process? I have some modules I dolt like to have initialised in trytond, but I like to have instde the trytond/modules folder
2009-02-11 19:41 <cedk> udono: no
2009-02-11 19:41 <cedk> udono: or remove __tryton__.py
2009-02-11 19:42 <yangoon> udono: or just link them in from another folder
2009-02-11 19:42 <udono> cedk: ok, thanks. Maybe a renaming should work too
2009-02-11 19:43 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): [chatting] Do you use the standard report?
2009-02-11 19:46 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): No, in both databases the original report is superseeded by another one.
2009-02-11 19:47 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): How?
2009-02-11 19:48 <udono> Yes, I got it. My tryton works again. Thanks cedk for great assistance!
2009-02-11 19:49 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): <tryton> <data> <record model='ir.action.report' id='account_invoice.report_invoice'> <field name='active' eval='False'/> ...
2009-02-11 19:52 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): Could you try with the standard one?
2009-02-11 20:00 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): If I try to activate the standard report again I get: "No permission to change this record! It is part of the base configuration" But i can (de)a ...
2009-02-11 20:02 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): This is because you set active=False in the xml so it becomes part of the standard configuration. You must change in the xml files.
2009-02-11 20:02 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): After setting the standard report to active and deactivating the customized report via xml, it works.
2009-02-11 20:14 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): [resolved] So I think it is your report that has errors. You can upload it if you want that we check it.
2009-02-11 20:16 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): [chatting] Hmm, both customized reports worked before...
2009-02-11 20:22 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): I don't know perhaps it is an new issue or perhaps it worked because of an issue.
2009-02-11 20:25 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): here is one of the reports
2009-02-11 20:29 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: diff -r cbde71ecbb87 product.py --- a/product.py Mon Feb 02 13:11:13 2009 +0100 +++ b/product.py Wed Feb 11 11:26:55 2009 -0800 @@ - ...
2009-02-11 20:34 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: Ok, this looks good. You can make a patch.
2009-02-11 20:43 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-11 20:53 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1529:9918bb6174a0 trytond/trytond/ (5 files in 2 dirs): Move netrpc into protocols
2009-02-11 20:53 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1530:d4f80dab3677 trytond/trytond/ (config.py netsvc.py server.py): Convert port number into config and fix rpc_paths for XML-RPC
2009-02-11 20:57 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1531:d16da306cd85 trytond/trytond/server.py: Unify logging message from server
2009-02-11 21:26 -!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton
2009-02-11 21:26 -!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has left #tryton
2009-02-11 21:30 -!- paola_(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-11 21:46 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-11 22:13 -!- _sasa_(n=sasa@84-255-205-164.static.t-2.net) has joined #tryton
2009-02-11 22:38 <CIA-10> tryton: Timitos roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): i can confirm this issue for the error 'UndefinedError: 1 has no member named "header"' i noticed that the problem has to do with the header file ...

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!