IRC logs of #tryton for Monday, 2008-12-15 #tryton log beginning Mon Dec 15 00:00:01 CET 2008
CIA-53tryton: C?dric Krier <> default * 1111:f6e236eaf13d tryton/tryton/plugins/ Try to load only directory in plugins00:09
-!- vengfulsquirrel( has joined #tryton02:10
-!- gremly(n=gremly@ has joined #tryton02:50
-!- vengfulsquirrel( has joined #tryton04:24
-!- yangoon( has joined #tryton05:19
-!- udono( has joined #tryton06:40
-!- Timitos(n=Timitos@ has joined #tryton07:35
-!- nicoe( has joined #tryton07:38
-!- Cristi_an(n=Cristi@ has joined #tryton08:42
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:47
Cristi_anhi to all08:58
Cristi_an<Cristi_an> i had a question last night : is the administration module described somewhere ? (models,fields,models acces etc)08:58
udonoCristi_an: Hi08:59
CIA-53tryton: 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 ...09:00
Cristi_anudono, hi09:00
Cristi_anjust read some post you gava us as link09:00
Cristi_andespite it would be easier for me to just copy and paste and create a simple a developer i just can;t take all things granted09:01
Cristi_anthat is why i look for more information09:01
udonoCristi_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.09:01
Cristi_anwell it is a pitty not to have that but i understand,since docs means time...09:02
udonoCristi_an: best to look is
udonoCristi_an: and of course ask questions here or in the Forum09:03
Cristi_anthat is a very good staring point09:04
Cristi_anunfortunatelly i did nto discovered that myself...09:04
Cristi_anthx for the directions (tips)09:04
udonoCristi_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.09:05
Cristi_anno party is noit independedt09:06
Cristi_ancountry is09:06
udonoCristi_an: you have it also local in trytond/doc/09:06
Cristi_anparty depends on country...09:06
Cristi_ancountry is the lowest :)09:06
udonoCristi_an: yes, now country is a dependency, in the past, both modules where simple party.09:07
Cristi_ani see09:07
udonoCristi_an: anyway, I would suggest party module before country, because country is to simple and condensed to understand on a first try, I think.09:08
Cristi_anone more thing...09:09
udonoCristi_an: Country is out-sourced because of the huge dataset it provides, I think.09:09
Cristi_anwhen i define a new module....09:09
Cristi_anon clinet side09:09
Cristi_anthere is not code added09:09
Cristi_anonly on tryyond module09:09
Cristi_ani mean on server side09:09
CIA-53tryton: 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.09:10
udonoCristi_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.09:11
Cristi_anudono, nice archiotecture....i saw something similar on adempiere. (they define an application dictionary)09:14
udonoCristi_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 porcelain09:14
Cristi_anof course...09:14
Cristi_anudono, keep things simple09:14
-!- oversize( has joined #tryton09:27
-!- Timitos(n=Timitos@ has joined #tryton09:31
-!- Gedd( has joined #tryton09:39
vengfulsquirrelDoes 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 ?09:41
cedkvengfulsquirrel: don't well understand your needs09:42
vengfulsquirrelProduct A is made of product X but Product B is made of product X OR product Y09:49
Cristi_anwell that is called production module (at least in ro)09:50
cedkvengfulsquirrel: yes this needs a production module09:51
Cristi_anused by firms like bakery,furniture producerrs09:51
vengfulsquirrelweird, yeah I sell plants09:51
-!- marmu( has joined #tryton09:52
CIA-53tryton: C?dric Krier <> default * 1361:4fe5a06307ac trytond/trytond/res/ Add domain on user language for issue67409:52
CIA-53tryton: ced roundup * #674/Modules: Userside switching language doesn't work any longer: [chatting] I put a domain on language of user with changeset 4fe5a06307ac09:52
vengfulsquirrelWhere does one find the best-practices that would need to be encoded in such a module ?09:55
cedkvengfulsquirrel: so production is not an esay job, but first starting point may be to look at the OpenERP mrp module09:57
vengfulsquirrelYeah and that's all fair game ?09:58
Timitosvengfulsquirrel: 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.10:04
vengfulsquirrelhmm so don't look at it ? I'm still trying to sort out where ANYTHING is in launchpad10:05
cedkI think it can be a good starting point10:06
Timitosvengfulsquirrel: yes. it is a starting point. but you should be careful.10:08
Cristi_ana basic module shod have a recepy module where you may specify product x = material 1 +material 2 +material 3 ==> cost10:11
vengfulsquirrelDon'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 ?10:12
CIA-53tryton: C?dric Krier <> default * 1362:b0fe4d2f112e trytond/trytond/ Improve count in sql log10:12
CIA-53tryton: C?dric Krier <> default * 1363:9fcb9ecf4850 trytond/trytond/osv/ Don't handle translate fields as _classic_write10:12
Cristi_anthen based on the recepies to generate the production and what material were consumed10:13
vengfulsquirrelAre there any definitive publications about such things?  Seems like something like MRP processes would be pretty standardized in industry.10:13
cedkIt must have BOM but I think that the OpenERP model is not very good10:13
Cristi_ancedk, what is BOM ?10:14
cedkCristi_an: BOM = Bill of Material10:14
cedkvengfulsquirrel: but there is also MRPII10:15
CIA-53tryton: C?dric Krier <> default * 1364:d6bfbc4c0d6b trytond/trytond/osv/ Fix typo in changeset 9fcb9ecf485010:16
Cristi_ancedk, what is described there is not too overcomplicated and to engineered ?10:16
Cristi_anpeople needs simple things...well done10:16
Cristi_anso a bsic module maybe is welcomed ..with basic functions10:17
cedkCristi_an: i don't say that the first module needs to have all the functionnality but you must think about it when you design it10:18
udonovengfulsquirrel: 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.10:18
vengfulsquirreli think i have that10:18
vengfulsquirrelhold on10:18
vengfulsquirrelYes I definately have that10:19
vengfulsquirrelBut I obviuosly haven't done a great job of reading much of it10:21
vengfulsquirrelokay thanks guys, I'll re-read that a few times, look at the openerp mrp stuff and around wikipedia some more and be back tomorrow10:30
-!- Cristi_an__(n=Cristi@ has joined #tryton10:47
-!- sharkcz( has joined #tryton10:58
-!- Cristi__(n=Cristi@ has joined #tryton11:14
-!- bechamel(n=user@ has joined #tryton11:26
-!- rvalyi(i=542565ce@gateway/web/ajax/ has joined #tryton12:41
-!- cedric_b( has joined #tryton14:11
-!- ikks(n=igor@ has joined #tryton14:30
-!- rvalyi(i=542565ce@gateway/web/ajax/ has joined #tryton15:06
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton15:12
-!- marmu( has joined #tryton15:39
-!- udono( has joined #tryton15:41
-!- ikks(n=igor@ has joined #tryton16:16
udonohow did tryton identify a tryton database?16:23
udonothat is: Why not showing other databases?16:24
yangoonudono: user must have permissions to update/create tables etc.16:30
yangoonudono: this can rather simply be checked if he is owner16:31
yangoonudono: otherwise it is complicated to check for the correct permissions16:32
udonoyangoon: thanks. But that's not the uestion. I like to know how Tryton decides which is a valid database for it?16:33
yangoonit detects databases with owner of database user16:34
yangoondatabase user for trytond16:34
bechameludono, yangoon : look in line 12516:36
-!- sharkcz( has joined #tryton16:36
udonobechamel: yangoon, thanks. But strange
-!- ikks_(n=igor@ has joined #tryton17:09
-!- sharkcz( has joined #tryton17:10
-!- Timitos(n=Timitos@ has joined #tryton18:29
-!- Cristi_an(n=Cristi@ has joined #tryton18:38
-!- Cristi_an__(n=Cristi@ has joined #tryton18:45
-!- Cristi_an__(n=Cristi@ has joined #tryton18:49
-!- Cristi__(n=Cristi@ has joined #tryton19:06
Cristi__hi there.19:18
Cristi__again me :)19:18
Cristi__when a module is installed some "dictionary" table19:19
Cristi__are filled up with info related to that module ?19:20
Cristi__so the client build the ui based on that info ?19:20
-!- bechamel( has joined #tryton19:48
cedkCristi__: the  ui is generated by the client on the base of content of arch of ir.ui.view20:07
Cristi__but you may define custom one20:08
Cristi__for complicated scenarios ?20:09
udonoCristi__: If trytond is started, it initialises the /trytond/trytond/modules directory and all underlying directories. Trytod reads the 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 content20:12
Cristi__udono, thx ii see ...but i asked if i have like a custom layout or some fancy UI to create....?20:13
udonoCristi__: 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.20:17
Cristi__i see becaue what if i want to editable table ...?20:19
Cristi__a custom one created by me...20:19
Cristi__it's ok20:19
udonoCristi__: no problem20:19
Cristi__it is possible ?20:19
udonoCristi__: this widget is in tryton20:19
Cristi__i seeso i may use all widgets that trytom offer20:20
Cristi__i assume that cover all needs...20:20
udonoCristi__: yes, you can use them all. All what you see is defined in the views. All are public for all modules.20:21
Cristi__udono, what did you mean "With Tryton you get 'easy' customisation, but you pay with freedom in layout"20:21
Cristi__freedom in layout20:21
Cristi__is done automatically20:21
udonoCristi__: (all what is inside the main frame... the rest is client code)20:21
Cristi__that is what you said ?20:21
udonoYes with the tryton provided widgets you are (relative) free.20:23
Cristi__oki thx20:23
Cristi__gr8 that there is someone to my questions20:23
udonoCristi__: just study the different things you see and compare with the appropriate definition in the XML file.20:24
udonoX0d_of_N0d: are you there?20:24
Cristi__yes i started with party module as you said20:24
-!- vengfulsquirrel( has joined #tryton21:02
-!- carlos(n=carlos@ has joined #tryton21:31
-!- Gedd(n=ged@ has joined #tryton21:33
-!- nicoe( has joined #tryton22:12
CIA-53tryton: C?dric Krier <> default * 1293:c92e74bcd786 trytond/trytond/ (6 files in 3 dirs): Fix dead lock when reseting cache for issue67323:00
CIA-53tryton: C?dric Krier <> default * 1294:7773e867e8f0 trytond/trytond/ir/ Fix typo23:00
CIA-53tryton: C?dric Krier <> default * 1295:7aa2266c6606 trytond/trytond/ir/ Call add for each arguments of _get_sources23:00
CIA-53tryton: C?dric Krier <> default * 1296:0d80c8a3cb7d trytond/trytond/res/ Add domain on user language for issue67423:00
CIA-53tryton: C?dric Krier <> default * 1055:0ef2591dd815 tryton/tryton/gui/window/view_form/view/form_gtk/ Don't set model modified when adding record to dialog screen23:01
CIA-53tryton: C?dric Krier <> default * 1056:de28377a5f68 tryton/tryton/gui/window/ Remove set_size_request on dbcreate dialog23:01
CIA-53tryton: C?dric Krier <> default * 1057:badcf80d4e8b tryton/tryton/gui/window/view_form/model/ Fix get_state_attrs if return None for issue67223:01
CIA-53tryton: C?dric Krier <> default * 1058:990216e49bfe tryton/tryton/common/ Activate widget when processing commands in date_widget23:01
CIA-53tryton: C?dric Krier <> default * 1059:633dbd2ee5af tryton/tryton/plugins/ Try to load only directory in plugins23:01
CIA-53tryton: C?dric Krier <> default * 1060:cd294dd9ec49 tryton/tryton/ Add call to threads_init for debian bug #48189523:01
CIA-53tryton: C?dric Krier <> default * 1061:7f6ab44b3e3b tryton/tryton/ Disable threads_init on win3223:01
CIA-53tryton: * r382 /wiki/ Edited wiki page through web user interface.23:24
-!- Cristi_an(n=Cristi@ has joined #tryton23:32
Cristi_anyesterday rvalyi said :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 it23:51
Cristi_anfrom what i see tryton seems to be modular....23:52
Cristi_ansomething like eclipse...23:52
Cristi_anwhat was his point then ?23:52

Generated by 2.11.0 by Marius Gedminas - find it at!