chat.freenode.net #tryton log beginning Tue Feb 9 00:00:03 CET 2016 | ||
2016-02-09 01:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-02-09 03:00 -!- JosDzG(~Thunderbi@189.148.161.75) has joined #tryton | ||
2016-02-09 05:32 -!- kstenger(~karla@r186-54-190-122.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-02-09 07:40 -!- frispete(~frispete@p54A911E1.dip0.t-ipconnect.de) has joined #tryton | ||
2016-02-09 08:07 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2016-02-09 08:20 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton | ||
2016-02-09 08:43 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-02-09 09:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-02-09 09:36 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton | ||
2016-02-09 09:48 -!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton | ||
2016-02-09 10:28 -!- saxa_(~sasa@2-234-206-126.ip224.fastwebnet.it) has joined #tryton | ||
2016-02-09 10:44 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton | ||
2016-02-09 11:06 -!- bechamel1(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton | ||
2016-02-09 11:53 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton | ||
2016-02-09 11:56 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-02-09 12:18 -!- mariomop(~quassel@181.95.136.57) has joined #tryton | ||
2016-02-09 14:10 -!- csotelo__(~csotelo@190.232.71.228) has joined #tryton | ||
2016-02-09 14:11 -!- juanfe(~juanfe@181.143.145.58) has joined #tryton | ||
2016-02-09 14:24 -!- bechamel(~Adium@ptr-178-50-72-111.dyn.mobistar.be) has joined #tryton | ||
2016-02-09 14:49 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2016-02-09 14:52 -!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton | ||
2016-02-09 15:00 -!- nelek(~nf@unaffiliated/nelek) has joined #tryton | ||
2016-02-09 15:03 <cedk> it will be great to have feedback on https://bugs.tryton.org/issue5316 | ||
2016-02-09 16:13 -!- mariomop(~quassel@181.95.136.57) has joined #tryton | ||
2016-02-09 16:20 -!- gremly(~gremly@190.85.36.58) has joined #tryton | ||
2016-02-09 16:27 -!- csotelo_(~csotelo@190.232.71.228) has joined #tryton | ||
2016-02-09 16:41 -!- JosDzG(~Thunderbi@189.148.161.75) has joined #tryton | ||
2016-02-09 17:16 -!- filipe858585(58166d02@gateway/web/freenode/ip.88.22.109.2) has joined #tryton | ||
2016-02-09 17:19 <filipe858585> anyone knows how to fix "TypeError: can't compare datetime.date to NoneType" when receiving bought merchandise? | ||
2016-02-09 17:24 <filipe858585> tried this :http://hg.tryton.org/modules/stock_lot_sled/rev/bbcd502a7865 but my file is already how it suggest to change to... | ||
2016-02-09 17:25 <cedk> filipe858585: you can not do such comparison in Python | ||
2016-02-09 17:27 <filipe858585> can i paste the error log? maybe you can help me... it is around 15 lines | ||
2016-02-09 17:28 <cedk> filipe858585: OK but use a paster | ||
2016-02-09 17:28 <filipe858585> whats that? | ||
2016-02-09 17:31 <cedk> filipe858585: for example: pastebin.com | ||
2016-02-09 17:35 -!- kstenger(~karla@r186-55-79-157.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-02-09 17:36 <filipe858585> http://pastebin.com/print/UZYfLiVd | ||
2016-02-09 17:37 <filipe858585> <script src="//pastebin.com/embed_js/UZYfLiVd"></script> | ||
2016-02-09 17:39 <filipe858585> can you reach the log by one of the links? | ||
2016-02-09 17:41 <filipe858585> i guess not... so i used the paster and created a nicely organized error report, how should i transfer it here? copy paste? | ||
2016-02-09 17:41 <cedk> filipe858585: this was fixed by issue4751 | ||
2016-02-09 17:41 <cedk> filipe858585: the correct URL is: http://pastebin.com/raw/UZYfLiVd | ||
2016-02-09 17:42 <filipe858585> ok | ||
2016-02-09 17:45 <filipe858585> so i have to make a patch? | ||
2016-02-09 17:48 <filipe858585> i have to change mercurial comands.py on line 5032,8 is that correct ? is this the correct link? https://www.mercurial-scm.org/pipermail/mercurial-devel/2015-September/073310.html | ||
2016-02-09 17:59 <cedk> filipe858585: why just use a more recent version of this module | ||
2016-02-09 18:02 <filipe858585> i have the 3.6 version of that module... | ||
2016-02-09 18:03 <filipe858585> because i am runnin 3.6 server and client... | ||
2016-02-09 18:05 <cedk> filipe858585: as far as I see the fix was applied on 3.6 series | ||
2016-02-09 18:06 <cedk> filipe858585: 7 months ago, so I'm pretty sure it is a latest releases | ||
2016-02-09 18:07 <filipe858585> so you say i might be able to update the module and fix the issue? | ||
2016-02-09 18:08 <cedk> filipe858585: yes | ||
2016-02-09 18:09 <filipe858585> do you mean the update i do trough the cliente, in modules? or i have to download something else? | ||
2016-02-09 18:09 <cedk> filipe858585: you have to install new version | ||
2016-02-09 18:10 <filipe858585> of the module only or of the server and client? | ||
2016-02-09 18:11 <cedk> filipe858585: for this issue only the affected module but it is always better to run up to date software | ||
2016-02-09 18:13 <filipe858585> i found it difficult to update to 3.8, other times i tried i didnt have succes... i installed server, client, and modules from repository in ubuntu... | ||
2016-02-09 18:13 <filipe858585> can you indicate me the module you saw that i should get? | ||
2016-02-09 18:15 <filipe858585> https://bitbucket.org/trytonspain/trytond-account_es_pyme/downloads i downloaded the one i have from here... branch 3.6 | ||
2016-02-09 18:15 <cedk> filipe858585: did you read the issue4751 ? | ||
2016-02-09 18:17 <filipe858585> i looked for it in google and find the linkk i sent you... i dont know if i have to look for it in a particular place... | ||
2016-02-09 18:18 <filipe858585> https://bugs.python.org/issue4751 this one? | ||
2016-02-09 18:18 <cedk> filipe858585: yes | ||
2016-02-09 18:46 <cedk> filipe858585: the issue has nothing to do with mercurial which is a complete different project | ||
2016-02-09 18:49 <cedk> filipe858585: indeed if you used Ubuntu packages, you should ask Ubuntu to update the package tryton-modules-stock-lot-sled to the version 3.6.1 which contains the bugfix | ||
2016-02-09 18:52 <filipe858585> could you signal me wehre is this version you said please? | ||
2016-02-09 18:54 <cedk> filipe858585: http://downloads.tryton.org/3.6/trytond_stock_lot_sled-3.6.1.tar.gz | ||
2016-02-09 18:55 <filipe858585> thanks | ||
2016-02-09 19:03 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:07 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:12 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:13 <filipe858585> i installed it, but it doesnt show in "modules" on the client, already reestarted server also | ||
2016-02-09 19:14 <cedk> filipe858585: I don't understand | ||
2016-02-09 19:15 <cedk> filipe858585: you already have this module as you have the issue | ||
2016-02-09 19:16 <filipe858585> but i have to get the latest one right, so i tried installing the 3.6.1 | ||
2016-02-09 19:17 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:21 <cedk> filipe858585: so what? | ||
2016-02-09 19:22 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:22 <filipe858585> so i tried installing stock_lot_sled 3.6.1 version and updating this module in the client.... and apparently it doesnt work like that... | ||
2016-02-09 19:23 <cedk> filipe858585: like what? | ||
2016-02-09 19:24 <filipe858585> to substitute a module with other module, doesnt work installing the new module and trying to update the module in the client... | ||
2016-02-09 19:24 <cedk> filipe858585: it is the same module | ||
2016-02-09 19:24 <cedk> filipe858585: just a new version | ||
2016-02-09 19:24 <cedk> filipe858585: there is no database update needed inside the same series | ||
2016-02-09 19:25 <filipe858585> so suposedly just installing this new version module should show it in my client? | ||
2016-02-09 19:26 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton | ||
2016-02-09 19:26 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:27 <cedk> filipe858585: show what? | ||
2016-02-09 19:30 <filipe858585> i am asking you, installing the package i downloaded and updating the module in client should work for updating a module version in the same series? | ||
2016-02-09 19:31 <cedk> filipe858585: you don't need to update as I said | ||
2016-02-09 19:31 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:33 <filipe858585> ok getting the new version of stock_slot_sled to work instead of the older one... what does it take? | ||
2016-02-09 19:34 <cedk> filipe858585: just install the new version | ||
2016-02-09 19:34 <cedk> filipe858585: the Python module | ||
2016-02-09 19:35 <cedk> filipe858585: on the filesystem | ||
2016-02-09 19:35 <cedk> filipe858585: you need the new source code | ||
2016-02-09 19:35 <cedk> now I don't know how to say differently | ||
2016-02-09 19:36 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:40 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:42 <filipe858585> it is installed, but nothing happend, now a have a folder for the 3.6.0 stock_lot_sled and a folder for the 3.6.1 for the same module in python2.7/dist-packages . And you say i need something else to make the new version of the module to work? a source code? when i login client i see the 3.6.0 version but cand go to the 3.6.1 version of the module in question... | ||
2016-02-09 19:45 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:50 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:54 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 19:59 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:02 -!- gianvito(~gianvito@dynamic-94-32-253-186.adsl-ws.tiscali.it) has joined #tryton | ||
2016-02-09 20:03 <gianvito> Hallo to all | ||
2016-02-09 20:05 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:10 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:14 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:19 <gianvito> Could you help me about the development of module? | ||
2016-02-09 20:19 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:24 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:28 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:33 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:38 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:43 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:47 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:52 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:55 <filipe858585> anyone know how to fix: TypeError: format_date() got an unexpected keyword argument 'date' when trying to generate general report? | ||
2016-02-09 20:57 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 20:58 <cedk> filipe858585: probably incompatible series | ||
2016-02-09 21:02 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:07 <filipe858585> http://pastebin.com/raw/aPvSFnQu | ||
2016-02-09 21:07 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:11 <cedk> filipe858585: in 3.6 the Report API has been refactorized and there is no more date keyword on format_date function | ||
2016-02-09 21:11 <cedk> filipe858585: so your template must be updated if you have customized it | ||
2016-02-09 21:12 <filipe858585> i have not customized it | ||
2016-02-09 21:12 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:13 <cedk> filipe858585: which report exactly? | ||
2016-02-09 21:13 <filipe858585> in spanish is libro diario, se traduciria para dayly report maybe... its the last one just before the amortization report... | ||
2016-02-09 21:14 <cedk> filipe858585: order doesn't mean nothing | ||
2016-02-09 21:14 <cedk> filipe858585: but I don't think it is a standard report | ||
2016-02-09 21:17 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:21 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:26 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:31 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:35 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:40 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:45 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:49 -!- fran_arg(b5e41a8f@gateway/web/freenode/ip.181.228.26.143) has joined #tryton | ||
2016-02-09 21:49 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:50 <fran_arg> hello | ||
2016-02-09 21:51 -!- fran_arg(b5e41a8f@gateway/web/freenode/ip.181.228.26.143) has left #tryton | ||
2016-02-09 21:54 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 21:59 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:04 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:08 -!- nicoe(~nicoe@2a02:a03f:30a9:300:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2016-02-09 22:10 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:10 -!- fran_arg(b5e41a8f@gateway/web/freenode/ip.181.228.26.143) has joined #tryton | ||
2016-02-09 22:11 <fran_arg> hello. i'm having a problem with account-invoice-ar | ||
2016-02-09 22:11 <fran_arg> can anyone, please, help me? | ||
2016-02-09 22:13 <cedk> fran_arg: don't ask to ask, just ask | ||
2016-02-09 22:14 <fran_arg> ok! | ||
2016-02-09 22:14 <fran_arg> When I call the post function of invoice module, I have this error message | ||
2016-02-09 22:14 <fran_arg> ProgrammingError: can't adapt type 'account.invoice' | ||
2016-02-09 22:15 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:18 <fran_arg> when I look in the traceback, found that the invoice on the account-invoice-ar module make an independent connection to the database, using the with statement | ||
2016-02-09 22:18 <fran_arg> ...and deleting that lines, make the whole thing works | ||
2016-02-09 22:18 <fran_arg> sorry for my english, it's not my native language | ||
2016-02-09 22:19 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:20 <cedk> fran_arg: could you give a link to the code | ||
2016-02-09 22:21 <fran_arg> sorry, I don't know how. Can I give you the link on the google group where I post it? | ||
2016-02-09 22:22 <cedk> fran_arg: where is hosted the code? | ||
2016-02-09 22:24 <fran_arg> I'm afraid I'm goign to sound like a total noob. The code is on my laptop | ||
2016-02-09 22:24 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:26 <fran_arg> this is where i posted the problem | ||
2016-02-09 22:26 <fran_arg> https://groups.google.com/forum/?hl=es#!topic/tryton-ar/93UU1vn22wA | ||
2016-02-09 22:26 <cedk> fran_arg: but you have downloaded it from somewhere | ||
2016-02-09 22:27 <fran_arg> Yes! I'm working with the 3.4 version of tryton. On it, I downloaded the account-invoice-ar.... | ||
2016-02-09 22:27 <cedk> fran_arg: from where? | ||
2016-02-09 22:28 <fran_arg> www.tryton.org.ar | ||
2016-02-09 22:29 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:29 <fran_arg> The thing is that I'm trying to make a Sale_POS module that works with the account-invoice-ar module | ||
2016-02-09 22:30 <fran_arg> when I call the post function, I'm having that error | ||
2016-02-09 22:30 <cedk> ACTION will never understand people who write non-english code | ||
2016-02-09 22:31 <cedk> fran_arg: I guees the correct code should be: self.id instead of self | ||
2016-02-09 22:31 <fran_arg> I tried with self.id, but have a different error | ||
2016-02-09 22:32 <fran_arg> give a sec, I will change that line, and paste the trace | ||
2016-02-09 22:33 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:35 <fran_arg> this is it... | ||
2016-02-09 22:35 <fran_arg> IntegrityError: insert or update on table "account_invoice_ar_afip_transaction" violates foreign key constraint "account_invoice_ar_afip_transaction_invoice_fkey" DETAIL: Key (invoice)=(193) is not present in table "account_invoice". | ||
2016-02-09 22:36 <fran_arg> instead of self.id, when I use an integer (eg. '3' ), the thing works | ||
2016-02-09 22:36 <cedk> fran_arg: so you have somewhere some code that is wrong | ||
2016-02-09 22:37 <fran_arg> yes, thats the thing | ||
2016-02-09 22:37 <cedk> fran_arg: because you have an instance of invoice that doesn't exist in the table | ||
2016-02-09 22:38 <cedk> by just looking at the code, having a method that is more than 3 screens long, I wish good luck to find it | ||
2016-02-09 22:38 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:38 <fran_arg> When I deleted or comment that lines, it's go on great | ||
2016-02-09 22:38 <cedk> fran_arg: I think you should get in touch with the author | ||
2016-02-09 22:39 <cedk> fran_arg: of course but I guess it is not doing something required | ||
2016-02-09 22:42 <fran_arg> Yes! But, when I change that lines of code, using the same connection to the database, works great. Did I make myself clear on this? | ||
2016-02-09 22:43 -!- fil85858(58166d02@gateway/web/freenode/ip.88.22.109.2) has joined #tryton | ||
2016-02-09 22:43 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:46 <cedk> fran_arg: and what do you change? | ||
2016-02-09 22:48 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:48 <fran_arg> wait, I would paste that lines | ||
2016-02-09 22:48 <fran_arg> AFIP_Transaction = pool.get('account_invoice_ar.afip_transaction') with Transaction().new_cursor(): AFIP_Transaction.create([{'invoice': self, 'pyafipws_result': ws.Resultado, 'pyafipws_message': msg, 'pyafipws_xml_request': ws.XmlRequest, 'pyafipws_xml_response': ws.XmlResponse, | ||
2016-02-09 22:49 <fran_arg> sorry | ||
2016-02-09 22:49 <fran_arg> i will try again | ||
2016-02-09 22:49 <cedk> fran_arg: please use a pastebin instead of copy/paste in the channel | ||
2016-02-09 22:49 <fran_arg> ok! | ||
2016-02-09 22:51 <fran_arg> http://pastebin.com/6qYd3zNx | ||
2016-02-09 22:51 <fran_arg> Is the first time I use pastebin | ||
2016-02-09 22:51 <fran_arg> that's the lines | ||
2016-02-09 22:51 <cedk> fran_arg: so with this code it works? | ||
2016-02-09 22:52 <fran_arg> no, that is the code that doesn't work when you call the post invoice function | ||
2016-02-09 22:52 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:52 <fran_arg> ...from somewhere else | ||
2016-02-09 22:53 <cedk> fran_arg: from where? | ||
2016-02-09 22:53 <fran_arg> when I comment that code, works great | ||
2016-02-09 22:54 <cedk> ACTION I'm lost | ||
2016-02-09 22:54 <fran_arg> sorry, my bad | ||
2016-02-09 22:55 <fran_arg> when I comment that code and I call the post invoice function from the model (sale) on the module I'm working it | ||
2016-02-09 22:57 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 22:58 <cedk> fran_arg: of course it works if you comment the code that doesn't work | ||
2016-02-09 22:58 <cedk> fran_arg: but it doesn't solve anything | ||
2016-02-09 22:58 <cedk> fran_arg: you should report to the authors that the code should be: self.id | ||
2016-02-09 22:58 <cedk> fran_arg: and that there is a foreign key issue | ||
2016-02-09 23:00 <fran_arg> ok! Thanks for your time. I report it to the authors, but had no answer. I would tryied to solve with this information | ||
2016-02-09 23:00 <fran_arg> 'reported' | ||
2016-02-09 23:01 <fran_arg> Bye | ||
2016-02-09 23:01 <cedk> nobody from Argentina? | ||
2016-02-09 23:02 <cedk> fran_arg: you must find where comes the id that is not a account_invoice id | ||
2016-02-09 23:02 -!- mariomop_(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:02 <fran_arg> ok | ||
2016-02-09 23:04 <cedk> fran_arg: it is probably an instance that is re-instantiated but with the wrong class | ||
2016-02-09 23:05 <cedk> fran_arg: ha no, I think I know what it is | ||
2016-02-09 23:05 <cedk> fran_arg: it is not a bad id but just an id created inside the first transaction which is not visible in the new transaction | ||
2016-02-09 23:05 <cedk> fran_arg: this is a design issue | ||
2016-02-09 23:06 <fran_arg> ok. that's great. | ||
2016-02-09 23:06 <cedk> fran_arg: I don't know why they start a new transaction to do this write | ||
2016-02-09 23:06 <cedk> fran_arg: it is just my guess, I did not run any code/test | ||
2016-02-09 23:06 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:06 <fran_arg> because, it is used to log the information from a web service | ||
2016-02-09 23:07 <cedk> fran_arg: what is the point? | ||
2016-02-09 23:07 <cedk> fran_arg: if you want log, just use logging | ||
2016-02-09 23:07 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton | ||
2016-02-09 23:07 <fran_arg> sorry, perhaps my english it is not as good as i think | ||
2016-02-09 23:08 <fran_arg> the account-invoice-ar module allows to connect to AFIP (I think is like IRS on the US) | ||
2016-02-09 23:08 <fran_arg> so, you can make electronic invoices | ||
2016-02-09 23:09 <fran_arg> using AFIP web services | ||
2016-02-09 23:09 <fran_arg> i will come back in a sec. wait | ||
2016-02-09 23:10 <meanmicio> fran_arg : People from gcoop and friends from Thymbra can help you out on that one | ||
2016-02-09 23:10 <cedk> fran_arg: this is the culpitre commit: https://github.com/tryton-ar/account_invoice_ar/commit/fab819497ec806440c7b2865b757f3e9846d47fa | ||
2016-02-09 23:12 <cedk> fran_arg: I put a comment on the commit | ||
2016-02-09 23:12 <fran_arg> ok | ||
2016-02-09 23:12 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:12 <fran_arg> thanks | ||
2016-02-09 23:12 <cedk> fran_arg: for me, you could remove the new_cursor call | ||
2016-02-09 23:12 <cedk> fran_arg: but better to check with authors | ||
2016-02-09 23:14 <fran_arg> no, because the idea is to have the AFIP response when you call the web service. so, in case that is something wrong with the party you are making the invoice, or with the taxes of the sale lines, it saves the response to the account_invoice_ar_afip_transaction | ||
2016-02-09 23:15 <cedk> fran_arg: but for what goal? | ||
2016-02-09 23:15 <cedk> fran_arg: what is the point to store information about an invoice id that will never exist? | ||
2016-02-09 23:15 <fran_arg> to know what goes wrong with the request | ||
2016-02-09 23:15 <cedk> fran_arg: logging | ||
2016-02-09 23:16 <cedk> you can not make logging inside the database, it can not work | ||
2016-02-09 23:16 <cedk> database is transactionel, logging is just append | ||
2016-02-09 23:17 <cedk> ACTION bbl | ||
2016-02-09 23:17 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:21 -!- fran_arg(b5e41a8f@gateway/web/freenode/ip.181.228.26.143) has left #tryton | ||
2016-02-09 23:22 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:26 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:31 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:36 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:40 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:45 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:50 -!- mariomop(~quassel@190.7.7.74) has joined #tryton | ||
2016-02-09 23:56 -!- mariomop(~quassel@190.7.7.74) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!