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

chat.freenode.net #tryton log beginning Mon Aug 11 00:00:02 CEST 2008
2008-08-11 03:41 -!- betamax_(i=betamax@gateway/tor/x-c402a98c745594d9) has joined #tryton
2008-08-11 06:49 -!- udono(n=udono@dynamic-unidsl-85-197-24-113.westend.de) has joined #tryton
2008-08-11 07:57 -!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-11 08:03 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-11 08:05 <udono> good Morning
2008-08-11 08:19 <CIA-54> tryton: 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 ...
2008-08-11 08:22 -!- Gedd(n=ged@77.109.115.240) has joined #tryton
2008-08-11 08:22 <CIA-54> tryton: uspallek roundup * #244/Make accesskeys user definable: [new] glade2pygtk: Accesskeys should be user definable to avoid problems with certain windowmanagers or OS.
2008-08-11 08:52 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-11 08:52 <gadaga> hi
2008-08-11 09:27 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-11 09:28 <udono> hello bechamel
2008-08-11 09:29 <bechamel> udono: hello
2008-08-11 09:29 <udono> bechamel: I have a problem with inheritance maybe you can help me
2008-08-11 09:29 <udono> bechamel: I have the relationship_people_organisations module
2008-08-11 09:30 <bechamel> udono: yes
2008-08-11 09:30 <udono> bechamel: but it is not inherited when I edit the company...
2008-08-11 09:31 -!- Leyoda(n=lionel@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-11 09:31 <udono> bechamel: I think there is a need to overwrite the party class and tell tryton to use my class first?! But how
2008-08-11 09:32 <udono> bechamel: you find the module in http://mercurial.intuxication.org/hg/relationship_people_organizations
2008-08-11 09:32 <bechamel> udono: ok,
2008-08-11 09:33 <udono> bechamel: the 'overwrite party class' idea seem not correct, more I need an inheritance in the view...
2008-08-11 09:35 <bechamel> udono: iirc company is already a inheritance on the party object
2008-08-11 09:37 <udono> bechamel: There is no possibility to get my class between company and party?
2008-08-11 09:39 <bechamel> udono: 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 db
2008-08-11 09:40 <bechamel> udono: so if you want to put new field on company you have to inherit company
2008-08-11 09:42 <udono> bechamel: 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?
2008-08-11 09:42 <bechamel> udono: correct me if i'm wrong but your module is about people not company, isn't it ?
2008-08-11 09:43 <udono> bechamel: Its about both, it just bring the difference of people and organisations to the party.
2008-08-11 09:43 <bechamel> udono: not everywhere, but for company yes :)
2008-08-11 09:44 <udono> bechamel: in Tiny there has been a pryority tag for the view inheritance, could it be possible that this may help?
2008-08-11 09:44 <udono> sorry, priority
2008-08-11 09:45 <bechamel> udono: 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.
2008-08-11 09:45 <bechamel> udono: priority on inheritance ? it's new ?
2008-08-11 09:46 <udono> bechamel: 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...
2008-08-11 09:47 <udono> bechamel: You know what I mean?
2008-08-11 09:47 <bechamel> udono: the priority it's when there is several views for the same object, but was not in interfering with inheritance
2008-08-11 09:48 <udono> bechamel: ah, ok
2008-08-11 09:49 <bechamel> udono: so long story short, if you want to add fields on the company you will have to inherit the company
2008-08-11 09:52 <bechamel> udono: 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 view
2008-08-11 09:53 <udono> bechamel: ok, I understand.
2008-08-11 09:53 <bechamel> udono: there is the same kind of construction with product_template and product_product
2008-08-11 09:54 <bechamel> udono: now that i explain you this, i wonder if all this complications are this useful
2008-08-11 09:56 <bechamel> udono: actualy it provides a way to modify companies without changing the party object
2008-08-11 09:59 <udono> bechamel: the problem is, that the dependencies mechanism doesnt support this complex inheritance...
2008-08-11 10:01 <bechamel> udono: 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 individuals
2008-08-11 10:01 <udono> bechamel: 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...
2008-08-11 10:02 <udono> bechamel: 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"...
2008-08-11 10:03 <bechamel> udono: you think that enterprise is a better name ?
2008-08-11 10:04 <bechamel> udono: for me the first thing to do is to put the company menu in the administration not in party :)
2008-08-11 10:07 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-11 10:07 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-11 10:12 <udono> bechamel: 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...
2008-08-11 10:12 <udono> bechamel: yes, administration is a good menu place
2008-08-11 10:14 <udono> bechamel: but what else we need to do? What do you think about an complex or conditional dependency model?
2008-08-11 10:16 <bechamel> udono: 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 party
2008-08-11 10:17 <udono> bechamel: dont understand the part:" i don't think there is a need for this, at least not for your module."
2008-08-11 10:17 <udono> bechamel: should i put all the stuff inside party directly?
2008-08-11 10:18 <udono> bechamel: up to the relationship model?
2008-08-11 10:18 <udono> bechamel: This would be much easier for me :-)
2008-08-11 10:19 <bechamel> cedk: 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.
2008-08-11 10:20 <bechamel> udono: yes i think so, except if cedk tell me that company must be used in a more general way (to define all the companies)
2008-08-11 10:24 <udono> bechamel: 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...
2008-08-11 10:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 635:fc1871019dd3 tryton/tryton/translate.py: Fix locale for issue227
2008-08-11 10:26 <CIA-54> tryton: ced roundup * #227/translation of client does not work under windows: [resolved] Fix with changeset fc1871019dd3
2008-08-11 10:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 818:9ab358c6a60f trytond/trytond/ (osv/orm.py sql_db.py):
2008-08-11 10:26 <CIA-54> tryton: Add update_definitions after change on database structure
2008-08-11 10:26 <CIA-54> tryton: Fix not null on interger, boolean and float
2008-08-11 10:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 819:86d8fe5dbff3 trytond/trytond/ir/rule.py: Remove required on Boolean field
2008-08-11 10:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 820:332a5fec77f5 trytond/ (5 files in 4 dirs):
2008-08-11 10:26 <CIA-54> tryton: Replace table cache_clean with ir_cache object
2008-08-11 10:26 <bechamel> udono: "contra" ?
2008-08-11 10:26 <CIA-54> tryton: Add configuration option for multi-server
2008-08-11 10:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 821:3a5d49aeff8d trytond/trytond/report/report.py: Fix locale for issue227
2008-08-11 10:28 -!- nicoe(n=nicoe@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton
2008-08-11 10:28 <cedk> bechamel: why not just change the name of the menu for "My Company"
2008-08-11 10:28 <bechamel> cedk: it's better than just company
2008-08-11 10:29 -!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-11 10:32 <gadaga> cedk, bechamel : hi, account.template is a model for generate account.account records?
2008-08-11 10:33 <cedk> gadaga: yes
2008-08-11 10:33 <gadaga> cedk: ok thx
2008-08-11 10:34 <cedk> gadaga: it is because account charts must be linked to one company and you can have many companies
2008-08-11 10:35 <udono> bechamel: "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 companys
2008-08-11 10:35 <udono> re the other companys a party and your company=enterprise is a party, the contra party.
2008-08-11 10:35 <gadaga> cedk: we can create an account.account record without an account_template link?
2008-08-11 10:37 <cedk> gadaga: nothing prevent it but it is not a good way
2008-08-11 10:38 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 822:3cb721e6d4c7 trytond/trytond/osv/orm.py: Fix _rebuild_tree for issue242
2008-08-11 10:38 <CIA-54> tryton: ced roundup * #242/TypeError: cannot concatenate 'str' and 'Many2One' objects: [resolved] Fix with changeset 3cb721e6d4c7
2008-08-11 10:38 <udono> gadaga: but templates are just templates and not real accounting sheets...
2008-08-11 10:39 <udono> gadaga: templates are the draft charts of account, wich are distributed via tryton. The users needs to customize the accounts their own way...
2008-08-11 10:41 <cedk> udono: for the company I don't where you want to go ?
2008-08-11 10:41 <udono> cedk: which company? own or others?
2008-08-11 10:42 <cedk> udono: I don't understand your request
2008-08-11 10:42 <gadaga> udono: ok thx
2008-08-11 10:42 <udono> cedk: Iam talking with bechamel about the people and organizations model...
2008-08-11 10:47 <bechamel> udono: for the network stuff, what i see is a table with columns (party_from, party_to, kind_of_relation)
2008-08-11 10:48 <cedk> bechamel: me too
2008-08-11 10:49 <udono> bechamel: if you have relationship, and you like to describe all possible relationships, than you need to name them as an own class.
2008-08-11 10:50 <bechamel> udono: yes maybe it depends on what you want to do with the relations
2008-08-11 10:57 <udono> bechamel: but whats about the questions above? Where I can start to implament the rest of the people and organisations model from silverston?
2008-08-11 11:02 -!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton
2008-08-11 11:21 <CIA-54> tryton: 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?
2008-08-11 11:26 -!- bechamel`(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-11 11:29 <bechamel`> udono: so my opinion about your module is work only with relationship stuff, and ignore company
2008-08-11 11:30 <udono> bechamel: ok, and should I extend party directly or via addon modules?
2008-08-11 11:30 <bechamel`> udono: an addon is ok
2008-08-11 11:30 <udono> bechamel: But then we have this dependencies problem from above...
2008-08-11 11:32 <bechamel`> udono: the problem is with company not party (or i didn't understand correctly the problem)
2008-08-11 11:34 <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 form
2008-08-11 11:34 <udono> bechamel: everything is ok, the party inheritance is in other forms ok. Thanks for helping...
2008-08-11 11:46 <gadaga> cedk: what's the difference betwwen type and kind fields in account.account?
2008-08-11 11:49 <cedk> gadaga: type is to put the account in the balance sheet and income statement
2008-08-11 11:49 <cedk> gadaga: in kind is for other stuff like knowing the receivable, payable etc...
2008-08-11 11:52 <gadaga> cedk: ok thx
2008-08-11 12:05 -!- rli(n=rli@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-11 12:16 <CIA-54> tryton: 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)
2008-08-11 12:16 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 172:d8d62233a435 account/account.py: Remove ID_MAX
2008-08-11 12:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 636:61868e8e2b18 tryton/tryton/gui/window/dblogin.py: Duplicate set_text for entry_login
2008-08-11 12:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 637:fb9431faa2f5 tryton/tryton/gui/window/dbcreate.py:
2008-08-11 12:26 <CIA-54> tryton: Set login to admin after database creation
2008-08-11 12:26 <CIA-54> tryton: Avoid annoying user with too much dialog
2008-08-11 12:26 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 638:5b90ce72fbc9 tryton/tryton/gui/window/view_form/screen/screen.py: Fix set_domain for new domain structure
2008-08-11 12:41 <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 ;) )
2008-08-11 13:37 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-11 13:40 -!- cedk_(n=ced@46.212-246-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2008-08-11 14:37 -!- kultviech(n=kultviec@p5B0D1E81.dip0.t-ipconnect.de) has joined #tryton
2008-08-11 14:40 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-11 16:09 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-11 16:09 <b52laptop> hi
2008-08-11 16:11 <Timitos> b52laptop: hi
2008-08-11 16:11 <b52laptop> Timitos, how is life going :D ?
2008-08-11 16:12 <Timitos> b52laptop: thanks i´m fine :-)
2008-08-11 16:12 <b52laptop> Timitos, ok , nice :)
2008-08-11 16:12 <Timitos> b52laptop: you missed cedk today for about 30 minutes
2008-08-11 16:13 <b52laptop> Timitos, yeah saw it #tinyerp , no problem , i'm not in a hurry ;d
2008-08-11 16:13 <Timitos> :-)
2008-08-11 16:32 -!- kultviech(n=kultviec@p5B0D1E81.dip0.t-ipconnect.de) has joined #tryton
2008-08-11 17:36 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-11 18:18 -!- kultviech(n=kultviec@p5B0D1E81.dip0.t-ipconnect.de) has joined #tryton
2008-08-11 19:40 -!- kultviec1(n=kultviec@p5B0D329A.dip0.t-ipconnect.de) has joined #tryton
2008-08-11 20:38 <udono> nicoe: did you decide in questions of link vs. keyword, relatorio:// or genshi://?
2008-08-11 20:38 <udono> nicoe: good evening
2008-08-11 20:38 <udono> :-)

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