IRC logs of #tryton for Monday, 2008-08-18

chat.freenode.net #tryton log beginning Mon Aug 18 00:00:01 CEST 2008
2008-08-18 05:18 -!- yangoon(n=mathiasb@p549F6851.dip.t-dialin.net) has joined #tryton
2008-08-18 08:06 -!- Gedd(n=ged@77.109.114.105) has joined #tryton
2008-08-18 08:07 <udono> good Morning
2008-08-18 08:22 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-18 08:35 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-18 09:14 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton
2008-08-18 10:08 -!- ansx(i=nil@motocultabl.eu) has joined #tryton
2008-08-18 10:33 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-18 10:45 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 15:509ab0d234cb currency/currency.xml: Remove rounding and digits for unknown currency
2008-08-18 10:47 <CIA-55> tryton: ced roundup * #230/res = self.cursor.execute(sql): No news?
2008-08-18 10:47 <CIA-55> tryton: ced roundup * #241/LINE 1: ...src_model","res_model","view_type","auto_refresh","search_va...: No news?
2008-08-18 11:03 -!- e-ane(n=yann@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-18 11:08 <CIA-55> tryton: udono roundup * #241/LINE 1: ...src_model","res_model","view_type","auto_refresh","search_va...: [resolved] No news. Cant install the database anymore, because my menu is lost. maybe this is caused by a wrong menuitem from a prototype of a sel ...
2008-08-18 11:13 -!- yangoon1(n=mathiasb@p549F6851.dip.t-dialin.net) has joined #tryton
2008-08-18 11:14 -!- yangoon1(n=mathiasb@p549F6851.dip.t-dialin.net) has left #tryton
2008-08-18 11:15 -!- yangoon1(n=mathiasb@p549F6851.dip.t-dialin.net) has joined #tryton
2008-08-18 11:25 -!- yangoon(n=mathiasb@p549F758B.dip.t-dialin.net) has joined #tryton
2008-08-18 11:36 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 63:51e889e30821 purchase/purchase.xml: Add admin in Purchase group
2008-08-18 11:47 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 64:2dbd2eeb0569 purchase/purchase.xml: Add group Purchase on transition of purchase workflow
2008-08-18 11:47 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 843:4613ff9c9469 trytond/trytond/ir/model.py: Allow to modify pre-defined model access
2008-08-18 12:34 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-18 12:44 -!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-18 13:22 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 65:d66595f21d97 purchase/purchase.xml: Remove unused view
2008-08-18 13:22 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 66:3108ee89f151 purchase/purchase.py: Add domain on product for purchase line
2008-08-18 13:22 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 177:47353ff8b432 stock/packing.xml: Remove unused view
2008-08-18 14:12 <CIA-55> tryton: matb roundup * #171/database only recognized, when owner is database user: Since checking for all permissions of the tryton database user through the whole cluster is beyond my current scope, I would recommend better docu ...
2008-08-18 14:18 <CIA-55> tryton: mathiasb@obelix.violadagamba.myfqdn.de default * 844:fa6dd8253720 trytond/etc/trytond.conf: Extended documentation of configuration file of trytond. Preliminary fix for issue 171.
2008-08-18 14:18 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 845:87080b22e965 trytond/etc/trytond.conf:
2008-08-18 14:18 <CIA-55> tryton: Remove ending space and change "super admin password" into "Tryton server
2008-08-18 14:18 <CIA-55> tryton: password"
2008-08-18 14:19 <CIA-55> tryton: ced roundup * #171/database only recognized, when owner is database user: [resolved] Applied
2008-08-18 17:06 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-18 17:09 <CIA-55> tryton: bch roundup * #261/Wrong left-right values when adding parent location: [new] I made this: 1) create a stock location called "meta" 2) edit the "warehouse" location and put "meta" has parent. this is the sql output bef ...
2008-08-18 17:27 <cedk> bechamel: I don't see the wrong value in issue261
2008-08-18 17:31 <bechamel> cedk: left and right on warehouse are 16 and 17 at the end, or warehouse is the parent of 3 other locations
2008-08-18 17:32 <bechamel> or > but
2008-08-18 17:35 <bechamel> cedk: left-right should be 2 and 9 on warehouse after adding meta iirc the algorithm
2008-08-18 18:35 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 846:38c0aab2d907 trytond/trytond/osv/orm.py: Fix _update_tree for issue261
2008-08-18 18:36 <CIA-55> tryton: ced roundup * #261/Wrong left-right values when adding parent location: [resolved] Fix with changeset 38c0aab2d907
2008-08-18 18:36 <cedk> bechamel: I think I have fix it
2008-08-18 18:36 <cedk> bechamel: can you test also
2008-08-18 18:36 <cedk> bechamel: I try to not make loop query or recursive call
2008-08-18 18:38 <udono> hello, I like to put my new invoice report in an addon module, which depends on account_invoice. How can I connect to the report parser in Tryton, so that I can use the infrastructure from accoun_invoice? I like to see my new Invoice report as another report to the standard Invoice report...
2008-08-18 18:39 <cedk> udono: you must create a ir.action.report record
2008-08-18 18:41 <bechamel> cedk: still bugy, i should have copy my db, the table is broken now :(
2008-08-18 18:43 <udono> cedk: ok, I did. But the report name must be unique, so I cant use the account_invoice infrastructure...
2008-08-18 18:43 <bechamel> cedk: http://paste.pocoo.org/show/82588/
2008-08-18 18:46 <bechamel> cedk: actualy the left value (16) is ok .. for the right column
2008-08-18 18:48 <udono> my ir.action.report record: http://paste.pocoo.org/show/82589/
2008-08-18 18:51 <cedk> bechamel: and 23 is also good
2008-08-18 18:53 <cedk> udono: so you must instanciate a second Report inherited from the one in account_invoice
2008-08-18 18:53 <cedk> bechamel: I don't see why you say the left and right are too big
2008-08-18 18:55 <cedk> bechamel: by the way put also parent in the sql query when you copy/paste
2008-08-18 18:56 -!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has left #tryton
2008-08-18 18:57 <bechamel> cedk: left on the parent should be less than all the childs left, and vice versa (less>bigger) for right
2008-08-18 18:58 <bechamel> cedk: so meta(15,24) and warehouse(16,23) are consitant
2008-08-18 18:58 <udono> cedk:There is my problem: Since we dont have a _inherit function I need to use the _name = "account.invoice" for inherit the existing one, but I need a report_name != account.invoice. Sorry, but I dont know what to do?
2008-08-18 18:58 <cedk> udono: create a Report(trytond.modules.account_invoice.invoice.InvoiceReport)
2008-08-18 18:59 <cedk> bechamel: so there is no problem !
2008-08-18 19:00 <bechamel> cedk: yes, i was typing that warehouse was not ok with storage but actualy it's ok
2008-08-18 19:01 <cedk> bechamel: there will be some hole but that is not a problem if we don't make query that use this behavior
2008-08-18 19:01 <cedk> bechamel: but making some more tests will be good
2008-08-18 19:02 <cedk> bechamel: I already make somes but I can have forgotten somes
2008-08-18 19:02 <bechamel> cedk: the trap that caught me is that supplier and cutomer where after the warhouse sub-tree and now they are before
2008-08-18 19:02 <bechamel> cedk: as long as there are no hole on the trees it's ok
2008-08-18 19:02 <cedk> bechamel: it depends on how postgreql update it
2008-08-18 19:03 <cedk> bechamel: if you remove meta from warehouse, you will see
2008-08-18 19:03 <cedk> bechamel: that meta will not be updated
2008-08-18 19:03 <cedk> bechamel: but it is not a problem because warehouse will start with right value of meta
2008-08-18 19:05 <bechamel> cedk: why not update meta ?
2008-08-18 19:06 <cedk> bechamel: because it is complicated and we will just generate more queries for no imporvement
2008-08-18 19:11 <bechamel> cedk: whe lose the tree depth wrt the "standard" way of doing it, maybe add a comment
2008-08-18 19:13 <udono> cedk: I did this, and it works, http://paste.pocoo.org/show/82592/ now I need to tell Tryton to use my report and header template instead of these from account.invoice? Please another tip :-)
2008-08-18 19:30 <udono> cedk: Is there maybe an example of putting another report to an existing module?
2008-08-18 20:08 <cedk> udono: template and header are defined in the ir.action.report
2008-08-18 20:27 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 847:1d698bb265b4 trytond/trytond/osv/orm.py:
2008-08-18 20:27 <CIA-55> tryton: Improve delete for Modified Preorder Tree Traversal to not rebuild all the
2008-08-18 20:27 <CIA-55> tryton: tree
2008-08-18 20:27 <CIA-55> tryton: Add remarks on _update_tree
2008-08-18 23:03 -!- udono_(n=uspallek@dynamic-unidsl-85-197-20-149.westend.de) has joined #tryton
2008-08-18 23:59 -!- ansxx(i=nil@motocultabl.eu) has joined #tryton

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