IRC logs of #tryton for Wednesday, 2008-10-08

chat.freenode.net #tryton log beginning Wed Oct 8 00:00:01 CEST 2008
-!- ikks(n=igor@190.157.151.169) has joined #tryton01:38
-!- ikks(n=igor@190.12.156.178) has joined #tryton03:12
-!- yangoon(n=mathiasb@p549F6EB7.dip.t-dialin.net) has joined #tryton05:18
-!- ikks(n=igor@190.157.149.149) has joined #tryton06:08
-!- Gedd(n=ged@77.109.115.97) has joined #tryton08:21
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:28
-!- GeE(n=gzuerche@host2.raptus.com) has joined #tryton08:51
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton09:06
gadagahi09:06
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton09:16
Timitoshi09:17
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:58
udonohi10:02
udonoI've tested the last rc of OpenOffice 3.0 and have good news: The Bug which hindered the pagewise totals and carryover to the next page seems to be solved. With Open Office 3.0 it seems to be possible to calculate this amounts and display them i.e. on an Invoice. There is still one problem left, which could be solved via genshi: If Open Office calculates the sum itself, It needs to know the general Numberformat of Tryton, to render th10:36
-!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton10:37
-!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton10:47
CIA-52tryton: ced roundup * #418/Reconcile Lines: AttributeError: 'NoneType' object has no attribute 'set_text': [resolved] I think you updated your client sources without restarting it.11:04
-!- CIA-52(n=CIA@208.69.182.149) has joined #tryton11:15
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 820:947370cc24e0 tryton/tryton/ (common/common.py plugin.py): Fix selection to use unicode keys and set str in gtk for issue42211:17
CIA-52tryton: ced roundup * #422/KeyError: u'Aktuelle Sicht \xdcbersetzen': [resolved] Fix with changeset 947370cc24e011:17
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 821:bc7f6cdb0b3d tryton/tryton/gui/window/view_form/view/form.py: Fix test on obj_id for print action for issue42111:23
CIA-52tryton: ced roundup * #421/Sale: exception when printing invalid form: [resolved] Fix with changeset bc7f6cdb0b3d11:24
udonoQuestion: If I connect.party with fields.One2Many  to party.address and party.address with fields.Many2One to party, isn't there a database column on table party for the party.address field? I cant find one. I find just a column on table party.address with foreign key to party table.12:04
cedkudono: yes this is enough to make the link12:06
udonocedk: Ok, so its magic in the ORM.12:06
cedkudono: One2Many, doesn't create any database columns12:07
cedkudono: so you always need to define the Many2One to have a One2Many12:08
udonocedk: Ok, I understand. But I can use a Many2Many, too?!12:08
cedkudono: no, Many2Many needs a link table12:11
cedkudono: the invert relation of Many2Many is a Many2Many12:12
udonocedk: Ok. But can combine a Many2One with One2Many or Many2Many.12:13
cedkudono: no12:16
udonocedk: I did it, and it works.12:16
udonocedk: you told me...12:16
cedkudono: can you show me the code12:17
udonocedk: http://paste.pocoo.org/show/87387/12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1076:125c2464ddbd trytond/trytond/ir/ (__init__.py date.py sequence.py): Add ir.date and use it for sequence12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 223:543db7f6114d account/ (account.py fiscalyear.py move.py period.py): Use ir.date12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 124:e3852164c456 account_invoice/invoice.py: Use ir.date12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 59:8cc48c4136a7 account_statement/statement.py: Use ir.date12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 23:7be43fb18526 analytic_account/line.py: Use ir.date12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 25:5577d5864e80 currency/currency.py: Use ir.date12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 105:a942e2064d11 purchase/purchase.py: Use ir.date12:20
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 138:747ddce8773e relationship/party.py: Remove unused function12:21
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 17:271a8bdaea81 sale/sale.py: Use ir.date12:21
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 231:695b4ab667f0 stock/ (inventory.py location.py product.py): Use ir.date12:21
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 56:25472d2d3696 stock_supply/purchase_request.py: Use ir.date12:21
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 46:8eca0e87c117 timesheet/line.py: Use ir.date12:21
cedkudono: no, parent and childs don't use the same columns12:21
cedkudono: it is not part of the same tree12:21
udonocedk: what does this mean?12:23
udonocedk: It works fine for me...12:24
cedkudono: it means that if you put a parent on the record, it will not be display in the childs of the other12:24
udonocedk: actually I have a problem, but its that the parent is not shown. The childs are shown right.12:25
udonoFor info: cleaned up example: http://paste.pocoo.org/show/87388/12:26
cedkudono: if you set parent as many2one the childs must be one2many12:28
udonocedk: My aim was to make it possible to order one Party in a tree to many other Partys. With the standard parent/child it is just possible to order one party one time to another party.12:29
udonocedk: I see, you told me to use many2many twice and show one of them as a one2many: http://www.tryton.org/~irclog/2008-09-23.log.html#t2008-09-23_19:0812:32
cedkudono: yes :-)12:33
udonocedk: I went into struggle when I try this: http://paste.pocoo.org/show/87389/12:37
udonocedk: sorry, wron syntax for m2m... I try further12:39
cedkudono: because you put an uppercase for parent12:39
udonocedk: it works even better than before. Now my parent problem is gone away, thanks for supervising.12:45
udonocedk: There is another issue with the parent/child out of two Many2Manys: If I use a party as a child of another party, it is removed from the root of the tree. But I like to have all partys as root elements, too. Is there a way to show partys in the root of the tree, too, which are childs of other partys?13:57
cedkudono: yes, remove the domain from the act_window14:10
-!- ikks(n=igor@190.12.156.178) has joined #tryton14:31
-!- ikks(n=igor@190.12.156.178) has joined #tryton14:48
udonocedk: no, doesn't work.15:14
cedkudono: what is the domain ?15:15
udono<field name="domain">[('parent', '=', False)]</field>15:16
cedkudono: so put <field name="domain">[]</field>15:16
cedkudono: and you will have all the record15:16
udonocedk: yeah, works. Thanks a lot15:20
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1077:5ee1b8a83ab4 trytond/trytond/ir/de_DE.csv: updated translation for de_DE15:26
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1078:0b95a72af9db trytond/trytond/ir/de_DE.csv: updated translation for de_DE15:26
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 224:d66215a08653 account/de_DE.csv: updated translation for de_DE15:26
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 125:22ce5e701bd7 account_invoice/de_DE.csv: updated translation for de_DE15:26
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 126:b8f958baa673 account_invoice/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 127:959c89db9339 account_invoice/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 65:3c2e56e0044b company/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 26:a0be49c00d69 currency/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 85:69ab91605bdd product/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 107:187e26fb031a purchase/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 106:6116ea427ca9 purchase/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 139:f035fc3c0d1d relationship/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 18:b75b63b7da71 sale/de_DE.csv: updated translation for de_DE15:27
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 19:dfedf4465148 sale/de_DE.csv: updated translation for de_DE15:28
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 57:cfd38f1269f8 stock_supply/ (__tryton__.py de_DE.csv): added translation for de_DE15:28
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 58:00f19c7ef8d8 stock_supply/setup.py: Add German to setup.py15:28
CIA-52tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 59:b54a0b955191 stock_supply/de_DE.csv: updated translation for de_DE15:28
CIA-52tryton: ced roundup * #417/Translation: updates for de_DE: [resolved] Applied. It will be perhaps more simple for everybody if you can publish your repositories for translation somewhere on the net. And ju ...15:29
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1079:e1812e44c06e trytond/trytond/osv/orm.py: Handle True, False as argument on one2many15:50
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 822:0d1ef3ce0c75 tryton/tryton/gui/window/view_form/view/form_gtk/parser.py: Use ScrolledWindow as page for notebook16:00
-!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton16:02
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 823:a03bbaa48735 tryton/tryton/gui/window/win_search.py: Call screen destroy in win_search for issue42016:05
CIA-52tryton: ced roundup * #420/column width of search forms: [resolved] Fix with changeset a03bbaa4873516:05
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1080:49775f305751 trytond/trytond/osv/orm.py: Add "IS NOT NULL" clause for notinselect operator16:18
CIA-52tryton: ced roundup * #419/client: column width not reducable under text length: [resolved] It seems that it is not possible to prevent gtk to behave like this.16:39
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 60:1792b094f191 stock_supply/purchase_request.py: Fix: eval shortage on max_date when max_date equal to min_date16:42
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 61:eb4f1db9dad3 stock_supply/purchase_request.py: Remove required on supply_date an consider empty value as datetime.date.max16:42
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 62:170174dc5b1f stock_supply/purchase_request.xml: Added keyword for opening purchase from the purchase request16:42
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 63:e3355d29f37e stock_supply/purchase_request.xml: Fix model access on purchase request16:42
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 64:57bca19bb4b6 stock_supply/ (purchase_request.py purchase_request.xml):16:42
CIA-52tryton: Added step on purchase creation wizard:16:42
CIA-52tryton: Ask for a party if it missing (and if there is no product supplier for16:42
CIA-52tryton: the current product.)16:42
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 65:964dd5b5b56c stock_supply/ (purchase_request.py purchase_request.xml): merge16:42
udonoIs there a way to print out all fields in a browse(cursor, user, ids, context=context) record?17:01
cedkudono: no, just make a loop on _columns17:02
udonocedk: thank you17:03
udonocedk: hmm, i get an AttributeError: 'BrowseRecordList' object has no attribute '_columns'17:10
cedkudono: it is on the model not the BrowseRecord17:11
udonoah, ok, thx17:13
udonocedk: Sorry, for bothering... but I cant solve http://paste.pocoo.org/show/87408/17:37
udonoThe problem is, it will not read the type of contact_mechanism.17:39
udonoTryton tell me that there is no key contact_mechanism in party_contact_mechanism17:39
cedkudono: what have you in vals['contact_mechanism']17:41
cedkudono: and what is the traceback17:44
udonocedk: http://paste.pocoo.org/show/87415/17:47
udonocedk: all happens in class PartyContactMechanism(OSV):, the second class...17:49
cedkudono: I think it is because you use the id of a contact.mechanism in a model party.contact.mechanism17:49
udonocedk: dont understand.. do you mean the line: contact = contact_obj.browse(cursor, user, vals['contact_mechanism'] ...17:54
cedkudono: this vals.get('contact_mechanism') is the id of a contact.mechanism17:55
udonocedk: you got it!17:59
udonocedk: I see, Iam tired, Thanks for helping17:59
-!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton18:04
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 66:24f327b8671e stock_supply/purchase_request.py: Purchase creation wizard: return already filled form instead of raising unhandled exception18:15
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1081:d8c207616a1c trytond/trytond/ir/ (action.py action.xml): Add model on ir.action.wizard and check on ir.action.keyword on model18:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 225:9191dbd73063 account/ (journal.xml move.xml period.xml tax.xml): Add model on wizards18:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 128:37f0e3d25d0e account_invoice/invoice.xml: Add model on wizards18:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 24:80419b34f252 analytic_account/line.xml: Add model on wizard18:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 232:a9da4d6961b1 stock/ (inventory.xml location.xml product.xml): Add model on wizards and fix id guideline18:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 67:255561b15782 stock_supply/purchase_request.xml: Add model on wizard18:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 68:b469f7975ba6 stock_supply/purchase_request.xml: merge18:19
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 69:29464558f0a0 stock_supply/purchase_request.py: don't complete product supplier automaticaly18:39
CIA-52tryton: Bertrand Chenal <bch@b2ck.com> default * 70:047cc171129a stock_supply/: merge18:39
CIA-52tryton: matb roundup * #423/operator: contains behaves strange with underscores: [new] Example: Search in "Translations" for "module contains _su" returns nothing. Search in "Translations" for "module contains %_su" returns the ...20:07
CIA-52tryton: ced roundup * #423/operator: contains behaves strange with underscores: [resolved] That is normal, because searching for _su means all record that starts with _su20:19
CIA-52tryton: ced roundup * #423/operator: contains behaves strange with underscores: [chatting] I mean the word _su20:20
CIA-52tryton: matb roundup * #423/operator: contains behaves strange with underscores: [chatting] I see, search "contains" is only for words beginning with the string. So "contains" is wrong and should be renamed to "word begins".21:20
CIA-52tryton: matb roundup * #424/another wrong id in stock_supply/purchase_request.xml: [new] Like in changeset e919272fe04a 'Fix id for stock.purchase_request.create_purchase.ask view record' the id in line 92 has to be fixed, too.22:58
CIA-52tryton: matb roundup * #425/Translation: untranslated item: [new] Stock management/Locations, open a location, Products (xxx) have no src in translation.23:04
-!- ikks(n=igor@190.12.156.178) has joined #tryton23:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 71:2e24e303ca55 stock_supply/purchase_request.xml: Fix id for stock.purchase_request.create_purchase.ask_party for issue42423:22
CIA-52tryton: ced roundup * #424/another wrong id in stock_supply/purchase_request.xml: [resolved] Fix with changeset 2e24e303ca55 You can provide also patches for code if you know how to fix issue.23:23
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1082:cdf10087f216 trytond/trytond/osv/orm.py: Translate before calling view_header_get in __view_look_dom for issue42523:33
CIA-52tryton: ced roundup * #425/Translation: untranslated item: [resolved] Fix with changeset cdf10087f21623:33
-!- X0d_of_N0d(i=C-C_C-X@gateway/tor/x-92e175b9faba0ca7) has joined #tryton23:47
X0d_of_N0dso when did this fork?23:47
cedkX0d_of_N0d: we start the 05 Feb23:48
cedkX0d_of_N0d: it is more than just a fork, we rewrite all the modules23:49
X0d_of_N0dhow's the progress coming?23:49
X0d_of_N0dthank god23:49
cedkwe think about making a release soon23:49
ikksACTION has to hurry sending the translations23:49
X0d_of_N0dcedk: I've been spending a lot of time reading through the terp code... fsck!23:50
cedkwe have principal modules: product, sale, purchase, account, invoice23:50
cedkstock23:50
cedkX0d_of_N0d: it is not complety different but we think that we have a better structure now23:51
X0d_of_N0dso I wrote a bunch of code to import from our current accounting package to tinyerp, would that still work?23:51
cedkX0d_of_N0d: and more robust23:51
X0d_of_N0d(the stuff I wrote was all xmlrpc)23:51
cedkX0d_of_N0d: it depends, because we have made some change in the accounting structure because ther was some flaw23:51
X0d_of_N0dACTION is reading through the site23:52
cedkbut we know that some one is working on a script to migrate accounting data from openerp to tryton23:52
X0d_of_N0dcedk: so how many people are on the project?23:52
cedkX0d_of_N0d: we still have xmlrpc and we don't change the protocol23:52
X0d_of_N0dnice23:53
X0d_of_N0dthere are some chagnes I'd like to make in their xmlrpc, but it's generally pretty good23:53
cedkX0d_of_N0d: for now, we have about 8 active devs23:53
X0d_of_N0dit looks nice23:53
X0d_of_N0doh, you're using mercurial, nice23:54
cedkX0d_of_N0d: one things that tell us that we are in the right way is that openerp take code and ideas that we developpe23:54
cedkyes, mercurial to give easy way to contribute23:55
cedkand for company that make installation to there client can manage theur own repository23:55
X0d_of_N0dyou guys are still primaerily in europe?23:56
cedkyes, but there is ikks that is in colombia I think23:57
X0d_of_N0dI'll look at your guys' code23:57
cedkX0d_of_N0d: where are you from ?23:57
ikkscedk, have you tried ktiny with tryton?23:57
X0d_of_N0dif you guys know that terp needs to be fixed, that's already good news23:58
X0d_of_N0dCalifornia, USA23:58
cedkX0d_of_N0d: great, it will be good to have some comments about the accounting stuff from america point of view23:59
cedkikks: I have look for the feature but not test it23:59

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!