IRC logs of #tryton for Monday, 2008-08-18 #tryton log beginning Mon Aug 18 00:00:01 CEST 2008
-!- yangoon( has joined #tryton05:18
-!- Gedd(n=ged@ has joined #tryton08:06
udonogood Morning08:07
-!- Timitos(n=Timitos@ has joined #tryton08:22
-!- bechamel( has joined #tryton08:35
-!- cedk_( has joined #tryton09:14
-!- ansx( has joined #tryton10:08
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:33
CIA-55tryton: C?dric Krier <> default * 15:509ab0d234cb currency/currency.xml: Remove rounding and digits for unknown currency10:45
CIA-55tryton: ced roundup * #230/res = self.cursor.execute(sql): No news?10:47
CIA-55tryton: ced roundup * #241/LINE 1: ...src_model","res_model","view_type","auto_refresh","search_va...: No news?10:47
-!- e-ane( has joined #tryton11:03
CIA-55tryton: 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 ...11:08
-!- yangoon1( has joined #tryton11:13
-!- yangoon1( has left #tryton11:14
-!- yangoon1( has joined #tryton11:15
-!- yangoon( has joined #tryton11:25
CIA-55tryton: C?dric Krier <> default * 63:51e889e30821 purchase/purchase.xml: Add admin in Purchase group11:36
CIA-55tryton: C?dric Krier <> default * 64:2dbd2eeb0569 purchase/purchase.xml: Add group Purchase on transition of purchase workflow11:47
CIA-55tryton: C?dric Krier <> default * 843:4613ff9c9469 trytond/trytond/ir/ Allow to modify pre-defined model access11:47
-!- b52laptop(n=b52lapto@ has joined #tryton12:34
-!- Leyoda( has joined #tryton12:44
CIA-55tryton: C?dric Krier <> default * 65:d66595f21d97 purchase/purchase.xml: Remove unused view13:22
CIA-55tryton: C?dric Krier <> default * 66:3108ee89f151 purchase/ Add domain on product for purchase line13:22
CIA-55tryton: C?dric Krier <> default * 177:47353ff8b432 stock/packing.xml: Remove unused view13:22
CIA-55tryton: 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 ...14:12
CIA-55tryton: default * 844:fa6dd8253720 trytond/etc/trytond.conf: Extended documentation of configuration file of trytond. Preliminary fix for issue 171.14:18
CIA-55tryton: C?dric Krier <> default * 845:87080b22e965 trytond/etc/trytond.conf:14:18
CIA-55tryton: Remove ending space and change "super admin password" into "Tryton server14:18
CIA-55tryton: password"14:18
CIA-55tryton: ced roundup * #171/database only recognized, when owner is database user: [resolved] Applied14:19
-!- b52laptop(n=b52lapto@ has joined #tryton17:06
CIA-55tryton: 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 ...17:09
cedkbechamel: I don't see the wrong value in issue26117:27
bechamelcedk: left and right on warehouse are 16 and 17 at the end, or warehouse is the parent of 3 other locations17:31
bechamelor > but17:32
bechamelcedk: left-right should be 2 and 9 on warehouse after adding meta iirc the algorithm17:35
CIA-55tryton: C?dric Krier <> default * 846:38c0aab2d907 trytond/trytond/osv/ Fix _update_tree for issue26118:35
CIA-55tryton: ced roundup * #261/Wrong left-right values when adding parent location: [resolved] Fix with changeset 38c0aab2d90718:36
cedkbechamel: I think I have fix it18:36
cedkbechamel: can you test also18:36
cedkbechamel: I try to not make loop query or recursive call18:36
udonohello, 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...18:38
cedkudono: you must create a record18:39
bechamelcedk: still bugy, i should have copy my db, the table is broken now :(18:41
udonocedk: ok, I did. But the report name must be unique, so I cant use the account_invoice infrastructure...18:43
bechamelcedk: actualy the left value (16) is ok .. for the right column18:46
udonomy record:
cedkbechamel: and 23 is also good18:51
cedkudono: so you must instanciate a second Report inherited from the one in account_invoice18:53
cedkbechamel: I don't see why you say the left and right are too big18:53
cedkbechamel: by the way put also parent in the sql query when you copy/paste18:55
-!- Leyoda( has left #tryton18:56
bechamelcedk: left on the parent should be less than all the childs left, and vice versa (less>bigger) for right18:57
bechamelcedk: so meta(15,24) and warehouse(16,23) are consitant18:58
udonocedk: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?18:58
cedkudono: create a Report(trytond.modules.account_invoice.invoice.InvoiceReport)18:58
cedkbechamel: so there is no problem !18:59
bechamelcedk: yes, i was typing that warehouse was not ok with storage but actualy it's ok19:00
cedkbechamel: there will be some hole but that is not a problem if we don't make query that use this behavior19:01
cedkbechamel: but making some more tests will be good19:01
cedkbechamel: I already make somes but I can have forgotten somes19:02
bechamelcedk: the trap that caught me is that supplier and cutomer where after the warhouse sub-tree and now they are before19:02
bechamelcedk: as long as there are no hole on the trees it's ok19:02
cedkbechamel: it depends on how postgreql update it19:02
cedkbechamel: if you remove meta from warehouse, you will see19:03
cedkbechamel: that meta will not be updated19:03
cedkbechamel: but it is not a problem because warehouse will start with right value of meta19:03
bechamelcedk: why not update meta ?19:05
cedkbechamel: because it is complicated and we will just generate more queries for no imporvement19:06
bechamelcedk: whe lose the tree depth wrt the "standard" way of doing it, maybe add a comment19:11
udonocedk: I did this, and it works, now I need to tell Tryton to use my report and header template instead of these from account.invoice? Please another tip :-)19:13
udonocedk: Is there maybe an example of putting another report to an existing module?19:30
cedkudono: template and header are defined in the ir.action.report20:08
CIA-55tryton: C?dric Krier <> default * 847:1d698bb265b4 trytond/trytond/osv/
CIA-55tryton: Improve delete for Modified Preorder Tree Traversal to not rebuild all the20:27
CIA-55tryton: tree20:27
CIA-55tryton: Add remarks on _update_tree20:27
-!- udono_( has joined #tryton23:03
-!- ansxx( has joined #tryton23:59

Generated by 2.11.0 by Marius Gedminas - find it at!