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

chat.freenode.net #tryton log beginning Mon Aug 11 00:00:02 CEST 2008
-!- betamax_(i=betamax@gateway/tor/x-c402a98c745594d9) has joined #tryton03:41
-!- udono(n=udono@dynamic-unidsl-85-197-24-113.westend.de) has joined #tryton06:49
-!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton07:57
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:03
udonogood Morning08:05
CIA-54tryton: uspallek roundup * #243/Reload menu automatically after updating modules: [new] When transform main.py from glade to pygtk, change the behavior after installing or upgrading a module: Reload the menu automatically and sa ...08:19
-!- Gedd(n=ged@77.109.115.240) has joined #tryton08:22
CIA-54tryton: uspallek roundup * #244/Make accesskeys user definable: [new] glade2pygtk: Accesskeys should be user definable to avoid problems with certain windowmanagers or OS.08:22
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton08:52
gadagahi08:52
-!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton09:27
udonohello bechamel09:28
bechameludono: hello09:29
udonobechamel: I have a problem with inheritance maybe you can help me09:29
udonobechamel: I have the relationship_people_organisations module09:29
bechameludono: yes09:30
udonobechamel: but it is not inherited when I edit the company...09:30
-!- Leyoda(n=lionel@sednaco19320-gw.clients.easynet.fr) has joined #tryton09:31
udonobechamel: I think there is a need to overwrite the party class and tell tryton to use my class first?! But how09:31
udonobechamel: you find the module in http://mercurial.intuxication.org/hg/relationship_people_organizations09:32
bechameludono: ok,09:32
udonobechamel: the 'overwrite party class' idea seem not correct, more I need an inheritance in the view...09:33
bechameludono: iirc company is already a inheritance on the party object09:35
udonobechamel: There is no possibility to get my class between company and party?09:37
bechameludono: company is an inheritS of party, this means that there is a a m2o from company and party and that they are two differents tables in the db09:39
bechameludono: so if you want to put new field on company you have to inherit company09:40
udonobechamel: yes, I understand, but what about view inheritance... I like to see my view which extended the party view, instead of the party view only. Did I need to create a new view for the company and everywhere else where partys are used?09:42
bechameludono: correct me if i'm wrong but your module is about people not company, isn't it ?09:42
udonobechamel: Its about both, it just bring the difference of people and organisations to the party.09:43
bechameludono: not everywhere, but for company yes :)09:43
udonobechamel: in Tiny there has been a pryority tag for the view inheritance, could it be possible that this may help?09:44
udonosorry, priority09:44
bechameludono: in this case the party - company inheritance is closest to the way inheritance is made in object oriented programming, i.e. they must be seen as different object.09:45
bechameludono: priority on inheritance ? it's new ?09:45
udonobechamel: maybe Iam wrong... In view inheritance ther it was possible to set an inheritance sequence via a tag... maybe priority isn't the right tag...09:46
udonobechamel: You know what I mean?09:47
bechameludono: the priority it's when there is several views for the same object, but was not in interfering with inheritance09:47
udonobechamel: ah, ok09:48
bechameludono: so long story short, if you want to add fields on the company you will have to inherit the company09:49
bechameludono: if you look in the company module you will see that it provides a complte new view for the company object (not an inherited view of party), and because of this, inheritance on the party doesn't impact the company view09:52
udonobechamel: ok, I understand.09:53
bechameludono: there is the same kind of construction with product_template and product_product09:53
bechameludono: now that i explain you this, i wonder if all this complications are this useful09:54
bechameludono: actualy it provides a way to modify companies without changing the party object09:56
udonobechamel: the problem is, that the dependencies mechanism doesnt support this complex inheritance...09:59
bechameludono: and also, the company object is there to define companies that are run with the erp and on which one can put employees. It's not there to distinguish companies (gmbh, inc., etc) from other organisation and individuals10:01
udonobechamel: because if someone installs the relationship_people_organisations module which extended party, we need a mechanism to autodetect if i.e. company is installed, and if thi is true, we need to put relationship_people_organisations_company into the dependencie chain...10:01
udonobechamel: yes, this is a naming error, I told cedk in the past... the own company is better called "enterprise" and the other companys are "company"...10:02
bechameludono: you think that enterprise is a better name ?10:03
bechameludono: for me the first thing to do is to put the company menu in the administration not in party :)10:04
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton10:07
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:07
udonobechamel: we need do differ "own company" and "other company", so if e are an ERP (Enterprise...) it is consequent to name the own company 'Enterprise' and the others "company", I think...10:12
udonobechamel: yes, administration is a good menu place10:12
udonobechamel: but what else we need to do? What do you think about an complex or conditional dependency model?10:14
bechameludono: i don't think there is a need for this, at least not for your module. what i would do is to forget about acompany stuff (and consider it as parametrisation stuff, like user groups), and work only on party10:16
udonobechamel: dont understand the part:" i don't think there is a need for this, at least not for your module."10:17
udonobechamel: should i put all the stuff inside party directly?10:17
udonobechamel: up to the relationship model?10:18
udonobechamel: This would be much easier for me :-)10:18
bechamelcedk: i was saying to udono that company menu should be put in the administration, because "company" is there to define companies who are using the erp (and define employees and so on), and not all the companies.10:19
bechameludono: yes i think so, except if cedk tell me that company must be used in a more general way (to define all the companies)10:20
udonobechamel: the party model I could provide will be inherited by the "enterprise" = own company, too. It just give you a class of possible partys around you. And "You" are a party, too. In most cases you are the 'contra' party for relationships with other partys...10:24
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 635:fc1871019dd3 tryton/tryton/translate.py: Fix locale for issue22710:26
CIA-54tryton: ced roundup * #227/translation of client does not work under windows: [resolved] Fix with changeset fc1871019dd310:26
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 818:9ab358c6a60f trytond/trytond/ (osv/orm.py sql_db.py):10:26
CIA-54tryton: Add update_definitions after change on database structure10:26
CIA-54tryton: Fix not null on interger, boolean and float10:26
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 819:86d8fe5dbff3 trytond/trytond/ir/rule.py: Remove required on Boolean field10:26
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 820:332a5fec77f5 trytond/ (5 files in 4 dirs):10:26
CIA-54tryton: Replace table cache_clean with ir_cache object10:26
bechameludono: "contra" ?10:26
CIA-54tryton: Add configuration option for multi-server10:26
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 821:3a5d49aeff8d trytond/trytond/report/report.py: Fix locale for issue22710:26
-!- nicoe(n=nicoe@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton10:28
cedkbechamel: why not just change the name of the menu for "My Company"10:28
bechamelcedk: it's better than just company10:28
-!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton10:29
gadagacedk, bechamel  : hi, account.template is a model for generate account.account records?10:32
cedkgadaga: yes10:33
gadagacedk: ok thx10:33
cedkgadaga: it is because account charts must be linked to one company and you can have many companies10:34
udonobechamel: "contra" position: Imagine "networks" when you think about "people and organisations" (P&O) in the univers of your company. They are the entitys in the network. When you have "Relationships" then you have "Relationships" between these entitys. Relations are the labeled arrows between the actors you describe, when you paint it on a sheet of paper. Most of the Relations you build in Tryton, are relations between other companys10:35
udonore the other companys a party and your company=enterprise is a party, the contra party.10:35
gadagacedk: we can create an account.account record without an account_template link?10:35
cedkgadaga: nothing prevent it but it is not a good way10:37
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 822:3cb721e6d4c7 trytond/trytond/osv/orm.py: Fix _rebuild_tree for issue24210:38
CIA-54tryton: ced roundup * #242/TypeError: cannot concatenate 'str' and 'Many2One' objects: [resolved] Fix with changeset 3cb721e6d4c710:38
udonogadaga: but templates are just templates and not real accounting sheets...10:38
udonogadaga: templates are the draft charts of account, wich are distributed via tryton. The users needs to customize the accounts their own way...10:39
cedkudono: for the company I don't where you want to go ?10:41
udonocedk: which company? own or others?10:41
cedkudono: I don't understand your request10:42
gadagaudono: ok thx10:42
udonocedk: Iam talking with bechamel about the people and organizations model...10:42
bechameludono: for the network stuff, what i see is a table with columns (party_from, party_to, kind_of_relation)10:47
cedkbechamel: me too10:48
udonobechamel: if you have relationship, and you like to describe all possible relationships, than you need to name them as an own class.10:49
bechameludono: yes maybe it depends on what you want to do with the relations10:50
udonobechamel: but whats about the questions above? Where I can start to implament the rest of the people and organisations model from silverston?10:57
-!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton11:02
CIA-54tryton: ced roundup * #241/LINE 1: ...src_model","res_model","view_type","auto_refresh","search_va...: [chatting] Is there any messages from the server when updating or creating the database?11:21
-!- bechamel`(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton11:26
bechamel`udono: so my opinion about your module is work only with relationship stuff, and ignore company11:29
udonobechamel: ok, and should I extend party directly or via addon modules?11:30
bechamel`udono: an addon is ok11:30
udonobechamel: But then we have this dependencies problem from above...11:30
bechamel`udono: the problem is with company not party (or i didn't understand correctly the problem)11:32
bechamel`udono: i lost my irc connection so i'm not able to re-read the conversation sorry. but i understood that your field was ok in the party form but not on the company form11:34
udonobechamel: everything is ok, the party inheritance is in other forms ok. Thanks for helping...11:34
gadagacedk: what's the difference betwwen type and kind fields in account.account?11:46
cedkgadaga: type is to put the account in the balance sheet and income statement11:49
cedkgadaga: in kind is for other stuff like knowing the receivable, payable etc...11:49
gadagacedk: ok thx11:52
-!- rli(n=rli@sednaco19320-gw.clients.easynet.fr) has joined #tryton12:05
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 823:64d15ab6be70 trytond/trytond/ (ir/translation.py osv/fields.py osv/orm.py sql_db.py): Change ID_MAX into IN_MAX on cursor (inspired from openobject rev943)12:16
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 172:d8d62233a435 account/account.py: Remove ID_MAX12:16
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 636:61868e8e2b18 tryton/tryton/gui/window/dblogin.py: Duplicate set_text for entry_login12:26
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 637:fb9431faa2f5 tryton/tryton/gui/window/dbcreate.py:12:26
CIA-54tryton: Set login to admin after database creation12:26
CIA-54tryton: Avoid annoying user with too much dialog12:26
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 638:5b90ce72fbc9 tryton/tryton/gui/window/view_form/screen/screen.py: Fix set_domain for new domain structure12:26
bechamel`FYI, hg rebase is now available: http://www.selenic.com/mercurial/wiki/index.cgi/RebaseProject. This could be very helpful on local repositories. (I wish i would have it last week, hein cédric ;) )12:41
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton13:37
-!- cedk_(n=ced@46.212-246-81.adsl-dyn.isp.belgacom.be) has joined #tryton13:40
-!- kultviech(n=kultviec@p5B0D1E81.dip0.t-ipconnect.de) has joined #tryton14:37
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton14:40
-!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton16:09
b52laptophi16:09
Timitosb52laptop: hi16:11
b52laptopTimitos, how is life going :D ?16:11
Timitosb52laptop: thanks i´m fine :-)16:12
b52laptopTimitos, ok , nice :)16:12
Timitosb52laptop: you missed cedk today for about 30 minutes16:12
b52laptopTimitos,  yeah saw it #tinyerp , no problem ,  i'm not in a hurry ;d16:13
Timitos:-)16:13
-!- kultviech(n=kultviec@p5B0D1E81.dip0.t-ipconnect.de) has joined #tryton16:32
-!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton17:36
-!- kultviech(n=kultviec@p5B0D1E81.dip0.t-ipconnect.de) has joined #tryton18:18
-!- kultviec1(n=kultviec@p5B0D329A.dip0.t-ipconnect.de) has joined #tryton19:40
udononicoe: did you decide in questions of link vs. keyword, relatorio:// or genshi://?20:38
udononicoe: good evening20:38
udono:-)20:38

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