IRC logs of #tryton for Tuesday, 2011-11-01

chat.freenode.net #tryton log beginning Tue Nov 1 00:00:03 CET 2011
2011-11-01 00:41 <barnsey> hello o/, I am working on issue #2234 and cold use some help.
2011-11-01 00:42 <barnsey> any ideas why when a database is created it is added to a pool before the database is initialised?
2011-11-01 00:56 <yangoon_rm> cedk: for the proteus issue: should I just repack trytond as first bugfix release?
2011-11-01 00:57 <yangoon_rm> because like this package proteus will collide with installed package proteus
2011-11-01 01:17 <yangoon_rm> barnsey: don't know if I can help
2011-11-01 01:18 <yangoon_rm> but what about: at the beginning of create set CONFIG['cron'] to False and after creation reset to previous state?
2011-11-01 04:55 <cedk> yangoon: I will think about it
2011-11-01 05:29 -!- blast_hardcheese(~blast_har@unaffiliated/blast-hardcheese/x-0199635) has joined #tryton
2011-11-01 10:30 <hoRn> cedk:ping
2011-11-01 10:56 <hoRn> cedk: ping
2011-11-01 11:23 <cedk> hoRn: pong
2011-11-01 11:24 <hoRn> cedk: still checking sale_shipment_cost
2011-11-01 11:25 <hoRn> cedk: don't know what could be the reason: but in carrier Transaction() is always NoneType - still searching the cause
2011-11-01 11:27 <cedk> hoRn: I don't understand
2011-11-01 11:28 <hoRn> cedk: user = user_obj.browse(Transaction().user) always fails because there is no Transaction- don't know why.
2011-11-01 11:29 <cedk> hoRn: yes it is strange
2011-11-01 11:29 <cedk> hoRn: do you use the client or a script?
2011-11-01 11:29 <hoRn> cedk: client
2011-11-01 11:30 <hoRn> cedk: but what I want to ask: you decided to take the list_price of the carrier_product as price for the shipment
2011-11-01 11:30 <cedk> hoRn: yes for the 'product' method
2011-11-01 11:32 <hoRn> cedk: I know that this ist only a simple method that should be extended - but i find that could be a bit confusing - user could expect, that 'product' means per quantity of products in the line. F.e. 3 Bottles of wine - carrier_product 1 € = 3 € shipment
2011-11-01 11:37 <hoRn> cedk: It's only a thought if a user expect this as the simpliest method
2011-11-01 11:58 <yangoon> cedk: hi, did you think about the repackaging of the server?
2011-11-01 12:02 <cedk> yangoon: I'm wondering if we should change the version number or not
2011-11-01 12:02 <yangoon> cedk: IMO we should, it is too old for a re-upload
2011-11-01 12:04 <cedk> yangoon: so I will backport some fixes like http://hg.tryton.org/hg/trytond?cmd=changeset;node=7e4362f4987d
2011-11-01 13:38 <hoRn> cedk: I've still translated the shipment computation from our shopsoftware to tryton. I think that on_change_lines should call some methods to be more generic. For example we have free shipping if amount raises a specific value. with the current design its impossible to overwrite the behavior of the core module ... should I provide my ideas as patch to the core module or as new module?
2011-11-01 14:25 <ndn_pit> hello
2011-11-01 14:27 <ndn_pit> is there any plans for implementation of the Web interface of Triton?
2011-11-01 14:29 <ndn_pit> I would like to know the planned date
2011-11-01 15:20 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton
2011-11-01 15:28 <cedk> hoRn: I think it is possible to do what you want, just make get_sale_price return 0 as shipment cost
2011-11-01 15:28 <cedk> ndn_pit: there is no planned date
2011-11-01 15:28 <cedk> ndn_pit: I guess you are talking about a web client because Tryton has already a web interface
2011-11-01 15:29 <ndn_pit> yes i mean web client
2011-11-01 15:30 <ndn_pit> cedk: what state that process in at the moment? is it started?
2011-11-01 15:31 <cedk> ndn_pit: we got a prototype of proteus.js
2011-11-01 15:32 <cedk> ndn_pit: but I think finnaly the better way will be to migrate the gtk client to gtk+-3 and use broadway backend
2011-11-01 15:33 <cedk> ACTION bbl
2011-11-01 15:33 <ndn_pit> cedk: ok thank you
2011-11-01 15:35 -!- ndn_pit(~ndn@92.46.3.106) has left #tryton
2011-11-01 15:42 <hoRn> cedk: could be that it needs a little fix - not shure .... http://pastie.org/2793712
2011-11-01 15:48 <hoRn> cedk: because http://hg.tryton.org/modules/sale_shipment_cost/file/71a276c5d18a/sale.py#l107 is checking: "if cost"
2011-11-01 16:01 <cedk> hoRn: don't understand
2011-11-01 16:03 <cedk> hoRn: ha ok, better to have test like this: if line['shipment_cost'] != cost_line.get('shipment_cost', 0):
2011-11-01 16:04 <hoRn> yes
2011-11-01 16:04 <hoRn> cedk: yes - that's better
2011-11-01 16:06 <cedk> hoRn: submit a patch
2011-11-01 16:07 <hoRn> cedk: on my way ;)
2011-11-01 16:07 <hoRn> cedk: need to checkout fresh copy
2011-11-01 16:28 <hoRn> cedk: another posible issue could be: the shipment_costs are calculated on_change_lines - but very often it would be necessary to calculate shipment depending on shipment_address - will take a look at this as well
2011-11-01 17:06 <cedk> hoRn: could add the address in the on_change call
2011-11-01 19:30 <barnsey> yangoon: Thanks for the suggestion will take give it a go. Sorry I missed your message last night.

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