chat.freenode.net #tryton log beginning Fri Mar 21 00:00:02 CET 2014 | ||
2014-03-21 00:08 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton | ||
2014-03-21 00:35 <plantian> cedk: okay, thanks, is there a trick to passing boolean arguments over xmlrpc? they seem to generate a protocol error | ||
2014-03-21 01:02 <plantian> Or maybe, how can I log 500 errors in trytond ? | ||
2014-03-21 01:04 <Pilou> plantian: http://tryton-documentation.readthedocs.org/en/latest/developer_guide/debugging.html#debug-those-annoying-error-500 | ||
2014-03-21 01:05 <plantian> Pilou: thanks, "keys must be a string" | ||
2014-03-21 01:07 <Pilou> do you use jsonrpc or xmlrpc ? | ||
2014-03-21 01:07 <plantian> I think I'm actually using jsonrpc. | ||
2014-03-21 01:09 <plantian> Pilou: The object returned by products by location has (location_id, product_id) as keys, I just have to wrap it in another method and return a list I think. It means I have to maintain another tryton module though. | ||
2014-03-21 01:24 <Pilou> With json, keys in dictionnary must be a string (For example: "import json; json.dumps({('aa','bb'):'cc'})" raise the same error). As you said, your problem is that products_by_location return a dict with tuples as keys. | ||
2014-03-21 01:59 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2014-03-21 02:22 -!- defyasdf(~defyasdf@ec2-54-234-60-70.compute-1.amazonaws.com) has joined #tryton | ||
2014-03-21 03:34 -!- digitalsatori(~Thunderbi@116.234.123.99) has joined #tryton | ||
2014-03-21 03:45 -!- azi(~azi@den-69-171-160-72.evdo.leapwireless.net) has joined #tryton | ||
2014-03-21 05:26 -!- digitalsatori(~Thunderbi@116.234.123.99) has joined #tryton | ||
2014-03-21 06:00 -!- yangoon(~mathiasb@p549F18BE.dip0.t-ipconnect.de) has joined #tryton | ||
2014-03-21 06:40 -!- frispete_(~frispete@p54A93BD4.dip0.t-ipconnect.de) has joined #tryton | ||
2014-03-21 07:24 -!- udono(~udono@ip-88-152-168-173.unitymediagroup.de) has joined #tryton | ||
2014-03-21 08:08 -!- grasbauer(~jan@dslb-178-000-015-039.pools.arcor-ip.net) has joined #tryton | ||
2014-03-21 08:09 -!- mfladischer(~fladische@193.170.104.144) has joined #tryton | ||
2014-03-21 08:15 -!- pobsteta(~Thunderbi@ARennes-651-1-230-72.w90-32.abo.wanadoo.fr) has joined #tryton | ||
2014-03-21 08:18 -!- digitalsatori(~Thunderbi@116.234.123.99) has joined #tryton | ||
2014-03-21 08:21 -!- digitalsatori(~Thunderbi@116.234.123.99) has joined #tryton | ||
2014-03-21 09:00 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton | ||
2014-03-21 09:10 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton | ||
2014-03-21 09:11 -!- Telesight(~anthony@77-175-168-222.FTTH.ispfabriek.nl) has joined #tryton | ||
2014-03-21 09:26 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton | ||
2014-03-21 09:37 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2014-03-21 09:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2014-03-21 10:02 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | ||
2014-03-21 10:25 -!- nicoe(~nicoe@2001:6f8:3aa:0:b699:baff:fe56:2328) has joined #tryton | ||
2014-03-21 10:28 -!- digitalsatori(~Thunderbi@116.234.123.99) has joined #tryton | ||
2014-03-21 11:39 -!- cjbarnes18(~craig@213.205.230.20) has joined #tryton | ||
2014-03-21 11:43 -!- pobsteta(~Thunderbi@ARennes-651-1-230-72.w90-32.abo.wanadoo.fr) has joined #tryton | ||
2014-03-21 11:48 -!- smarro(~sebastian@190.105.85.74) has joined #tryton | ||
2014-03-21 11:49 -!- mariomop(~quassel@200.117.235.154) has joined #tryton | ||
2014-03-21 11:53 -!- sisalp(~sisalpuse@gratoox.sisalp.net) has joined #tryton | ||
2014-03-21 11:56 <sisalp> hello, seems hg is broken for me today. Whichever version I ask for, I get 3.1dev instead | ||
2014-03-21 11:58 <grasbauer> sisalp: read about the change to named branch: there is only one repository and you need to checkout with the switch to the branch you want. e.g hg update -b 3.0 | ||
2014-03-21 12:07 <sisalp> grasbauer: thank you, do you mean http://www.tryton.org/download.html is no longer valid ? | ||
2014-03-21 12:08 <grasbauer> sisalp: don't know - I always use hg | ||
2014-03-21 12:08 <sisalp> grasbauer: hg use is documented on this page | ||
2014-03-21 12:09 <grasbauer> sisalp: I see - the series urls must be changed | ||
2014-03-21 12:09 <sisalp> is there a documentation on the change ? | ||
2014-03-21 12:09 <grasbauer> sisalp: ist was dicussed in the mailinglist | ||
2014-03-21 12:10 <sisalp> the dev list ? | ||
2014-03-21 12:10 <grasbauer> sisalp: don't remeber exactly - but I also run in this issue ;) | ||
2014-03-21 12:13 <cedk> the website is not really wrong because you still retreive the repository | ||
2014-03-21 12:14 <cedk> but not with the right branch per default | ||
2014-03-21 12:14 <sisalp> I found the discussion [tryton] Get older Tryton version (2.8) via "hg nclone" | ||
2014-03-21 12:16 <sisalp> cedk: not really wrong but doesn't give the right branch ;-) ok I'll do my homework but the page is misleading | ||
2014-03-21 12:22 <cedk> sisalp: yes I think we should just remove it | ||
2014-03-21 12:23 <sisalp> cedk: yes | ||
2014-03-21 12:24 <sisalp> cedk: does nclone still ok with named branch ? | ||
2014-03-21 12:24 <sisalp> cedk: seems it just get ttrytond | ||
2014-03-21 12:25 <cedk> sisalp: it is normally | ||
2014-03-21 12:26 <cedk> http://codereview.tryton.org/4601002 | ||
2014-03-21 12:34 <sisalp> what is wrong with my command : hg nclone -b 3.0 http://hg.tryton.org/trytond/ ? | ||
2014-03-21 12:35 <sisalp> I want the server and its addons | ||
2014-03-21 12:35 <grasbauer> sisalp: it breaks because there are modules that are not brnached | ||
2014-03-21 12:36 <grasbauer> sisalp: I used a ugly workaround | ||
2014-03-21 12:36 <sisalp> really ugly ? | ||
2014-03-21 12:37 <grasbauer> sisalp: hg nclone http://hg.tryton.org/trytond/ | ||
2014-03-21 12:37 <grasbauer> than remove the unbranched modules | ||
2014-03-21 12:37 <grasbauer> hg update -b 3.0 | ||
2014-03-21 12:38 <sisalp> ok, rotten indeed ;-) | ||
2014-03-21 12:38 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | ||
2014-03-21 12:39 <sisalp> I suppose it is expected that a dev server is not fully aligned everytime , isn't it ? | ||
2014-03-21 12:43 <cedk> sisalp: what does it mean? | ||
2014-03-21 12:45 <sisalp> cedk: grasbauer indicates some modules don't come with nclone -b 3.0 because of module organisation. Is it correct ? | ||
2014-03-21 12:46 <cedk> sisalp: because it doesn't exist a 3.0 branch on some | ||
2014-03-21 12:46 <grasbauer> cedk: so you can't nclone a branch | ||
2014-03-21 12:47 <sisalp> cedk: so it is not the reason why my command only loads the server part ? | ||
2014-03-21 12:49 <sisalp> cedk: Iget only account account_asset account_be __init__.py | ||
2014-03-21 13:00 <cedk> sisalp: it fails on the first one that fails | ||
2014-03-21 13:01 <cedk> grasbauer: you can if all repo has it | ||
2014-03-21 13:02 <grasbauer> cedk: yes - but this could lead to trouble if someone tries to nclone trytond 3.0 to get a working copy | ||
2014-03-21 13:02 <sisalp> grasbauer: I was in this case and will change my mind | ||
2014-03-21 13:03 <sisalp> grasbauer: I will use hg only for dev version. | ||
2014-03-21 13:08 <cedk> grasbauer: hgnested could probably be improved to skip in such case | ||
2014-03-21 13:09 <grasbauer> cedk: +1 | ||
2014-03-21 13:25 <sisalp> my demo servers no longer use hg but now use virtualenv and pip like production servers | ||
2014-03-21 13:40 -!- sharoonthomas(~sharoonth@101.59.121.108) has joined #tryton | ||
2014-03-21 14:04 -!- sharoonthomas(~sharoonth@123.239.96.115) has joined #tryton | ||
2014-03-21 14:17 -!- sharoonthomas(~sharoonth@123.239.96.115) has joined #tryton | ||
2014-03-21 14:25 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton | ||
2014-03-21 14:37 -!- dada-p(53b7122c@gateway/web/freenode/ip.83.183.18.44) has joined #tryton | ||
2014-03-21 14:48 <dada-p> hello everybody! I'm fairly new to tryton and have a question about using on_change. I'm trying to write a module which would provide total amount rounding for invoices. The idea is to have rounding (legal obligations) only in invoice but not in sale. First problem is that the invoice lines are the same as sale lines (with sale_invoice_method not manual) so how to insert additional line to invoice only? Second problem is sale_invoice_g | ||
2014-03-21 14:49 -!- sharoonthomas(~sharoonth@115.243.103.15) has joined #tryton | ||
2014-03-21 14:54 <dada-p> Close example to what I'm trying to do is sale_shipment_cost but it changing sale and not invoice (use of rounding is depending on payment method therefore cannot be a part of sale. and also in case of grouping - can be only one rounding per group and not in each of the sale) | ||
2014-03-21 14:55 <dada-p> any ideas how I should go about? | ||
2014-03-21 15:00 -!- pablovannini(~pablo@186.18.119.195) has joined #tryton | ||
2014-03-21 15:15 <cedk> dada-p: don't understand at all what you are talking about. I don't see any link between adding lines and rounding method | ||
2014-03-21 15:19 <dada-p> I'm trying to do rounding by adding additional line (product) with calculated price into invoice - as rounding have to be registered in accounting on separate account. | ||
2014-03-21 15:20 <cedk> dada-p: don't understand | ||
2014-03-21 15:20 <cedk> dada-p: you don't change the rounding by adding new lines | ||
2014-03-21 15:22 <dada-p> are you telling that there is rounding already implemented in tryton? in sweden, total amount in invoice have to be rounded to integers, without cents. | ||
2014-03-21 15:24 <dada-p> in order to remove cents, normal practice is to add some amount (<1 positive or negative) to the totals. See here http://en.wikipedia.org/wiki/Swedish_rounding | ||
2014-03-21 15:25 <dada-p> the adjustment can't be just dropped but have to be registered on separate account | ||
2014-03-21 15:29 <cedk> dada-p: I will not add a line for that but just override the creation of accounting move | ||
2014-03-21 15:29 <cedk> dada-p: where you could add the extra line when the invoice is validated | ||
2014-03-21 15:31 <dada-p> in Invoice.create_move? | ||
2014-03-21 15:32 <cedk> dada-p: yes | ||
2014-03-21 15:34 <dada-p> how to be flexible with account on which it has to be register? By creating configuration in Account? | ||
2014-03-21 15:37 <dada-p> Also, both rounded amount and rounding has to be present in printed form of Invoice. So I have to alter Invoice.total_amount and add Invoice.rounding, isn't it? | ||
2014-03-21 15:43 -!- gremly(~gremly@190.85.36.58) has joined #tryton | ||
2014-03-21 15:58 <cedk> dada-p: don't know the specific detail of the requirement | ||
2014-03-21 16:07 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton | ||
2014-03-21 16:27 <pokoli> cedk: pinh | ||
2014-03-21 16:34 -!- gour(~gour@unaffiliated/gour) has joined #tryton | ||
2014-03-21 16:35 <gour> hello | ||
2014-03-21 16:36 <cedk> pokoli: pong | ||
2014-03-21 16:37 <pokoli> cedk: do you plan to release python-sql before 3.2? | ||
2014-03-21 16:37 <gour> atm i use php invoicing app, but wonder if tryton is overkill as just invoicing app for small/freelancer company to be used for keeping records and sending quotes & invoices (maximum about few hundred per year)? | ||
2014-03-21 16:38 <cedk> pokoli: don't know | ||
2014-03-21 16:38 <cedk> pokoli: but release of python-sql is not linked at all with the release of Tryton | ||
2014-03-21 16:39 <cedk> gour: we have a customer like that | ||
2014-03-21 16:42 <gour> cedk: tryton is easy to customize for such purpose, iow, tailor invoice/quote template with custom logo etc, l10n etc.? | ||
2014-03-21 16:42 <pokoli> cedk: I have a tryton test that breaks on sqlite because of https://code.google.com/p/python-sql/issues/detail?id=18 | ||
2014-03-21 16:44 <cedk> pokoli: not linked to tryton | ||
2014-03-21 16:46 <cedk> pokoli: and for me, this issue will not be fixed | ||
2014-03-21 16:47 <pokoli> cedk: I understand. No problem on my side, i will fix my test to run correctly | ||
2014-03-21 16:48 <pokoli> cedk: so we can agree that it's an issue of sqlite, and sqlite must be fixed? | ||
2014-03-21 16:50 -!- sharoonthomas(~sharoonth@115.243.103.15) has joined #tryton | ||
2014-03-21 16:56 <gour> is it safe to use sqlite for e.g. above use-case - single user on intranet/localhost or single machine? | ||
2014-03-21 17:06 -!- gour_(~gour@unaffiliated/gour) has joined #tryton | ||
2014-03-21 17:06 <cedk> pokoli: at least, it is sqlite that doesn't implement completly the standard | ||
2014-03-21 17:07 <cedk> pokoli: but I don't think we could create a flavor for that | ||
2014-03-21 17:07 <cedk> pokoli: a flavor to re-write completly a query sounds wrong | ||
2014-03-21 17:08 <pokoli> cedk: I agree on that's sqlite that doesn't implement completly the standard, it's sad but it's the reality | ||
2014-03-21 17:08 <pokoli> cedk: I tought modifiyn insert to return SELECT UNION, but it sound as a dirty hack for sqlite | ||
2014-03-21 17:09 <cedk> pokoli: yes | ||
2014-03-21 17:09 <cedk> pokoli: I agree on flavor for unspecified SQL behavior like limit/offset | ||
2014-03-21 17:10 <pokoli> cedk: so for me you can mark the issue and invalid ;) | ||
2014-03-21 17:11 <pokoli> gour: as far as it's possible i will recomend you postgresql | ||
2014-03-21 17:13 <gour> pokoli: ok. i'm running free/pc-bsd-10... | ||
2014-03-21 17:13 <pokoli> gour: sorry but i don't know what is free/pc-bsd-10 | ||
2014-03-21 17:14 <gour> pokoli: pc-bsd is desktop version of freebsd | ||
2014-03-21 17:14 <gour> http://www.pcbsd.org/ | ||
2014-03-21 17:16 <gour> which modules would i need for just quotes/invoices and no need for stock, we're selling services | ||
2014-03-21 17:17 <pokoli> gour: I'm not a bsd expert but I just found some tutorials to install postgresql server on pcbsd | ||
2014-03-21 17:17 <pokoli> gour: so you have no excuse on using postgresql :) | ||
2014-03-21 17:17 <pokoli> gour: at least account_invoice and it's dependencies | ||
2014-03-21 17:18 <cedk> gour: account_invoice and his deps | ||
2014-03-21 17:19 <gour> template customization is done via xml files, right? | ||
2014-03-21 17:23 <cedk> gour: you can do it via client and store it in the DB | ||
2014-03-21 17:25 -!- tehfink(~fink@199.195.61.18) has joined #tryton | ||
2014-03-21 17:40 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton | ||
2014-03-21 17:46 -!- Telesight(~anthony@77-175-168-222.FTTH.ispfabriek.nl) has joined #tryton | ||
2014-03-21 18:02 <gour> cedk: that's new(er) feature? | ||
2014-03-21 18:02 <cedk> gour: no | ||
2014-03-21 18:04 <gour> invoice module can generate pdf as well? | ||
2014-03-21 18:04 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton | ||
2014-03-21 18:06 -!- littlebit(~Thunderbi@ulmg-5d844909.pool.mediaWays.net) has joined #tryton | ||
2014-03-21 18:12 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton | ||
2014-03-21 18:35 -!- acu(~acu@50.244.13.221) has joined #tryton | ||
2014-03-21 18:49 -!- sharoonthomas(~sharoonth@122.177.184.34) has joined #tryton | ||
2014-03-21 18:54 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton | ||
2014-03-21 19:05 -!- grasbauer(~jan@dslb-094-222-140-251.pools.arcor-ip.net) has joined #tryton | ||
2014-03-21 19:59 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton | ||
2014-03-21 20:43 -!- azi(~azi@173-164-176-58-SFBA.hfc.comcastbusiness.net) has joined #tryton | ||
2014-03-21 21:01 -!- gour(~gour@unaffiliated/gour) has left #tryton | ||
2014-03-21 22:24 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton | ||
2014-03-21 23:28 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton | ||
2014-03-21 23:52 -!- frispete(~frispete@p54A93BD4.dip0.t-ipconnect.de) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!