IRC logs of #tryton for Tuesday, 2013-03-26 #tryton log beginning Tue Mar 26 00:00:02 CET 2013
2013-03-26 10:29 <prusglajotemis> hi
2013-03-26 10:30 <prusglajotemis> cedk: Missing BOMs page in Product form.
2013-03-26 10:34 <prusglajotemis> cedk: where can I find it ?
2013-03-26 10:44 <cedk> prusglajotemis: did you installed the production module?
2013-03-26 10:45 <prusglajotemis> cedk: yes
2013-03-26 10:46 <prusglajotemis> cedk: also I update source from trunk
2013-03-26 11:56 <navis> hello tryton world
2013-03-26 11:56 <navis> I have created an inventory using proteus, how can I 'confirm' it so that it actually creates the moves ?
2013-03-26 12:01 <cedk> navis: call the confirm button
2013-03-26 12:01 <cedk> prusglajotemis: I guess you did not see that bom was move inside the variants and no more has a tab in the template
2013-03-26 12:02 <navis> cedk: how do I do that ?
2013-03-26 12:04 <navis> cedk: it appears in the client, but I'd like to do it via proteus to automate all my import procedure
2013-03-26 12:05 <cedk> navis: like for any buttons:
2013-03-26 12:14 <navis> when I do «Inventory.confirm([])», I get «IndexError: list index out of range»
2013-03-26 12:16 <navis> inventory is my inventory, and is the right index
2013-03-26 12:17 <cedk> navis: missing the context
2013-03-26 12:28 <navis> cedk: thanks a lot, seems to do something... still waiting for the conclusion...
2013-03-26 12:41 <prusglajotemis> cedk: Now I see BOMs . I just forgot upgrade modules.
2013-03-26 12:44 <prusglajotemis> cedk: Another question. if i add new required field in existing model, how can i update data (to fill field) then upgrading module ?
2013-03-26 12:48 <cedk> prusglajotemis: in the __register__ method
2013-03-26 12:49 <navis> cedk: is it normal that confirming a 900 lines inventory is still running more than half an hour after launch ?
2013-03-26 12:50 <navis> cedk: python is using one full core at 100%, and postgres seems sleeping
2013-03-26 12:50 <cedk> navis: I can say nothing about that
2013-03-26 12:52 <navis> from what I read in the code, it has to create 900 moves
2013-03-26 12:53 <navis> is this such an expensive operation ?
2013-03-26 12:53 <navis> is there a way to have a look at what it is doing ?
2013-03-26 12:53 <cedk> navis: just debug the code
2013-03-26 12:54 <cedk> navis: I don't which version you are running but there are improvement in trunk
2013-03-26 12:54 <navis> cedk: it is 2.6
2013-03-26 12:55 <navis> cedk: wow it just ended
2013-03-26 12:55 <navis> cedk: all seems fine, it was just excruciatingly slow :-)
2013-03-26 12:57 <cedk> navis: at first sight, there are room for improvement there
2013-03-26 13:00 <navis> cedk: I'm learning python while transitionning my current system to tryton, I plan to contribute my modifications back when they are useable, and continue to contribute what I can
2013-03-26 13:23 <ralf58> cedk: Do you want me to append the patch to the issue3091?
2013-03-26 13:26 <cedk> ralf58: I want to test the behavior on sale_shipment_cost before
2013-03-26 13:34 <udono> Hi, do we have an example for wizards type 'window'? Does this conception still exist? see
2013-03-26 13:37 <udono> The concept seems to exist:
2013-03-26 13:38 <udono> Please forget my question, I will find an example...
2013-03-26 13:39 <udono> ... production/bom.xml
2013-03-26 14:35 <cedk> prusglajotemis: indeed I just see that boms field visibility depend on type which is no more on product but on the template
2013-03-26 14:55 <prusglajotemis> cedk: thanks
2013-03-26 15:13 <mrechte> Hello. What's the reason of account.move.line state field ? Why not a function field on the account.move that would compute the lines state (viz. move is balanced or not) ?
2013-03-26 16:46 <ozmeister> Hi everybody. I like Tryton, and I'm looking to implement Tryton/GNU Health at a client of mine. Does Tryton have the ability to produce an 'Aged Receivables' Report, sorted by oldest receivables?
2013-03-26 16:49 <cedk> ozmeister: take a look at the aged balance report
2013-03-26 16:53 <ozmeister> cedk: Thanks, I'll check it out
2013-03-26 17:01 <ozmeister> cedk: Thanks, I saw it :)...Is there anyway to output the reports, and trial balance etc, to spreadsheet?
2013-03-26 17:02 <coeps> Hi, is it possible to get a dump of the demo_db of the demoserver. I would like to use if for "debug-learning"
2013-03-26 17:04 <cedk> coeps: here is the script that generate it:
2013-03-26 17:05 <cedk> ozmeister: you can change the template for a ods one
2013-03-26 17:06 <coeps> cedk: cool, thanks
2013-03-26 17:09 <ozmeister> cedk: Thanks :)
2013-03-26 18:09 <coeps> Hi, is it possible to restrict objects in a one2many list to a certain type of the target model when creating the target items in the client=?
2013-03-26 19:13 -!- navis(~user@ has left #tryton
2013-03-26 19:32 <mrechte> Could somebody kindly explain the following code portion from in class GeneralLedger(Report):
2013-03-26 19:32 <mrechte> with Transaction().set_context(
2013-03-26 19:32 <mrechte> fiscalyear=data['fiscalyear'],
2013-03-26 19:32 <mrechte> periods=start_period_ids,
2013-03-26 19:32 <mrechte> posted=data['posted']):
2013-03-26 19:32 <mrechte> start_accounts = Account.browse(accounts)
2013-03-26 19:32 <mrechte> Thanks
2013-03-26 20:57 <plantian1> mrechte: I looked at the code and I don't really get it search, maybe it has to to do with the property functions using variables from the context.
2013-03-26 20:57 <plantian1> *get it either
2013-03-26 21:13 <plantian1> How can I skip many2one rows which have been deleted in a list of a model? I seem to get this error when trying to loop over the rows-- You try to read records that don't exist anymore! (Document type: inventory.line)

Generated by 2.17.3 by Marius Gedminas - find it at!