IRC logs of #tryton for Wednesday, 2009-01-28 #tryton log beginning Wed Jan 28 00:00:01 CET 2009
X0d_of_N0dthe test server button seems to be kind of broken... I'm gonna look at tha for a sec00:02
udonoX0d_of_N0d: what is broken there?00:03
X0d_of_N0dI didn't think to test it until after I modified the code00:05
X0d_of_N0dI made some more chagnes, I'm going to reload and try everything one last time00:06
X0d_of_N0dhey, mind if I strip out the _ldap_state stuff?00:10
X0d_of_N0dmaybe only have it under resource00:11
udonoX0d_of_N0d: don't know. Not to much in one commit... cos Iam hardly working, too00:16
udonoX0d_of_N0d: and we need to merge it all....00:16
X0d_of_N0dI committed00:17
X0d_of_N0dhum... you think it's better to make many small commits?00:17
udonoyes, because of later merging when we work together on the same files...00:18
udonoBut for now its ok, I merge my parts into00:19
X0d_of_N0dI'm used to working on seperate files, so I usually do big commits. I'll try to make smaller commits00:19
udonoX0d_of_N0d: you work with hg or svn like this?00:21
X0d_of_N0dwe have multiple people working on a repo, but it's all our own stuff, so no need to merge00:21
X0d_of_N0dudono: did the test button work for you? I just did an fupdate a few min ago00:24
udonoYes, the testbutton works for me00:25
udonoX0d_of_N0d: maybe you need to create a new database. Because of to many model changes it is broken...00:26
X0d_of_N0dI'll try that really quickly00:27
X0d_of_N0dKeyError: 'host'00:29
X0d_of_N0ddoesn't look like it's able to recover "server" at all00:29
vengfulsquirrelcedk: I want to add those changes to stock, should I just open a bug and then send patches until you approve of them ?00:36
cedkvengfulsquirrel: yes, you could00:36
vengfulsquirrelOkay just a quick overview, I've added the type view and I've made a new model called Area Inventory and Area Inventory Line have a location on them that must be of type storage, is that what you expected?00:37
cedkvengfulsquirrel: ok for the view type but not for the rest00:38
cedkvengfulsquirrel: I would prefer a tweak of the inventory model00:38
X0d_of_N0dudono: I pushed the changes00:38
X0d_of_N0dudono: see if you have the same problem00:39
udonoX0d_of_N0d: I tested again with your changes, everything works fine for me with the action...00:39
X0d_of_N0dudono: what rev ais your tryton00:39
udonoX0d_of_N0d: Not the most new one...00:39
udonoX0d_of_N0d: I update it all00:39
X0d_of_N0dhg tag00:41
X0d_of_N0derr, can you tell me the output of 'hg tag'?00:41
cedkvengfulsquirrel: as I said, I think it will be better to modify in the base module the inventory model00:42
X0d_of_N0dhg ip00:42
udonochangeset:   1494:6a2fa902f06d00:42
udonotag:         tip00:42
udonouser:        Bertrand Chenal <>00:42
udonodate:        Tue Jan 27 18:15:20 2009 +010000:42
udonosummary:     Added drop_column method on table_handler class00:42
X0d_of_N0dyou just updated?00:43
udonoX0d_of_N0d: yes00:43
X0d_of_N0dyou tried it again?00:43
vengfulsquirrelcedk: Okay, well I was thinking that Inventory's location can be View or Storage and Complete Lines would fill the lines with all locations that are the inventory's location(if its storage) or any of its descendants that are storage.00:44
cedkvengfulsquirrel: the base module will skeep is current behavior00:46
cedkvengfulsquirrel: the goal is to allow better extention with other modules00:46
udonoX0d_of_N0d: yes, it works:
vengfulsquirrelYeah okay I'm confused by "the base module will keep is current behavior" and "I think it will be better to modify in the base module the inventory model".00:49
udonoX0d_of_N0d: I found the error: You need to fill in a server connection and save it. After this you can use the action00:52
udonoX0d_of_N0d: and you need to connect the server with a resource. I did not catch the errors on empty fields...00:55
vengfulsquirrelcedk: Well I still don't understand what you mean by tweaking it, do you mean modifying stock.inventory and stock.inventory.line or did you mean something else ?01:37
cedkvengfulsquirrel: I mean modify it to be allow to write a module for your needs01:39
vengfulsquirrelcedk: Hmm yeah I'd have to drop that sql constraint and a migration query would have to copy the inventory's location into each of the inventory's lines.01:41
X0d_of_N0dudono: it seems that it would be better to test everything *before* it gets saved....01:42
cedkvengfulsquirrel: I don't know yet what is the best way01:42
udonoX0d_of_N0d: yes, I just wanted to show you how to use the fields values.01:43
cedkvengfulsquirrel: I think more about a function field on the inventory line that will give the location01:43
cedkvengfulsquirrel: I go to spleep01:45
udonoX0d_of_N0d: Now Iam working on the view definitions and the list views...01:45
vengfulsquirrelcedk: Gn01:45
X0d_of_N0dudono: ok, cool01:45
X0d_of_N0dudono: so I should be able to get variables out of the current view, as is, rather than the saved db stuff when you're done?01:47
udonoX0d_of_N0d: hmm.I think Its not possible, since we have serversite persistence, not clientsite...01:48
X0d_of_N0dit's not possible to pull variables out of a view??01:49
X0d_of_N0ddamn, huh01:49
X0d_of_N0dI understand why, but damn that sucks01:50
udonoX0d_of_N0d: I don't know... maybe its possible... bechamel and cedk are away, I check this tomorrow01:50
X0d_of_N0dudono: what about saving when the "test" button is clicked?01:51
X0d_of_N0dif it's not possible to get vars from a view01:51
udonoX0d_of_N0d: yes, this should work.01:51
udonoBTW actions are new for me, too. I have them used just one time before...01:52
X0d_of_N0dI've got to go deal with some stupid licensing issue, catch you in a bit?01:53
udonoyes, np01:53
udonoI am on the views01:54
udonoX0d_of_N0d: got some time?02:52
X0d_of_N0dyeah, I got the thing handled...02:52
udonoX0d_of_N0d: views are ready now. I just need to know which fields should be searchable...02:53
X0d_of_N0dI think only host and bind_dn should be searchable02:54
X0d_of_N0dfor server02:55
X0d_of_N0dthen name, search_base, and filter for resource...02:55
udonoX0d_of_N0d: ok02:58
X0d_of_N0dudono: cool, tell me when you push the changeset03:01
udonoX0d_of_N0d: srry, phone... Just some tests, then I  push03:04
-!- yangoon( has joined #tryton03:10
udonoX0d_of_N0d: pushed03:10
udonoX0d_of_N0d: Now I take a look to the action...03:11
X0d_of_N0dthe views look pretty good03:13
X0d_of_N0dI think when an anon bind is saved we should dump "anonymous" into the bind dn and drop the "anonymous bind" checkbox from the "Ldap Server" search view03:14
X0d_of_N0dsound cool?03:14
udonoX0d_of_N0d: Yes its better now. But the forms need overwork, too. But this I would move to the End03:14
udonoannon bind I like more with readonly as with hidden fields for  bind dn and password...03:16
X0d_of_N0dudono: yes03:16
udonoX0d_of_N0d: you or me change it?03:17
X0d_of_N0dyou can change it, I'm getting ready to go03:17
X0d_of_N0dit's like 06:00 where you're at, huh?03:18
udonowe have 03:0003:18
X0d_of_N0doh right, added instead of subtracted03:18
X0d_of_N0dI was gonna say....damn03:18
udonoX0d_of_N0d: :-)03:18
X0d_of_N0dI'm still a little unsure about searchbase and filter... I know it would be most likely shared between servers in a resource...03:20
X0d_of_N0dbut it should be possible to detect the searchbase on connection, so it should be possible to add a button to detect the searchbase if we were to move searchbase to server03:21
X0d_of_N0dand use resource *only* for failover stuff03:21
X0d_of_N0dudono: what do you think?03:22
udonoHmm good question. Iam absolutely not experienced in LDAP...03:23
X0d_of_N0dudono: I'll think about it... would it be cool if I just changed it if I decide to move stuff?03:23
X0d_of_N0dI'd change it tomorrow I think03:23
udonoyeah, ok03:24
X0d_of_N0dalright, I'll play with that a bit I think.03:25
udonoX0d_of_N0d: yes, absolutly. Tryton helps on prototyping and experiments... so just change what you like. We can rollback everything03:26
X0d_of_N0dudono: cool...03:26
X0d_of_N0dudono: so do you know off the top of your head how to make the "test" button also save?03:27
udonoI need to talk to ced and bechamel.03:27
X0d_of_N0dok, cool03:27
X0d_of_N0dI'll get with you tomorrow and see what we've got.03:28
udonoBut I will check this before you awake ;-)03:28
X0d_of_N0dI should be able to code the button from there, then we can start working on the ldap_user module03:28
udonoX0d_of_N0d: yeah!03:29
X0d_of_N0dcool, catch you tomorrow03:29
udonoX0d_of_N0d: yes, see you03:30
-!- gremly(n=oscar@ has joined #tryton04:02
-!- vengfulsquirrel( has left #tryton05:06
-!- yangoon( has joined #tryton05:20
-!- Timitos(n=Timitos@ has joined #tryton07:36
-!- sharkcz( has joined #tryton07:52
-!- saxa( has joined #tryton08:47
-!- vengfulsquirrel( has joined #tryton09:04
-!- sharkcz( has joined #tryton09:06
-!- carlos( has joined #tryton09:09
-!- Gedd( has joined #tryton09:15
-!- carlos_( has joined #tryton09:33
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:34
-!- bechamel(n=user@ has joined #tryton10:35
-!- ikks(i=igor@ has joined #tryton10:56
-!- carlos( has joined #tryton11:26
cedkudono: I don't think it will be easy11:39
cedkudono: faces is written in wx11:39
udonocedk: yes, but they have some very nice concepts11:40
udonobut you are right, the widgets will be hard to move to gtk.11:41
cedkudono: what is the nice concepts?11:42
udonocedk: I evaluated the software just for a day... they are maximum flexible while using Python class definitions for creating Projects. But they have very interesting concepts to much to repeat:
udonoA general dive into gives
udonoBut the Project seems to be without a leader.11:49
cedkudono: so you must learn Python to use the software11:50
udonocedk: They have a graphical builder for small projects, too. Anyway the used Python is on a high level: This python you need to know:
udonoHere is an example for a Python use: As you see, the Python part can be easyly parametrized.11:56
cedkudono: I think the paradigm is very different from OpenERP or Tryton11:57
udonocedk: Yes, you may right11:57
ikksIf you are looking for a management tool, maybe could be evaluated11:58
ikksIs really, really powerful11:58
cedkikks: it looks like faces11:59
cedkikks: with better GUI11:59
ikksit's written in C, and it generates html12:00
ikksyou can manage people with "skills", some more productive than others12:00
bechamelusing code to define tasks is very weird12:02
cedkbechamel: yes, not very user friendly12:03
ikksyep, an UI that have that many options is really boring to be coded though12:04
udonoikks: taskjuggler looks very good, too.12:05
cedkikks: not sure, because what I see is that task has always the same parameters12:06
ikksI'm not able to find the development tree of faces12:08
ikkstaskjuggler is using git, looks more healthy to me.12:09
ikksThe last published news from faces dates to jan 200812:09
cedkI think the missing point for Tryton is the Gantt graph and the edition in tree view12:11
udonoikks: but this is already a fork of faces...12:11
ikksin taskjuggler the gantt is rearranged automatically12:12
ikksBut usually people wants to do it manually :P12:12
cedkikks: yes, but in fact do it manually is not a good practice12:13
ikksACTION agrees12:14
cedkikks: because this depends of the task dependencies12:14
ikkson taskjuggler you define the constrains and it calculates all...12:14
cedkikks: but what can be good is to be able to change the dependencies and the duration in the graph12:14
ikksThere is some kind of integration with python already
CIA-10tryton: C?dric Krier <> default * 373:ede8f99d601d account/tests/ Fix unittest for new tests module12:37
CIA-10tryton: C?dric Krier <> default * 122:6bcac07827c0 company/tests/ Fix unittest for new tests module12:37
CIA-10tryton: C?dric Krier <> default * 230:43e6c1e7d7f4 party/tests/ Fix unittest for new tests module12:37
CIA-10tryton: C?dric Krier <> default * 1495:f4c94afd1078 trytond/trytond/osv/
CIA-10tryton: Fix Modified Preorder Tree Traversal12:38
CIA-10tryton: - _update_tree works if only one record has changed12:38
CIA-10tryton: - can not use child_number in update but instead old_right - old_left12:38
CIA-10tryton: - set old_left if the same than old_right12:38
CIA-10tryton: - pre-select ids before update to prevent collision12:38
CIA-10tryton: C?dric Krier <> default * 1496:aff175a58ae3 trytond/trytond/ (7 files in 3 dirs): Add tests module and tests for Modified Preorder Tree Traversal12:38
CIA-10tryton: C?dric Krier <> default * 1497:316a229834d6 trytond/: merge12:38
CIA-10tryton: C?dric Krier <> default * 1324:3f0b9b3ffe39 trytond/trytond/osv/ Handle join on the same table in order_calc12:45
CIA-10tryton: C?dric Krier <> default * 1325:498cfcd51faf trytond/trytond/ir/ Use root user to delete, create property in set function for issue75412:45
CIA-10tryton: C?dric Krier <> default * 1326:4797552354e3 trytond/trytond/osv/ Fix order for translation that are empty12:45
CIA-10tryton: C?dric Krier <> default * 1327:2844fe8c0975 trytond/trytond/osv/ Add id in order to select views12:45
CIA-10tryton: C?dric Krier <> default * 104:bede23c6c0a8 company/ Use root user to write property in set function for issue75412:46
CIA-10tryton: C?dric Krier <> default * 393:ea4ecf2cc2c8 stock/ Add on_change_uom to handle unit_price and don't round unit_price when calling currency.compute12:47
CIA-10tryton: C?dric Krier <> default * 394:1036334bb50c stock/
CIA-10tryton: Fix assign_try to work on all child locations12:47
CIA-10tryton: Use copy in assign_try to be more generic12:47
CIA-10tryton: C?dric Krier <> default * 395:b80db2853159 stock/product.xml: Add priority to tree view of stock.location for product stock for issue75512:47
CIA-10tryton: C?dric Krier <> default * 50:d5bb2b8292eb currency/ Add missing COPYRIGHT and LICENSE12:47
CIA-10tryton: C?dric Krier <> default * 1074:81653311a205 tryton/tryton/gui/window/view_form/view/ Improve on_get_path if iter not in models for issue75112:48
CIA-10tryton: C?dric Krier <> default * 458:199447653ffe stock/tests/ Fix unittest for new tests module12:50
CIA-10tryton: C?dric Krier <> default * 459:b9aec44e49a4 stock/: merge12:50
CIA-10tryton: C?dric Krier <> default * 1498:62f8640a1f21 trytond/trytond/ir/module/module.xml: Hide tests module in module view12:57
Timitoscarlos: did you find the problem with your account chart?12:59
carlosTimitos: I found one of them, the one that was raised when the module is installed in a fresh database13:01
carlosTimitos: It was of the kind 'view' and with a type assigned and seems like that was causing the problem when the module is activated13:02
carloshowever, I think there is something else, but I didn't have time to work on it13:02
carlos'it was of the kind...' -> An account13:02
Timitoscarlos: i saw that you have 3 trees of account types in the templates. you need to put them together to one tree with another top level parent i think.13:04
Timitoscarlos: and put the 'lost and found' kind as a child to this too.13:04
carlosI removed the lost and found and commented out the accounts I need to check13:06
carlosas you suggested to me13:06
carlosTimitos: anyway, before I started getting the error message, I already had 2 trees of account types and it worked without problems13:07
carlosor are you suggesting to do it so it's a cleaner way to organise it?13:07
-!- Gedd( has joined #tryton13:09
Timitoscarlos: first it would be cleaner and the other point is that the 'lost and found' type is not created when the wizard is used.13:12
-!- sharkcz( has joined #tryton13:30
CIA-10tryton: C?dric Krier <> default * 1499:00e64b0a9b0c trytond/trytond/osv/ Add clause for res_id = 0 in order for ir.model.*14:11
CIA-10tryton: C?dric Krier <> default * 1500:6a0ff50a8bcf trytond/ (CHANGELOG trytond/osv/ Search on translated field will search only on translated value14:11
-!- enlightx( has joined #tryton14:20
-!- udono( has left #tryton14:22
-!- carlos( has joined #tryton14:28
CIA-10tryton: Bertrand Chenal <> default * 460:10d7bfebcc00 stock/packing.xml: Fix internal packing menuitems order14:42
CIA-10tryton: Bertrand Chenal <> default * 461:e1e21dcfce01 stock/ ( packing.xml): Removed unused customer_location on customer return packing14:42
CIA-10tryton: Bertrand Chenal <> default * 462:1f1820610661 stock/ ( packing.xml): Added wizard to create customer return packing14:42
CIA-10tryton: Bertrand Chenal <> default * 463:58e85cb772db stock/: Merge14:42
-!- ikks(n=igor@ has joined #tryton14:42
-!- carlos( has joined #tryton15:08
CIA-10tryton: Bertrand Chenal <> default * 464:6d85f9435395 stock/ ( tests/ Handle several packings for return packing creation15:10
CIA-10tryton: Bertrand Chenal <> default * 464:3ce3afffca6e stock/ Handle several packings for return packing creation15:21
-!- ikks(n=igor@ has joined #tryton15:49
CIA-10tryton: C?dric Krier <> default * 1501:1f975ec4f3e4 trytond/trytond/osv/ Don't loop on id in delete for _update_tree because _rebuild_tree will be called many times.16:00
-!- juanfer(n=juanfer@ has joined #tryton16:01
CIA-10tryton: Bertrand Chenal <> default * 465:70994e8856e1 stock/CHANGELOG: Update changelog for new return packings16:28
CIA-10tryton: C?dric Krier <> default * 466:d31bc62011f6 stock/ Add missing default_unit_price_required on move16:52
CIA-10tryton: C?dric Krier <> default * 467:84c01f5c1afc stock/: merge16:52
-!- carlos( has joined #tryton17:10
-!- ikks_(n=igor@ has joined #tryton17:17
-!- mmarshall( has joined #tryton17:52
-!- udono( has joined #tryton17:57
-!- mmarshall( has joined #tryton18:04
CIA-10tryton: matb roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: [new] Customer Packing with 10 units, 5 on stock. Wizard comes up, 5 cannot be assigned, quitting. Result is correct with one packing with 5 assig ...19:18
CIA-10tryton: C?dric Krier <> default * 1170:99ed0c810f7b tryton/tryton/gui/window/ Set windows centered and don't show it later19:20
CIA-10tryton: C?dric Krier <> default * 1171:bc0b6221db68 tryton/tryton/wizard/ Set wizard dialog center on parent19:20
CIA-10tryton: C?dric Krier <> default * 1502:524e62395abd trytond/trytond/res/user.xml: Remove old comment in view19:21
CIA-10tryton: C?dric Krier <> default * 1503:76a8a6d5aa87 trytond/ (TODO trytond/res/ trytond/res/user.xml): Use real view in get_preferences_fields_view of res.user19:21
CIA-10tryton: C?dric Krier <> default * 123:ae94cfb09582 company/ ( company.xml): Use real view in get_preferences_fields_view of res.user19:21
CIA-10tryton: ced roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: [resolved] Because all the moves are not assigned.19:22
CIA-10tryton: ced roundup * #760/View Location Type: [chatting] This is not enough, you must add domain everywhere location are used and where a view location can not be used. And a check when changi ...19:24
CIA-10tryton: matb roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: [chatting] How should the already assigned products be prepared for a partial delivery?19:32
-!- vengfulsquirrel( has joined #tryton19:34
-!- paola( has joined #tryton19:34
-!- X0d_of_N0d( has joined #tryton19:43
yangooncedk: Typos in stock/packing xml lines 1352 and 1362: Retrun instead of Return19:43
X0d_of_N0dudono: you around?19:54
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton19:59
CIA-10tryton: ced roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: [resolved] I don't know what you call partial delivery. But if the packing comes from a sale order, you just remove the unassigned moves.20:02
CIA-10tryton: matb roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: [chatting] Partial delivery: Deliver the goods on stock at once, the rest later on arrival from the supplier. If I want to delete the unassigned ...20:07
udonoX0d_of_N0d: yes, Iam there for half an hour20:23
udonoclose fiscal year in openerp:
-!- enlightx( has joined #tryton20:34
udonoX0d_of_N0d: Are you there?20:42
X0d_of_N0djust got back20:46
X0d_of_N0dI was just going to say that everything looks great. I'm gonna play around with it for a bit but it looks pretty good20:47
udonoX0d_of_N0d: That's fine, I am pleased20:50
udonoX0d_of_N0d: BTW. which port is default when not ssl and not tls?20:51
X0d_of_N0dtls is just a way of starting ssl without using a different port20:51
udonoX0d_of_N0d: ah, ok20:52
udonoX0d_of_N0d: Iam leaving soon, need some sleep ;-)20:53
X0d_of_N0dudono: catch you tomorrow then20:53
udonoX0d_of_N0d: yes, or on Friday, or on email20:54
udonoX0d_of_N0d: see you20:54
X0d_of_N0dudono: cool20:54
CIA-10tryton: ced roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: There is no workflow on moves21:45
CIA-10tryton: ced roundup * #761/Stock: Partially assigned packing does not appear under Assigned Packings: Are you sure, you don't try to delete the packing?21:58
-!- bechamel(n=user@ has joined #tryton22:41
-!- vengfulsquirrel( has joined #tryton22:44
vengfulsquirrelcedk: Hey I think checking if there are moves on a location before changing it to a view type also needs to be done to prevent changing to a warehouse, would I do that with a check in _constraints?23:53

Generated by 2.11.0 by Marius Gedminas - find it at!