IRC logs of #tryton for Monday, 2008-12-15

chat.freenode.net #tryton log beginning Mon Dec 15 00:00:01 CET 2008
2008-12-15 00:09 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1111:f6e236eaf13d tryton/tryton/plugins/__init__.py: Try to load only directory in plugins
2008-12-15 02:10 -!- vengfulsquirrel(n=ian@c-67-170-212-242.hsd1.ca.comcast.net) has joined #tryton
2008-12-15 02:50 -!- gremly(n=gremly@190.157.133.194) has joined #tryton
2008-12-15 04:24 -!- vengfulsquirrel(n=ian@c-67-170-212-242.hsd1.ca.comcast.net) has joined #tryton
2008-12-15 05:19 -!- yangoon(n=mathiasb@p549F5EB0.dip.t-dialin.net) has joined #tryton
2008-12-15 06:40 -!- udono(n=udono@dynamic-unidsl-85-197-16-94.westend.de) has joined #tryton
2008-12-15 07:35 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-15 07:38 -!- nicoe(n=nicoe@ip-80-236-223-83.dsl.scarlet.be) has joined #tryton
2008-12-15 08:42 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-15 08:47 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-12-15 08:54 <udono> http://www.openerp.com/forum/viewtopic.php?p=27739#27739
2008-12-15 08:58 <Cristi_an> hi to all
2008-12-15 08:58 <Cristi_an> <Cristi_an> i had a question last night : is the administration module described somewhere ? (models,fields,models acces etc)
2008-12-15 08:59 <udono> Cristi_an: Hi
2008-12-15 09:00 <CIA-53> tryton: ced roundup * #675/Exception: ('UserError', 'Invalid XML for View!'): [deferred] This is normal as the module account_statement must still be release for 1.0, so I didn't change it for the new view "id" until will re ...
2008-12-15 09:00 <Cristi_an> udono, hi
2008-12-15 09:00 <Cristi_an> just read some post you gava us as link
2008-12-15 09:01 <Cristi_an> despite it would be easier for me to just copy and paste and create a simple module...as a developer i just can;t take all things granted
2008-12-15 09:01 <Cristi_an> that is why i look for more information
2008-12-15 09:01 <udono> Cristi_an: no, its not described. Actually when we have described the admin menu, then we have described the whole framework... because many entries in the admin are details of the modules definitions.
2008-12-15 09:02 <Cristi_an> well it is a pitty not to have that but i understand,since docs means time...
2008-12-15 09:03 <udono> Cristi_an: best to look is http://www.tryton.org/doc/branches/1.0/trytond/doc/index.html
2008-12-15 09:03 <udono> Cristi_an: and of course ask questions here or in the Forum
2008-12-15 09:04 <Cristi_an> nice
2008-12-15 09:04 <Cristi_an> that is a very good staring point
2008-12-15 09:04 <Cristi_an> unfortunatelly i did nto discovered that myself...
2008-12-15 09:04 <Cristi_an> thx for the directions (tips)
2008-12-15 09:05 <udono> Cristi_an: I started with printing out the listings of a complete module, all *.py and *.xml. It was Party module in my case, because its independent to other modules and quite simple.
2008-12-15 09:06 <Cristi_an> no party is noit independedt
2008-12-15 09:06 <Cristi_an> country is
2008-12-15 09:06 <udono> Cristi_an: you have it also local in trytond/doc/
2008-12-15 09:06 <Cristi_an> party depends on country...
2008-12-15 09:06 <Cristi_an> country is the lowest :)
2008-12-15 09:07 <udono> Cristi_an: yes, now country is a dependency, in the past, both modules where simple party.
2008-12-15 09:07 <Cristi_an> i see
2008-12-15 09:08 <udono> Cristi_an: anyway, I would suggest party module before country, because country is to simple and condensed to understand on a first try, I think.
2008-12-15 09:09 <Cristi_an> oki
2008-12-15 09:09 <Cristi_an> one more thing...
2008-12-15 09:09 <udono> Cristi_an: Country is out-sourced because of the huge dataset it provides, I think.
2008-12-15 09:09 <Cristi_an> when i define a new module....
2008-12-15 09:09 <Cristi_an> on clinet side
2008-12-15 09:09 <Cristi_an> there is not code added
2008-12-15 09:09 <Cristi_an> only on tryyond module
2008-12-15 09:09 <Cristi_an> i mean on server side
2008-12-15 09:10 <Cristi_an> ?
2008-12-15 09:10 <CIA-53> tryton: ced roundup * #674/Modules: Userside switching language doesn't work any longer: [resolved] This is the normal behavior as you must setup the language as translatable and update the modules.
2008-12-15 09:11 <udono> Cristi_an: yes, exactly. The module defines and controls the data representation in database (over the ORM framework or simply trytond) and in the client views.
2008-12-15 09:14 <Cristi_an> udono, nice archiotecture....i saw something similar on adempiere. (they define an application dictionary)
2008-12-15 09:14 <udono> Cristi_an: best start with own module developing is to write an independend module. Not to inherit/depending to other modules. So you have the security to do not break the porcelain
2008-12-15 09:14 <Cristi_an> of course...
2008-12-15 09:14 <Cristi_an> udono, keep things simple
2008-12-15 09:27 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2008-12-15 09:31 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-15 09:39 -!- Gedd(n=ged@ip-80-236-223-83.dsl.scarlet.be) has joined #tryton
2008-12-15 09:41 <vengfulsquirrel> Does the functionality currently exist in any of the modules to have a product whose inventory depends on other products' inventories? Or would I need something like a Bill Of Materials to do that ?
2008-12-15 09:42 <cedk> vengfulsquirrel: don't well understand your needs
2008-12-15 09:49 <vengfulsquirrel> Product A is made of product X but Product B is made of product X OR product Y
2008-12-15 09:50 <Cristi_an> well that is called production module (at least in ro)
2008-12-15 09:51 <cedk> vengfulsquirrel: yes this needs a production module
2008-12-15 09:51 <Cristi_an> used by firms like bakery,furniture producerrs
2008-12-15 09:51 <vengfulsquirrel> weird, yeah I sell plants
2008-12-15 09:52 -!- marmu(n=marmu@p54AD6371.dip.t-dialin.net) has joined #tryton
2008-12-15 09:52 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1361:4fe5a06307ac trytond/trytond/res/user.py: Add domain on user language for issue674
2008-12-15 09:52 <CIA-53> tryton: ced roundup * #674/Modules: Userside switching language doesn't work any longer: [chatting] I put a domain on language of user with changeset 4fe5a06307ac
2008-12-15 09:55 <vengfulsquirrel> Where does one find the best-practices that would need to be encoded in such a module ?
2008-12-15 09:57 <cedk> vengfulsquirrel: so production is not an esay job, but first starting point may be to look at the OpenERP mrp module
2008-12-15 09:58 <vengfulsquirrel> Yeah and that's all fair game ?
2008-12-15 10:04 <Timitos> vengfulsquirrel: as the openerp mrp module is not optimal it would be interesting to start a concept for a new module. this should be discussed by the community. so i think we can try to create a new and better mrp module that provides basic functionality and can be easily extended.
2008-12-15 10:05 <vengfulsquirrel> hmm so don't look at it ? I'm still trying to sort out where ANYTHING is in launchpad
2008-12-15 10:06 <cedk> I think it can be a good starting point
2008-12-15 10:08 <Timitos> vengfulsquirrel: yes. it is a starting point. but you should be careful.
2008-12-15 10:11 <Cristi_an> a basic module shod have a recepy module where you may specify product x = material 1 +material 2 +material 3 ==> cost
2008-12-15 10:12 <vengfulsquirrel> Don't get too near the launchpad ? Yeah I guess if I looked at it and then we just took a bunch of user complaints about it(or the design shortcomings of it) and then came out with a design taking both of those into account, that would be best right ?
2008-12-15 10:12 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1362:b0fe4d2f112e trytond/trytond/sql_db.py: Improve count in sql log
2008-12-15 10:12 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1363:9fcb9ecf4850 trytond/trytond/osv/orm.py: Don't handle translate fields as _classic_write
2008-12-15 10:13 <Cristi_an> then based on the recepies to generate the production and what material were consumed
2008-12-15 10:13 <vengfulsquirrel> Are there any definitive publications about such things? Seems like something like MRP processes would be pretty standardized in industry.
2008-12-15 10:13 <cedk> It must have BOM but I think that the OpenERP model is not very good
2008-12-15 10:14 <Cristi_an> cedk, what is BOM ?
2008-12-15 10:14 <cedk> vengfulsquirrel: http://en.wikipedia.org/wiki/Material_Requirements_Planning
2008-12-15 10:14 <cedk> Cristi_an: BOM = Bill of Material
2008-12-15 10:15 <Cristi_an> indeed
2008-12-15 10:15 <Cristi_an> thx
2008-12-15 10:15 <cedk> vengfulsquirrel: but there is also MRPII
2008-12-15 10:16 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1364:d6bfbc4c0d6b trytond/trytond/osv/orm.py: Fix typo in changeset 9fcb9ecf4850
2008-12-15 10:16 <Cristi_an> cedk, what is described there is not too overcomplicated and to engineered ?
2008-12-15 10:16 <Cristi_an> people needs simple things...well done
2008-12-15 10:17 <Cristi_an> so a bsic module maybe is welcomed ..with basic functions
2008-12-15 10:18 <cedk> Cristi_an: i don't say that the first module needs to have all the functionnality but you must think about it when you design it
2008-12-15 10:18 <Cristi_an> agree
2008-12-15 10:18 <udono> vengfulsquirrel: A generic production datamodel is described in Silverston, Len: "The Data Model Resource Book. Revised Edition. Volume 2. A Library of Universal Data Models by Industry Types.", Wiley Computer Publishing, New York..., 2001. PP 33-53.
2008-12-15 10:18 <vengfulsquirrel> hmm
2008-12-15 10:18 <vengfulsquirrel> i think i have that
2008-12-15 10:18 <vengfulsquirrel> hold on
2008-12-15 10:19 <vengfulsquirrel> Yes I definately have that
2008-12-15 10:21 <vengfulsquirrel> But I obviuosly haven't done a great job of reading much of it
2008-12-15 10:30 <vengfulsquirrel> okay thanks guys, I'll re-read that a few times, look at the openerp mrp stuff and around wikipedia some more and be back tomorrow
2008-12-15 10:47 -!- Cristi_an__(n=Cristi@91.191.130.196) has joined #tryton
2008-12-15 10:58 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2008-12-15 11:14 -!- Cristi__(n=Cristi@89.120.211.206) has joined #tryton
2008-12-15 11:26 -!- bechamel(n=user@85.201.76.132) has joined #tryton
2008-12-15 12:41 -!- rvalyi(i=542565ce@gateway/web/ajax/mibbit.com/x-adfa47ecbffae48b) has joined #tryton
2008-12-15 13:06 <udono> http://forum.intuxication.org/viewtopic.php?pid=5
2008-12-15 14:11 -!- cedric_b(n=cedric@ANantes-158-1-133-153.w90-49.abo.wanadoo.fr) has joined #tryton
2008-12-15 14:30 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2008-12-15 15:06 -!- rvalyi(i=542565ce@gateway/web/ajax/mibbit.com/x-95e13748015d2f1a) has joined #tryton
2008-12-15 15:12 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2008-12-15 15:39 -!- marmu(n=marmu@p54AD6371.dip.t-dialin.net) has joined #tryton
2008-12-15 15:41 -!- udono(n=udono@dynamic-unidsl-85-197-16-94.westend.de) has joined #tryton
2008-12-15 16:16 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2008-12-15 16:23 <udono> how did tryton identify a tryton database?
2008-12-15 16:24 <udono> that is: Why not showing other databases?
2008-12-15 16:30 <yangoon> udono: user must have permissions to update/create tables etc.
2008-12-15 16:31 <yangoon> udono: this can rather simply be checked if he is owner
2008-12-15 16:32 <yangoon> udono: otherwise it is complicated to check for the correct permissions
2008-12-15 16:33 <udono> yangoon: thanks. But that's not the uestion. I like to know how Tryton decides which is a valid database for it?
2008-12-15 16:34 <yangoon> it detects databases with owner of database user
2008-12-15 16:34 <yangoon> database user for trytond
2008-12-15 16:34 <yangoon> udono:
2008-12-15 16:36 <bechamel> udono, yangoon : look in sql_db.py line 125
2008-12-15 16:36 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2008-12-15 16:40 <yangoon> udono: https://bugs.tryton.org/roundup/issue171
2008-12-15 16:46 <udono> bechamel: yangoon, thanks. But strange https://bugs.tryton.org/roundup/issue674
2008-12-15 17:09 -!- ikks_(n=igor@201.244.188.98) has joined #tryton
2008-12-15 17:10 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2008-12-15 18:29 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-15 18:38 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-15 18:45 -!- Cristi_an__(n=Cristi@91.191.130.196) has joined #tryton
2008-12-15 18:49 -!- Cristi_an__(n=Cristi@91.191.130.196) has joined #tryton
2008-12-15 19:06 -!- Cristi__(n=Cristi@89.120.211.206) has joined #tryton
2008-12-15 19:18 <Cristi__> hi there.
2008-12-15 19:18 <Cristi__> again me :)
2008-12-15 19:19 <Cristi__> when a module is installed some "dictionary" table
2008-12-15 19:20 <Cristi__> are filled up with info related to that module ?
2008-12-15 19:20 <Cristi__> so the client build the ui based on that info ?
2008-12-15 19:48 -!- bechamel(n=user@host-212-68-232-114.brutele.be) has joined #tryton
2008-12-15 20:07 <cedk> Cristi__: the ui is generated by the client on the base of content of arch of ir.ui.view
2008-12-15 20:08 <Cristi__> but you may define custom one
2008-12-15 20:09 <Cristi__> for complicated scenarios ?
2008-12-15 20:12 <udono> Cristi__: If trytond is started, it initialises the /trytond/trytond/modules directory and all underlying directories. Trytod reads the __trytond__.py inside each module and create an entry in the table ir_module_module (that is the dictionary table you mean). All modules are in a state [uninstalled, installed, to upgrade, to remove]. If a module is installed, the model and the views are created and copied ito the database. The content
2008-12-15 20:13 <Cristi__> udono, thx ii see ...but i asked if i have like a custom layout or some fancy UI to create....?
2008-12-15 20:17 <udono> Cristi__: what are custom ones? You cannot use the complete widgetset of gtk in Tryton, only some higher level widgets. If you meant that? With Tryton you get 'easy' customisation, but you pay with freedom in layout. The UI design in Tryton is shortened in comparison to a full widgetset like QT or GTK.
2008-12-15 20:19 <Cristi__> i see becaue what if i want to use...an editable table ...?
2008-12-15 20:19 <Cristi__> a custom one created by me...
2008-12-15 20:19 <Cristi__> it's ok
2008-12-15 20:19 <udono> Cristi__: no problem
2008-12-15 20:19 <Cristi__> it is possible ?
2008-12-15 20:19 <udono> Cristi__: this widget is in tryton
2008-12-15 20:20 <Cristi__> i seeso i may use all widgets that trytom offer
2008-12-15 20:20 <Cristi__> i assume that cover all needs...
2008-12-15 20:20 <Cristi__> tree,tables,etc...
2008-12-15 20:21 <udono> Cristi__: yes, you can use them all. All what you see is defined in the views. All are public for all modules.
2008-12-15 20:21 <Cristi__> udono, what did you mean "With Tryton you get 'easy' customisation, but you pay with freedom in layout"
2008-12-15 20:21 <Cristi__> freedom in layout
2008-12-15 20:21 <Cristi__> is done automatically
2008-12-15 20:21 <Cristi__> ?
2008-12-15 20:21 <udono> Cristi__: (all what is inside the main frame... the rest is client code)
2008-12-15 20:21 <Cristi__> that is what you said ?
2008-12-15 20:23 <udono> Yes with the tryton provided widgets you are (relative) free.
2008-12-15 20:23 <Cristi__> oki thx
2008-12-15 20:23 <Cristi__> gr8 that there is someone to respond....to my questions
2008-12-15 20:24 <udono> Cristi__: just study the different things you see and compare with the appropriate definition in the XML file.
2008-12-15 20:24 <udono> X0d_of_N0d: are you there?
2008-12-15 20:24 <Cristi__> yes i started with party module as you said
2008-12-15 20:24 <Cristi__> yesterday
2008-12-15 21:02 -!- vengfulsquirrel(n=ian@c-67-170-212-242.hsd1.ca.comcast.net) has joined #tryton
2008-12-15 21:31 -!- carlos(n=carlos@77.224.191.31) has joined #tryton
2008-12-15 21:33 -!- Gedd(n=ged@77.109.116.92) has joined #tryton
2008-12-15 22:12 -!- nicoe(n=nicoe@ip-80-236-223-83.dsl.scarlet.be) has joined #tryton
2008-12-15 23:00 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1293:c92e74bcd786 trytond/trytond/ (6 files in 3 dirs): Fix dead lock when reseting cache for issue673
2008-12-15 23:00 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1294:7773e867e8f0 trytond/trytond/ir/translation.py: Fix typo
2008-12-15 23:00 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1295:7aa2266c6606 trytond/trytond/ir/translation.py: Call add for each arguments of _get_sources
2008-12-15 23:00 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1296:0d80c8a3cb7d trytond/trytond/res/user.py: Add domain on user language for issue674
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1055:0ef2591dd815 tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py: Don't set model modified when adding record to dialog screen
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1056:de28377a5f68 tryton/tryton/gui/window/dbcreate.py: Remove set_size_request on dbcreate dialog
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1057:badcf80d4e8b tryton/tryton/gui/window/view_form/model/field.py: Fix get_state_attrs if return None for issue672
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1058:990216e49bfe tryton/tryton/common/date_widget.py: Activate widget when processing commands in date_widget
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1059:633dbd2ee5af tryton/tryton/plugins/__init__.py: Try to load only directory in plugins
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1060:cd294dd9ec49 tryton/tryton/client.py: Add call to threads_init for debian bug #481895
2008-12-15 23:01 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1061:7f6ab44b3e3b tryton/tryton/client.py: Disable threads_init on win32
2008-12-15 23:24 <CIA-53> tryton: josh.dukes@microvu.com * r382 /wiki/TrytonLDAPIntegration.wiki: Edited wiki page through web user interface.
2008-12-15 23:32 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-15 23:51 <Cristi_an> yesterday rvalyi said :
2008-12-15 23:51 <Cristi_an> mean, to manage to build a full blown generic ERP, you have no choice be also master a modular plateform, like Eclispe. Else it's not modular, it's monolithic and hererogene like SAP, but that second option means a LOT of money to maintain it
2008-12-15 23:52 <Cristi_an> from what i see tryton seems to be modular....
2008-12-15 23:52 <Cristi_an> something like eclipse...
2008-12-15 23:52 <Cristi_an> what was his point then ?

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