IRC logs of #tryton for Tuesday, 2008-09-23

chat.freenode.net #tryton log beginning Tue Sep 23 00:00:01 CEST 2008
-!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton01:22
-!- ikks(n=igor@190.12.156.178) has joined #tryton05:00
-!- yangoon(n=mathiasb@p549F626A.dip.t-dialin.net) has joined #tryton05:18
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:13
-!- Gedd(n=ged@77.109.115.129) has joined #tryton08:21
-!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton08:53
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton08:54
gadagahi08:54
-!- rli(n=rli@sednaco19320-gw.clients.easynet.fr) has joined #tryton09:39
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:42
udonohi09:50
gadagaudono: hi10:22
udonohello cedk, thanks for your answer last night. I tried the default behavoir you told me with the stock location for customer. This is via xml inserted data. But unfortunately as a user (with admin rights) I can delete this record. The XML inserted records have the create_uid 0 (root), and records created via the client have the create_uid 1 (admin). As a "module vendor" I like to prohibit all users to change the "system records", only10:25
udonocords. How can I do?10:25
udonogadaga: hi10:25
udonoTimitos: hi10:26
cedkudono: for stock location, we allow to change it10:27
cedkudono: it is the check_xml_record function10:27
-!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton10:27
udonocedk: :-) ok10:28
cedkudono: but I don't understand why you create location that can not be modify10:28
udonocedk: was just an example for xml inserted data10:28
udonocedk: I do not need to create any locations...10:29
udonocedk: but thanks10:29
cedkudono: by default the function check_xml_record return false for a record that comes from xml file10:29
cedkudono: except for some object where we override it10:30
cedkudono: because we provide data that must be changed10:30
udonocedk: ok, for demo-like data it is good to change the default behavoir10:31
cedkudono: yes, it is not really demo data, but start data10:31
udonocedk: ok, understand10:31
cedkudono: you can try with a view if you want to test10:32
-!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton10:33
cedkWe think about changing the license for Tryton into GPL-310:35
cedkwhat do you think about?10:36
udonocedk: I dont know. But is it possible to change to gpl-3 because of gpl2 code from tiny.be10:36
udono?10:37
cedkudono: yes because it is GPL-2 or later10:38
cedkIn fact it will prevent Tryton from tivolisation10:40
udonocedk: now we now wht is in "or later" hidden. :-)10:42
cedkas tinyerp has already been tivolizate: http://www.crystalconcept.ch/crystal-eas/crystal-eas-enterprise-application-suite.html10:42
udonoyes, I know10:43
cedkthey use the tinyerp framework to provide services10:43
udonotiviosation10:43
cedkudono: yes later means futur version of GPL10:43
udono:-)10:43
cedkudono: http://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility10:44
-!- rli(n=rli@sednaco19320-gw.clients.easynet.fr) has joined #tryton10:44
udonocedk: but is it a real tiviosation of tiny? Or is it an unallowed closed source?10:45
cedkudono: it is a services without the sources I think10:46
udonook10:46
cedkudono: and GPL-3 will prevent this10:47
udonocedk: Sounds good. Maybe we could interview bkuhn about this?10:48
bechameludono: when you create a webservice you don't really release a software, so you don't need to give source when using gpl2. it's no more allowed with gpl3 iirc10:48
udonobechamel: Yes, its good to forbid this.10:50
udonocedk: bechamel: I read a comparisation about gpl2 and gpl-3. For me the gpl3 is ok, and in some parts even better than gpl-2, I think. We do not have the problems like linux kernel have. But maybe we request at the FSF or bkuhn to make sure...11:03
bechameludono: you have a link for the comparisation ?11:04
udonobechamel: its a short german pdf11:04
bechameludono: ok, maybe later :)11:04
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton11:05
udonobechamel: but here you may find the exact differences? http://www.groklaw.net/article.php?story=2006011815584111511:05
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton11:05
bechameludono: thx11:05
bechameludono: i have also found this www.linux-watch.com/files/misc/GPLv2_vs_GPLv3.pdf11:10
udonocedk: is there a way to get the glade files translated before they are moved to py_gtk?11:31
cedkudono: yes but it doesn't work well11:32
udonocedk: what problems we have with the glade translations?11:33
cedkudono: it doesn't work well when you change the language11:37
udonocedk: ok,11:41
udonocedk: did you translate the glade into be_FR?11:41
cedkudono: no11:42
Timitoscedk: we have some problems with translation of account_statement. there is one action coming from analytic_invoice and wie donĀ“t know why12:25
CIA-54tryton: Timitos roundup * #392/translation problem: [new] in line.xml of module analytic_account there is this entry: <record model="ir.action.wizard" id="act_open_account"> <field name ...13:42
CIA-54tryton: Timitos roundup * #393/many2one field only shows ids not name value: [new] in a custom module i added a many2one field to relationship.country. but if i fill a value into this field and save it there is only the id ...13:56
CIA-54tryton: Bertrand Chenal <bch@b2ck.com> default * 1003:56962258f58f trytond/trytond/osv/orm.py: Complete docstring for new raise_exception arg14:30
-!- CIA-52(n=CIA@208.69.182.149) has joined #tryton16:13
CIA-52tryton: Timitos roundup * #393/many2one field only shows ids not name value: normally in a many2one field there is shown the name of the related record in a form. but in my module there is only shown the id of the related r ...16:30
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton16:32
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 209:3c6ca84dd7f4 account/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 115:8ea6b682be82 account_invoice/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 52:ad0e010ee836 account_statement/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 18:2c42df803f26 analytic_account/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 57:aa54bd73cbff company/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 21:5f07a684ec5c currency/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 76:5f4c0536cd72 product/de_DE.csv: Convert id into xml_id for issue39217:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 12:7beb7c1d3bd4 project/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 90:40bad61d9df3 purchase/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 133:90a3ea0084d8 relationship/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 213:7908b0d085fe stock/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 41:29daa18dc01b timesheet/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1004:087a164718fd trytond/trytond/ir/translation.py: Don't export translation with res_id as integer17:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1005:b25e2660551b trytond/trytond/ (ir/model.py tools/convert.py): Handle inherited db_id in ir.model.data for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1006:d51b4cafecdb trytond/trytond/ir/property.xml: Fix typo17:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1007:7874282956a7 trytond/trytond/ir/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1008:9a117c6f2ceb trytond/trytond/workflow/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1009:294197b9ee5b trytond/trytond/res/de_DE.csv: Convert id into xml_id for issue39217:19
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1010:5b7c9c7087aa trytond/: merge17:19
CIA-52tryton: ced roundup * #392/translation problem: [resolved] Fix with many changesets17:19
CIA-52tryton: ced roundup * #393/many2one field only shows ids not name value: Don't you have change the _rec_name?17:21
-!- Gedd(n=ged@77.109.115.129) has joined #tryton18:59
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 210:b6aa5165a9d9 account/ (move.py move.xml): Add required on move lines for account of kind 'receivable', 'payable'19:07
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 781:8b1b01a6429e tryton/tryton/gui/window/view_form/view/list_gtk/parser.py:19:07
CIA-52tryton: Fix color in list view19:07
CIA-52tryton: - call state_set first19:07
CIA-52tryton: - set default color to white19:07
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 782:be391d4bfc9e tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py: Fix Escape on editable list for new id behavior19:07
udonocedk: Question: is it possible to build trees with childs = fields.One2Many and Parents = Many2Many19:07
udonocedk: I want to have trees, where I can put the same element as a child of different root elements19:08
cedkudono: no, you must use twice many2many19:08
udonocedk: and I can have it as a (nested) tree view?19:09
cedkudono: and you can display one many2many as one2many19:09
udonocedk: is there an example in a module?19:09
cedkudono: no, it works only on simple tree19:09
cedkudono: here you will have graphs19:10
udonocedk: I see19:10
cedkudono: I don't know what you are modeling but perhaps there is simplest way19:11
udonocedk: my prioblem is I have Persons and Organizations. Organizations can be parent of other Organizations or Persons. Persons are leaf elements without childs. But I like to have different Organizations where a same Person can be child of.19:13
cedkudono: we remove this kind of tree from account because it is not very strong19:13
cedkudono: use many2many everywhere19:15
cedkudono: and you will have no need of nested tree19:15
udonocedk: but then I lost the nice nested view to show the organizational structure19:15
udonocedk: or not?19:15
cedkudono: what are you calling nested ?19:16
udonocedk: showing a list with nested elements as a tree.19:16
udonocedk: with parent/childs...19:16
cedkudono: you can19:16
udono:-)19:17
udonocedk: Ok, I try19:17
cedkudono: I was thinking that you want the right/left acceleartion19:17
cedkudono: for a tree, you just need to specify the childs19:17
udonocedk: yes, this can be good on many records...19:17
cedkudono: no need of the parent19:18
cedkudono: but you can not have this on graph19:18
cedkudono: it only works on tree19:18
cedkudono: but it is only usefull when you need to retreive all childs19:19
cedkudono: and here you will not have a deep tree19:19
udonocedk: what is "not a deep tree"?19:19
cedkudono: you will not have thousand of companies on one branch19:31
udonocedk: no problem :-)19:31
udonocedk: is there an example in any module I can learn?19:36
CIA-52tryton: matb roundup * #394/IndexError: list index out of range: [new] all updated, created new database, all wizards finished, then: [Tue Sep 23 19:42:46 2008] INFO:init:module:analytic_purchase [Tue Sep 23 19 ...19:53
CIA-52tryton: matb roundup * #394/IndexError: list index out of range: [chatting] client log: INFO:rpc.request:('wizard', 'execute', (8725076118381283923, {'model': 'ir.ui.me nu', 'id': 29, 'form': {'lang': u'de_DE'} ...19:55
cedkudono: I don't see trees with many2many19:56
cedkudono: but it is not very different than with one2many19:56
CIA-52tryton: matb roundup * #394/IndexError: list index out of range: happens also after doing "Update translations"19:57
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1011:93e569dd1573 trytond/trytond/ir/ (model.py module/module.py translation.py): Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 211:86edbd547f7c account/ (account.py move.py tax.py): Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 116:fbf24270427e account_invoice/invoice.py: Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 19:40dadb2bcdb4 analytic_account/ (account.py line.py): Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 6:dfeb475dea7e project_revenue/service.py: Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 91:2ab5c248870c purchase/purchase.py: Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 214:6a4bb5df1e89 stock/ (location.py product.py): Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 42:39176c4eb360 timesheet/ (line.py work.py): Fix search on ir.model.data for new inherit field for issue39420:14
CIA-52tryton: ced roundup * #394/IndexError: list index out of range: [resolved] Fix with many changesets20:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 1012:54689768ee99 trytond/trytond/ (tools/convert.py tryton.rnc): Remove model attribute on field tag20:19
udonocedk: Thanks, I try tommorrow20:31
CIA-52tryton: Timitos roundup * #393/many2one field only shows ids not name value: no. see my code from my first post20:33
CIA-52tryton: matb roundup * #395/The couple (fs_id, module, model) must be unique!: [new] is not a couple, but a triple. Proposal: The key...21:05
CIA-52tryton: ced roundup * #395/The couple (fs_id, module, model) must be unique!: [resolved] Drop the constraint and run update.21:15
CIA-52tryton: matb roundup * #396/Actualization of menu: [new] After updating translation of menu items (ir.ui.menu,name, ir.action,name), new translation is used, when reopening forms, but it is not use ...21:27
CIA-52tryton: matb roundup * #397/Another IndexError: list index out of range: [new] When updating or creating new database: [Tue Sep 23 21:50:58 2008] INFO:init:module:account_de_skr03_2008:loading de_DE.csv Traceback (most ...21:53
CIA-52tryton: ced roundup * #397/Another IndexError: list index out of range: [resolved] Not from Tryton22:01
CIA-52tryton: matb roundup * #395/The couple (fs_id, module, model) must be unique!: [chatting] Sorry, doesn't change anything, is also in new database. I have one of each: The couple (fs_id, module, model) must be unique! The cou ...22:28
udonocedk: having problems with the Many2Many on the same object If I say:  childs = fields.Many2Many('relationship.party', 'relationship_party_rel', 'party', 'party', 'Organisational Structure') this seems not to work this good. I get a table relationship_party_rel with two colums id, party instead of three colums... any idea22:34
udono?22:34
udonoafk22:35
bechameludono: the 3rd and 4th args are the name of the columns of the table who will support the m2m22:39
bechameludono: they must be differents, is guess that 'parent', 'child' instead of 'party', 'party' are good names22:39
-!- ikks(n=igor@190.12.156.178) has joined #tryton22:50

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