chat.freenode.net #tryton log beginning Tue May 12 00:00:01 CEST 2015 | ||
2015-05-12 00:12 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-12 00:39 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 00:51 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 01:06 -!- mariomop(~quassel@181.95.34.127) has joined #tryton | ||
2015-05-12 01:45 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 01:52 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 01:58 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 02:03 -!- gremly(~gremly@190.85.36.58) has joined #tryton | ||
2015-05-12 02:09 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 02:28 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-12 03:31 -!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton | ||
2015-05-12 05:33 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 06:40 -!- frispete_(~frispete@p54A91C49.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-12 07:01 -!- yangoon1(~mathiasb@p549F136B.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-12 07:40 -!- rpit(~ralf@2a02:908:e679:5340:b148:cb8b:eccc:9963) has joined #tryton | ||
2015-05-12 07:46 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-05-12 08:25 -!- rpit(~ralf@2a02:908:e679:5340:2564:19f2:e189:4d08) has joined #tryton | ||
2015-05-12 08:29 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-05-12 09:15 -!- jvblasco(~seba@62.43.196.37) has joined #tryton | ||
2015-05-12 09:17 -!- udono(~udono@ip-37-201-196-116.hsi13.unitymediagroup.de) has joined #tryton | ||
2015-05-12 09:29 -!- Timitos(~kpreisler@2001:a60:1518:2c01:ae7b:a1ff:feaf:55f0) has joined #tryton | ||
2015-05-12 10:22 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton | ||
2015-05-12 10:23 -!- gyKa(~gyKa@434104.s.dedikuoti.lt) has joined #tryton | ||
2015-05-12 10:34 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | ||
2015-05-12 10:43 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton | ||
2015-05-12 10:44 -!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton | ||
2015-05-12 10:45 <gyKa> Hi, I have problem generating a report. My form has few date fields, and when I generate a report, Tryton throws an exception that str has no attribute year (in datetime_strftime.py file, in datetime_strftime() function). As I understood, I'm failing in report/report.py file, in format_lang() method. A param 'value' of this method comes already as a string, but function datetime_strftime() expects datetime. A data I'm passing to report is in datetime. W | ||
2015-05-12 10:45 <gyKa> here can be a problem? | ||
2015-05-12 10:48 <cedk> gyKa: looks like you are passing a string to format_lang instead of a date | ||
2015-05-12 11:01 -!- xrg_(~panos@213.16.180.111.dsl.dyn.forthnet.gr) has joined #tryton | ||
2015-05-12 11:01 <Jitesh_Nair> hey is trytonspain tryton-product-kit supported in trytond 3.6 | ||
2015-05-12 11:05 <pokoli> Jitesh_Nair: not currently (but it will be) | ||
2015-05-12 11:06 <pokoli> Jitesh_Nair: patch is welcome :) | ||
2015-05-12 11:09 <Jitesh_Nair> pokoli, that was inspirational ... but u know presently iam not good enough for that :) | ||
2015-05-12 11:10 <pokoli> Jitesh_Nair: so you can wait until something else migrates it | ||
2015-05-12 11:14 <cedk> pokoli: is it still relevant with the sale_promotion module | ||
2015-05-12 11:28 <pokoli> cedk: don't understand | ||
2015-05-12 11:30 <cedk> pokoli: for me, the main goal of kit is to sale a set of product at a different price than individualy | ||
2015-05-12 11:44 <cedk> pokoli: by the way, you know you can add yourself to copyright header when doing large contribution | ||
2015-05-12 11:49 <pokoli> cedk: we have use cases, where the kit is used to indicate that both products are sold together, but stock is managed independently | ||
2015-05-12 11:49 <cedk> pokoli: that sounds like a production | ||
2015-05-12 11:52 <pokoli> cedk: sometimes, but not produced on the warehouse, only mounted on customer location, and normally also include service | ||
2015-05-12 11:53 <pokoli> cedk: for example TV Satelite, which includes a decoder, an antenna, and one hour of mounting it in customer house | ||
2015-05-12 11:55 <cedk> pokoli: then it looks more like just a wizard to fill sale order | ||
2015-05-12 11:55 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton | ||
2015-05-12 12:07 -!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton | ||
2015-05-12 12:25 -!- Telesight(~anthony@4dafef36.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-05-12 13:06 -!- mariomop(~quassel@181.110.68.42) has joined #tryton | ||
2015-05-12 13:13 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 13:21 -!- Jitesh_Nair(~jitesh@116.68.96.237) has joined #tryton | ||
2015-05-12 13:25 -!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton | ||
2015-05-12 13:47 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton | ||
2015-05-12 14:19 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton | ||
2015-05-12 14:21 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 14:31 -!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton | ||
2015-05-12 14:49 <Jitesh_Nair> if i change the tax.rate then the tax for the previously invoices should not change right? because when i change the tax.rate the invoices have the tax updated but the total amount after adding the tax is the same old one | ||
2015-05-12 14:50 <Jitesh_Nair> lets say my tax.rate was 10% | ||
2015-05-12 14:50 <Jitesh_Nair> i invoiced a product at 100 | ||
2015-05-12 14:50 <Jitesh_Nair> so my total was 110 | ||
2015-05-12 14:50 <Jitesh_Nair> later my tax.rate was changed to 5 | ||
2015-05-12 14:51 <Jitesh_Nair> when i check the previous invoice.lines.taxes the rate is updates to 5 | ||
2015-05-12 14:51 <Jitesh_Nair> but the total is 110 | ||
2015-05-12 14:51 <Jitesh_Nair> i dont want the tax to change like the total amount of the previous paid invoice | ||
2015-05-12 14:56 <cedk> Jitesh_Nair: invoice.lines.taxes are just a reference | ||
2015-05-12 15:11 <Jitesh_Nair> so is there any way to get the tax value of the previously paid invoice? even after we change the tax.rate? | ||
2015-05-12 15:11 <cedk> Jitesh_Nair: don't understand as you said the invoice is not changed | ||
2015-05-12 15:12 <Jitesh_Nair> cedk, the invoice is paid...we have nothing to do with the old invoice | ||
2015-05-12 15:12 <Jitesh_Nair> cedk, then we change the taxrate | ||
2015-05-12 15:12 <Jitesh_Nair> and just for a reference purpose we check the previously paid invoice | ||
2015-05-12 15:13 <Jitesh_Nair> there the tax rate is changed | ||
2015-05-12 15:13 <Jitesh_Nair> but the total value is not changed... | ||
2015-05-12 15:13 <cedk> Jitesh_Nair: no it doesn't as the amount did not change | ||
2015-05-12 15:13 <Jitesh_Nair> cedk, yes the amount dint change | ||
2015-05-12 15:13 <Jitesh_Nair> but the tax represented shows the update tax rate | ||
2015-05-12 15:14 <cedk> Jitesh_Nair: no it did not change | ||
2015-05-12 15:14 <Jitesh_Nair> is there any possibility to get the tax which was originally associated with the invoice | ||
2015-05-12 15:14 <cedk> Jitesh_Nair: I guess you have first to be familiar with https://en.wikipedia.org/wiki/Relational_model | ||
2015-05-12 15:15 <cedk> Jitesh_Nair: don't change you tax if you don't want it to change | ||
2015-05-12 15:15 <Jitesh_Nair> cedk, what if the new government has a new tax? | ||
2015-05-12 15:16 <Jitesh_Nair> just in case | ||
2015-05-12 15:16 <Jitesh_Nair> ? | ||
2015-05-12 15:18 <cedk> Jitesh_Nair: we generally use the date period with a children taxes | ||
2015-05-12 15:19 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-12 15:21 <Jitesh_Nair> ouch!! how do we say that in understandable format? because i find it little difficult to understand!!! | ||
2015-05-12 15:31 -!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton | ||
2015-05-12 15:41 <pokoli> cedk: ping | ||
2015-05-12 15:47 <cedk> pokoli: pong | ||
2015-05-12 15:50 <pokoli> cedk: in tryton client, when calling field_get for a wizard, active_ids is set on the context | ||
2015-05-12 15:51 <pokoli> cedk: so on proteus it should be also set | ||
2015-05-12 15:51 <pokoli> cedk: I'm having a wizard which overrides fields_get and view definition, depends on active_ids, and its not working on proteus | ||
2015-05-12 15:52 -!- yangoon(~mathiasb@p549F136B.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-12 15:56 <cedk> pokoli: I think it is not an intentional behaviour | ||
2015-05-12 15:58 <cedk> pokoli: I even can not find where it is set | ||
2015-05-12 15:59 <pokoli> cedk: ok, so i'm working on a patch, but my problem is http://hg.tryton.org/proteus/file/98a1a04b3d12/proteus/__init__.py#l454 | ||
2015-05-12 15:59 <pokoli> cedk: there is some kind of cache of models? | ||
2015-05-12 16:00 <cedk> pokoli: I mean the behaviour of the client not of proteus | ||
2015-05-12 16:02 <pokoli> cedk: don't know but on client works well :) | ||
2015-05-12 16:05 <cedk> pokoli: can you spot where it is done? | ||
2015-05-12 16:08 <pokoli> cedk: not sure but http://hg.tryton.org/tryton/file/f5741c9e3f8f/tryton/action/main.py#l105 | ||
2015-05-12 16:10 <pokoli> cedk: and for wizard is here http://hg.tryton.org/tryton/file/f5741c9e3f8f/tryton/gui/window/wizard.py#l75 | ||
2015-05-12 16:10 <cedk> pokoli: normally only the action_ctx is passed | ||
2015-05-12 16:15 <pokoli> cedk: but action_ctx doesn't have active_ids set :$ | ||
2015-05-12 16:16 <cedk> pokoli: yes for me, it is not clear where it comes from and so it is not excpected | ||
2015-05-12 16:17 <cedk> pokoli: indeed, as there is cache on such query, it is even a counter performence to have such volatile context | ||
2015-05-12 16:22 <pokoli> cedk: there is also cache for the client, isn't there? | ||
2015-05-12 16:22 <cedk> pokoli: yes I'm speaking about this cache | ||
2015-05-12 16:26 <pokoli> cedk: so now i don't understand how this code is working on the client | ||
2015-05-12 16:28 <pokoli> cedk: our code is here https://bitbucket.org/nantic/trytond-sale_pos_template_quantities/src/d6fa9a7717e7b426df4243b9c269ad01522baca1/sale.py?at=default#cl-367 | ||
2015-05-12 16:28 <pokoli> cedk: if i understand correct only the supper fields_get it's cached, and we recompute it for every call, so that explains why opening this wizard is so slow | ||
2015-05-12 16:43 -!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton | ||
2015-05-12 16:45 <cedk> pokoli: I neither find where this is done but I did not yet run the code | ||
2015-05-12 16:46 <pokoli> cedk: this is called by a button, and data in http://hg.tryton.org/tryton/file/f5741c9e3f8f/tryton/action/main.py#l84 contains active_id so it's set to the context | ||
2015-05-12 16:47 <cedk> pokoli: but it doesn't explain why we find it in the screen call to get fields | ||
2015-05-12 16:48 <cedk> pokoli: because only action_ctx is passed | ||
2015-05-12 16:48 <cedk> pokoli: and more over it is not to run a wizard but to open a tab | ||
2015-05-12 16:51 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton | ||
2015-05-12 16:54 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton | ||
2015-05-12 16:59 -!- VaticanCameos(~pritishc@223.30.217.218) has joined #tryton | ||
2015-05-12 17:00 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2015-05-12 17:02 -!- yangoon(~mathiasb@p549F136B.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-12 17:37 -!- VaticanCameos(~pritishc@223.30.217.218) has joined #tryton | ||
2015-05-12 17:56 -!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton | ||
2015-05-12 18:09 -!- sharoonthomas(~sharoonth@122.177.102.225) has joined #tryton | ||
2015-05-12 18:10 -!- smarro(~sebastian@190.105.79.159) has joined #tryton | ||
2015-05-12 18:38 -!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton | ||
2015-05-12 18:51 -!- ytz(uid59181@gateway/web/irccloud.com/x-zsmxdzyczpznxxqt) has joined #tryton | ||
2015-05-12 18:53 -!- ytz(uid59181@gateway/web/irccloud.com/x-zsmxdzyczpznxxqt) has left #tryton | ||
2015-05-12 18:55 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 19:04 -!- mariomop(~quassel@181.110.68.42) has joined #tryton | ||
2015-05-12 20:15 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-12 20:27 -!- sunny_dealmeida(~quassel@203.115.77.138) has joined #tryton | ||
2015-05-12 21:47 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton | ||
2015-05-12 22:00 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-12 22:03 -!- cedk(~ced@82-212-130-50.teledisnet.be) has joined #tryton | ||
2015-05-12 22:03 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-05-12 22:11 -!- courrier(~yoan@208.113.192.77.rev.sfr.net) has joined #tryton | ||
2015-05-12 22:12 <courrier> Hey guys, just wanted to report that http://downloads.tryton.org/3.6/neso-setup-last.exe is missing | ||
2015-05-12 23:09 <courrier> Is there anyone with some experience with importation from Sage Coala (for the accounting module of tryton)? This program is unable to import to csv, only xml (or txt), I don't know what to do with that... | ||
2015-05-12 23:35 <pokoli> courrier: you may develop a porteus script that read source files and import it into tryton | ||
2015-05-12 23:35 <pokoli> courrier: what do you want to import? | ||
2015-05-12 23:53 <cedk> courrier: neso is not yet ready | ||
2015-05-12 23:53 <cedk> courrier: https://bugs.tryton.org/issue4270 | ||
2015-05-12 23:58 <cedk> courrier: if you want, you can find an example of such script at http://hg.b2ck.com/openerp2tryton/ | ||
2015-05-12 23:58 <cedk> it migrate openerp/odoo database to Tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!