IRC logs of #tryton for Tuesday, 2016-08-02

chat.freenode.net #tryton log beginning Tue Aug 2 00:00:02 CEST 2016
2016-08-02 00:07 -!- JosDzG(~Thunderbi@189.148.162.247) has joined #tryton
2016-08-02 00:10 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 00:42 -!- JosDzGx(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-08-02 01:16 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-08-02 01:23 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-08-02 01:30 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 03:12 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 03:20 -!- robink_(~quassel@unaffilated/robink) has joined #tryton
2016-08-02 03:30 -!- shrox(shrox@nat/iiit/x-lplnhtqgmdjivtlw) has joined #tryton
2016-08-02 03:37 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 04:36 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 05:54 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 06:50 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 07:04 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 07:13 -!- meigallodixital(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 07:41 -!- rpit(~rpit@2a02:908:e674:5940:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-08-02 07:55 -!- Timitos(~kpreisler@tmo-125-90.customers.d1-online.com) has joined #tryton
2016-08-02 08:17 -!- gytis(~gytis@v100.nfq.lt) has joined #tryton
2016-08-02 08:56 -!- xcodinas(~xcodinas@91.126.76.2) has joined #tryton
2016-08-02 08:56 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton
2016-08-02 08:56 -!- prayashm(~prayashm@103.194.233.35) has joined #tryton
2016-08-02 08:56 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-08-02 09:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-08-02 09:21 -!- Timitos(~kpreisler@fw.schloss-tempelhof.de) has joined #tryton
2016-08-02 10:16 -!- meigallodixital_(~meigallod@188.72.113.59) has joined #tryton
2016-08-02 10:19 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2016-08-02 10:21 -!- prayashm(~prayashm@103.194.233.35) has joined #tryton
2016-08-02 10:21 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-08-02 10:50 <prayashm> How should I write tests for import/export? I read about QUnit. Going through tests/sao.js.
2016-08-02 10:51 <cedk> prayashm: it is going to be very difficult because it will require to have a trytond server running
2016-08-02 10:51 <cedk> prayashm: but you can try to test some methods
2016-08-02 10:54 <prayashm> cedk: Thanks. I will ask if I get stuck.
2016-08-02 10:59 <cedk> prayashm: do not worry too much, in Tryton the GUI is not really tested automatically
2016-08-02 11:50 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-08-02 11:53 -!- VaticanC_(~VaticanCa@110.172.184.114) has joined #tryton
2016-08-02 11:53 <prayashm> cedk: Oh alright. :)
2016-08-02 11:56 <g5pw> hey all! I'm dealing with a bug when creating sequences: if sequence.last_timestamp > next_timestamp:
2016-08-02 11:56 <g5pw> TypeError: unorderable types: NoneType() > int()
2016-08-02 11:56 <g5pw> is this known?
2016-08-02 12:14 <cedk> g5pw: yes and fixed
2016-08-02 12:15 -!- Vatican__(~VaticanCa@110.172.184.114) has joined #tryton
2016-08-02 12:18 <pokoli> g5pw: https://bugs.tryton.org/issue5591 :)
2016-08-02 12:22 <g5pw> oh :/ I just installed from pip though, is the fix already released?
2016-08-02 12:32 <pokoli> g5pw: not released, but you can manually apply the patch if needed
2016-08-02 12:33 <g5pw> ok, thank you
2016-08-02 12:40 <cedk> I planned to do some releases this week
2016-08-02 13:09 -!- zprayash(~prayash@103.194.233.35) has joined #tryton
2016-08-02 13:10 -!- prayashm2(~banjarahi@103.194.233.35) has joined #tryton
2016-08-02 13:11 -!- mariomop(~quassel@181.88.217.11) has joined #tryton
2016-08-02 13:13 -!- meigallodixital(~meigallod@172.94.112.6) has joined #tryton
2016-08-02 13:37 <g5pw> thanks pokoli and cedk, I applied the patch and now it works :)
2016-08-02 14:50 <g5pw> Hello! is there any way to import gnucash transaction in tryton? we are trying to switch and having past transactions would be useful.
2016-08-02 15:11 <pokoli> g5pw: there is no module that i'm aware, but as far as gnucash can be exported in a readable format it should be doable
2016-08-02 15:12 <g5pw> aha, something like gnucash -> csv -> tryton
2016-08-02 15:17 <pokoli> g5pw: normally accounting migrations are a llittle bit more complex as you have several relations
2016-08-02 15:17 <pokoli> g5pw: the easier option is to migrate only the initial balance with a manually entered initial move
2016-08-02 15:22 <g5pw> well, yeah, you'd have to migrate parties, invoices, etc
2016-08-02 15:23 <pokoli> g5pw: yes for parties, invoices are not necessary as you have the balance in the accounting moves
2016-08-02 15:23 <pokoli> g5pw: so as far as you have the amount in the customer account tryton will compute correctly the amount to pay for the party
2016-08-02 15:40 <cedk> g5pw: usually we write proteus script for such migration
2016-08-02 15:40 <cedk> g5pw: you can find example here: http://hg.b2ck.com/openerp2tryton/
2016-08-02 15:40 <g5pw> I see, thanks!
2016-08-02 15:41 <g5pw> right now I need to reinstall everything in python2 because trytond-contract does not work with python3 :D
2016-08-02 15:53 <pokoli> g5pw: you can try using 2to3 to convert it to python3
2016-08-02 15:54 <g5pw> heh, I just reinstalled in a separate virtualenv for now :)
2016-08-02 16:00 <cedk> g5pw: be aware of https://bugs.tryton.org/issue5760
2016-08-02 16:01 <g5pw> oh, fresh from the presses, cedk ๐Ÿ˜Š thanks!
2016-08-02 16:01 <g5pw> is it derived from https://bitbucket.org/nantic/trytond-contract/src?
2016-08-02 16:15 <pokoli> g5pw: it's not the same, as nantic one is focused on invoicing, and this is focused managing the contracts, and generating the contract document using templates
2016-08-02 16:15 <pokoli> g5pw: you can find the discussion on: https://discuss.tryton.org/t/contract-management/165
2016-08-02 16:15 <g5pw> yeah, I noticed from the discussion associated with the bug
2016-08-02 16:16 <pokoli> g5pw: but I'm also interessed on invoicing contracts :P
2016-08-02 16:17 <cedk> pokoli: I do not think you invoice a contract
2016-08-02 16:17 <g5pw> I'll take a look at the implementation and see if I can contribute something, althugh tryton is still a bit esoteric to me ๐Ÿ˜Š
2016-08-02 16:17 <pokoli> cedk: no you invoice some services related to it
2016-08-02 16:31 <cedk> pokoli: so there is nothing to do
2016-08-02 16:34 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-08-02 16:35 <pokoli> cedk: generate the tasks to do the services :)
2016-08-02 16:36 <cedk> pokoli: I do not think neither that a contract generate tasks
2016-08-02 16:37 <cedk> pokoli: but you could have a reference to the contract on the task
2016-08-02 16:38 <pokoli> cedk: I think the part about generating the tasks is quite specific, so I understand this is customization.
2016-08-02 16:38 <pokoli> cedk: and Yes, I agree that tasks can reference a contract
2016-08-02 16:38 -!- maylay_work(~meiryo@131.94.186.70) has joined #tryton
2016-08-02 16:55 <g5pw> is there any website to familiarize myself with some tryton terms like "journal", etc?
2016-08-02 17:00 <pokoli> g5pw: The account doc may be a good starting point http://doc.tryton.org/4.0/modules/account/doc/index.html
2016-08-02 17:01 <cedk> g5pw: maybe: https://en.wikipedia.org/wiki/Special_journals
2016-08-02 17:04 <g5pw> I went through the account docs, but that explains what data is contained in journal entries, and not what it is, or what it's used for. I'm not really an accountant, just a programmer :)
2016-08-02 17:09 <cedk> g5pw: journal is useful only in the eyes of accountant
2016-08-02 17:09 <cedk> g5pw: it is a way to classify operations
2016-08-02 17:10 <g5pw> well, in this case I'm a programmer and would-be accountant (needed for operations at our hackerspace)
2016-08-02 17:10 <g5pw> :)
2016-08-02 17:10 <g5pw> aha, thanks for the explanations
2016-08-02 17:10 <cedk> g5pw: it comes from past, where accounting was done on paper
2016-08-02 17:10 <g5pw> I'm messing with journals because nantic-contracts needs them
2016-08-02 17:14 <cedk> g5pw: where does it need?
2016-08-02 17:14 <g5pw> when I generate contract consumptions, it says that I need to configure a journal
2016-08-02 17:16 <cedk> g5pw: no idea what it is
2016-08-02 17:18 <pokoli> g5pw: you should define the journal used to invoice the contracts in the contract configuration
2016-08-02 17:18 <g5pw> thanks pokoli, I'll go check ๐Ÿ˜Š
2016-08-02 17:19 <cedk> pokoli: why does it not choose the default journal?
2016-08-02 17:20 <g5pw> yup, that was it, thanks for the help! :)
2016-08-02 17:21 <pokoli> cedk: don't know, it was introduced recently: https://bitbucket.org/nantic/trytond-contract/commits/350ea54773aebfb7131b9a621e2df80a203704a5
2016-08-02 17:24 <cedk> pokoli: strange, because it is always possible to change the journal on the invoice
2016-08-02 17:24 <cedk> and this is usually something that project managers do not care about
2016-08-02 17:30 -!- shrox(shrox@nat/iiit/x-ywmkfwmhdrtqsyip) has joined #tryton
2016-08-02 19:07 -!- JosDzG(~Thunderbi@189.148.162.247) has joined #tryton
2016-08-02 20:32 -!- csotelo(~csotelo@190.40.212.233) has joined #tryton
2016-08-02 20:33 <csotelo> Hello Dear Coders
2016-08-02 20:33 <csotelo> Hi cedk .. let me ask directly on deposit module since you were full involved please
2016-08-02 20:34 <csotelo> before it.. let em prepare an scenary fort make a clear and smart question
2016-08-02 20:36 <cedk> csotelo: if it is a long question, it is probably better to ask on mailing list
2016-08-02 20:36 -!- shrox(shrox@nat/iiit/x-iwyfjrearwnwyaja) has joined #tryton
2016-08-02 20:37 <csotelo> cedk, no long.. just looking to understand why... just I want to make a clear as possble
2016-08-02 20:44 <csotelo> let mne explain an scenary..
2016-08-02 20:49 <csotelo> I am doing a deposit for Carlos Sotelo of USD 100.00, as a rule each deposit is an invoice and is affected to taxes, the tax is 18%, the the calculation with taxes says that the ammount for been invoiced is 18%. I will buy a product named MyProduct wich one his cost is USD 200. Then the taxes will be USD 36.00, with a total of USD 236.00. When I call deposit, it just call the USD 100.00 with out the taxes payed on before ( USD 18.00 ) and the the
2016-08-02 20:49 <csotelo> invoice tell that I must pay USD 136.00, cause 200 ( Product cost ) plus USD 36.00 ( taxes ) less 100.00 ( deposit without the taxes payed )
2016-08-02 20:50 <csotelo> when the right ammount for been payed must be USD 118.00 since the depรณsit have its own payed taxes
2016-08-02 20:50 <csotelo> please suggest
2016-08-02 20:50 <cedk> csotelo: deposit should not be taxed
2016-08-02 20:51 <csotelo> then I have an issue there.. since I will invoiced, then must taxed it...
2016-08-02 20:51 <csotelo> issue on my side
2016-08-02 20:51 <csotelo> any suggest?
2016-08-02 20:51 <cedk> csotelo: I do not understand your logic
2016-08-02 20:51 <cedk> csotelo: deposits are not subject of taxes
2016-08-02 20:52 <cedk> ACTION bbl
2016-08-02 20:52 <csotelo> on my country any way of money received must be taxed
2016-08-02 20:53 <csotelo> probably I must do an extension for make the taxes movement on a deposit, right?
2016-08-02 20:53 <csotelo> what do you think?
2016-08-02 21:44 <pokoli> csotelo: but you have to declare the deposits and the taxes to your country regulation?
2016-08-02 21:45 -!- shrox(shrox@nat/iiit/x-bfxarlunolkpvqmw) has joined #tryton
2016-08-02 21:48 <cedk> csotelo: what is your country?
2016-08-02 21:51 <cedk> csotelo: but any way, you can add also the same tax on the recall line
2016-08-02 23:13 <csotelo> cedk, sounds great!
2016-08-02 23:14 <csotelo> I am from Peru
2016-08-02 23:14 <csotelo> pokoli, yes.. any kind of income that generate a payment document required taxes declaration
2016-08-02 23:17 <csotelo> I just call the accountant in order to ask about that.. since.. as I understood, a desposit is not a sell, and just sells must have tasks, however accountant told me that any kind of incomming money must be declarated and invoiced
2016-08-02 23:17 <csotelo> and any invoice must declare taxes
2016-08-02 23:18 <csotelo> since the deposit is a kind of income, then must been invoiced and declarate taxes

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