IRC logs of #tryton for Tuesday, 2015-12-29

chat.freenode.net #tryton log beginning Tue Dec 29 00:00:01 CET 2015
2015-12-29 02:09 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-29 02:21 -!- perilla_(~perilla@191.100.45.99) has joined #tryton
2015-12-29 02:59 -!- perilla__(~perilla@191.100.45.99) has joined #tryton
2015-12-29 05:38 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2015-12-29 06:00 -!- yangoon1(~mathiasb@p549F0D80.dip0.t-ipconnect.de) has joined #tryton
2015-12-29 06:44 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-29 07:40 -!- frispete_(~frispete@p54A9114C.dip0.t-ipconnect.de) has joined #tryton
2015-12-29 07:58 -!- leio_(~leio@gentoo/developer/leio) has joined #tryton
2015-12-29 08:11 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2015-12-29 08:18 -!- nicoe(~nicoe@2a02:a03f:3079:3200:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-12-29 08:22 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-12-29 08:40 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2015-12-29 09:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-29 10:24 -!- perilla_(~perilla@191.100.45.99) has joined #tryton
2015-12-29 10:25 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-12-29 11:48 -!- frispete(~frispete@p54A9114C.dip0.t-ipconnect.de) has joined #tryton
2015-12-29 12:07 -!- mariomop(~quassel@host100.190-136-215.telecom.net.ar) has joined #tryton
2015-12-29 12:16 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2015-12-29 12:54 -!- csotelo(~csotelo@181.66.29.196) has joined #tryton
2015-12-29 12:59 -!- kstenger(~karla@r167-56-242-182.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-12-29 13:08 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-12-29 13:41 -!- csotelo_(~csotelo@181.66.29.196) has joined #tryton
2015-12-29 13:43 -!- csotelo_(~csotelo@181.66.29.196) has joined #tryton
2015-12-29 14:26 <dj_xatra> I'm trying "pip install trytond" on Ubuntu 14.04, but it fails on file Python.h. http://dpaste.com/2TKVZVY
2015-12-29 14:26 <dj_xatra> What am I missing?
2015-12-29 14:27 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2015-12-29 14:35 -!- perilla_(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2015-12-29 14:44 -!- smarro(~sebastian@190.105.71.186) has joined #tryton
2015-12-29 14:48 <rmu> dj_xatra: you need to install python-dev or something like that
2015-12-29 14:53 <dj_xatra> rmu: Thank, that got me 1 step further. Now it fails on libxml/xmlversion.h. I suppose that needs libxml2-dev.
2015-12-29 14:53 <dj_xatra> Should I report a bug to update tryton docs with these requirements?
2015-12-29 15:00 <dj_xatra> Hm, libxml2-dev gives me /usr/include/libxml2 instead of lxml
2015-12-29 15:08 <dj_xatra> Ah, libxslt1-dev is also needed. I'd better at least write some internal docs, because my colleagues will never figure this out.
2015-12-29 15:18 <cedk> dj_xatra: use the package manager of your distribution
2015-12-29 15:18 <cedk> dj_xatra: we will not update the documentation about distribution specific packages
2015-12-29 15:21 <dj_xatra> cedk: Ubuntu 14.04 has Tryton 3.0.2. I thought I'd just go for the newest version. Tryton docs have a section "Installing an official release with pip", so that seemed the way to go to me.
2015-12-29 15:22 <cedk> dj_xatra: but we are not responsible for the bad packaging of your distribution
2015-12-29 15:22 <cedk> dj_xatra: not distribute headers is their problem
2015-12-29 15:23 <dj_xatra> 'aptitude install python-dev libxml2-dev libxslt1-dev zlib1g-dev' eventually did get me all the headers. But I had to figure out the package names myself.
2015-12-29 15:24 <cedk> dj_xatra: you should know your distribution
2015-12-29 15:26 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton
2015-12-29 15:28 <dj_xatra> cedk: Tryton docs make it seem like pip install Just Works. I was not expecting errors about header files for which I should dig around to find out package names. A heads up in the docs in the docs would be nice.
2015-12-29 15:29 <dj_xatra> I'm trying to sell Tryton to my colleagues as the greates thing since sliced bread. They're used to a Windowsy environment. This is going to get me some frowning.
2015-12-29 15:35 <cedk> dj_xatra: why should we document Ubuntu packages and not all the others distribution arround the world
2015-12-29 15:35 <cedk> dj_xatra: this is not a task for Tryton but for each distribution
2015-12-29 15:36 <cedk> dj_xatra: and by the way, they should update their Tryton packages if they want really help their users
2015-12-29 15:36 <cedk> dj_xatra: Tryton never tells you to use Ubuntu, so use one distribution that you know
2015-12-29 15:39 <dj_xatra> cedk: I'm all for being distro agnostic. But I would welcome a phrase like "you probably have to install some development packages".
2015-12-29 15:40 <dj_xatra> cedk: or "... development packages like python-dev ...". Less agnostic, but that would already cover a lot of users and rest would have an easier time figurig this out, imho.
2015-12-29 15:41 <cedk> dj_xatra: what is development packages?
2015-12-29 15:41 <cedk> dj_xatra: most of the OS I know comes with the headers
2015-12-29 15:41 <cedk> dj_xatra: what is python-dev? for me I don't know what it is?
2015-12-29 15:41 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2015-12-29 15:41 <cedk> dj_xatra: you seem to be Ubuntu/Debian centric
2015-12-29 15:42 <dj_xatra> cedk: Debian based distros have header files in their own packages, e.g. http://packages.ubuntu.com/trusty/python-dev
2015-12-29 15:42 <cedk> I never understood why those distributions don't distribute the headers
2015-12-29 15:42 <dj_xatra> cedk: I'm using the OS that my employer has set up for me to use with Tryton.
2015-12-29 15:43 <cedk> dj_xatra: yes Debian specific politics so if you choose such distribution you should know about their weird behaviour
2015-12-29 15:43 <cedk> it is not the problem of Tryton
2015-12-29 15:52 <dj_xatra> cedk: I can understand your opinion, but regular users usually don't need header files. Maybe most of them are happy with the older Tryton packages provided by the distro, but still I believe not documenting this is a hurdle in the acceptance of Tryton.
2015-12-29 15:52 <dj_xatra> But I suspect I won't convince you, so I won't argue it any longer.
2015-12-29 15:53 <dj_xatra> Maybe I'll write a blog post about it and hope that it will show up in search engine results.
2015-12-29 15:54 <cedk> dj_xatra: you simple don't give any good information to put
2015-12-29 15:55 <cedk> dj_xatra: why should we document Ubuntu specific package and not all other distribution that exist in the world?
2015-12-29 15:55 <cedk> dj_xatra: Tryton documentation goals is not about documenting the job of the package manager
2015-12-29 16:00 <kstenger> ACTION sugests http://askubuntu.com/ as a good resource for posting such information dj_xatra
2015-12-29 16:00 <dj_xatra> cedk: I'm pretty sure there are ongoing efforts to converge package names across distros, e.g. http://www.enricozini.org/2012/debian/giving-away-distromatch/. So the list of required packages for 1 distro will be the same or very similar for a lot of other distros.
2015-12-29 16:03 <cedk> dj_xatra: all the distribution I use don't have at all python-dev package
2015-12-29 16:03 <cedk> dj_xatra: your still Debian/Ubuntu centric
2015-12-29 16:07 <dj_xatra> On Fedora it's called python-devel. Whatever. That's a lot easier to find if docs say 'install something like python-dev' than when they say nothing at all.
2015-12-29 16:08 <cedk> dj_xatra: so we will have fedora people telling us they don't find python-dev package
2015-12-29 16:08 <cedk> dj_xatra: great now we have more problems
2015-12-29 16:12 -!- smarro(~sebastian@190.105.71.186) has joined #tryton
2015-12-29 16:12 <dj_xatra> Nevermind. Maybe we can continue this discussion when/if my employer has a need for your professional services. :)
2015-12-29 16:12 <dj_xatra> My work day is at an end. Cya later.
2015-12-29 16:13 <cedk> dj_xatra: "professisonal"?????
2015-12-29 16:14 <dj_xatra> cedk: aren't you the one who runs B2CK?
2015-12-29 16:15 <cedk> dj_xatra: I don't see the point
2015-12-29 16:16 <dj_xatra> You don't provide training/consultancy around Tryton?
2015-12-29 16:17 <cedk> dj_xatra: I don't see the link with the installation documentation
2015-12-29 16:18 <dj_xatra> No direct link, just a conversation topic if we might meet in person :)
2015-12-29 16:18 -!- hectorh30(~hectorh30@190.149.223.38) has joined #tryton
2015-12-29 16:25 -!- vcardon(~vcardon@LPoitiers-656-1-239-185.w193-252.abo.wanadoo.fr) has joined #tryton
2015-12-29 16:26 -!- vcardon(~vcardon@LPoitiers-656-1-239-185.w193-252.abo.wanadoo.fr) has left #tryton
2015-12-29 18:08 <csotelo_> Dear coders, I am trytin to understand the relation between sale and invoice, I had undertood that "an invoice is the document for a sale used for accounting processes", on tryton I have seen that are completely differents and hace different models and entities, and that is confusing me, could you helping me to understand that?
2015-12-29 18:13 <cedk> csotelo_: it is different models because a sale can generate many invoices
2015-12-29 18:13 <cedk> csotelo_: for example, you can generate one invoice each time some products are shipt
2015-12-29 18:15 <csotelo_> thanks cedk, that is a help ( I was trytin to find the relation between sale and invoice ), I will continue
2015-12-29 18:19 <cedk> csotelo_: the sale manage all the business workflow like ensuring product are sent or invoiced etc.
2015-12-29 18:19 <cedk> csotelo_: invoice is just the accounting document that request money from customer
2015-12-29 18:23 <csotelo_> cedk, I am tryng to understand it in order to implement it, as a POS, where the process is smaller, and each sale have and invoice, there is a payment, and invoices allways are paid inmediately, but I must understand how is tryton in order on working on the right way, I have building, coding and tetsing many py modules on task that were implemented on the tryton as usual workflows, I guess I just need to implement or create custom modules from the
2015-12-29 18:23 <csotelo_> generic.. then I need to understand it well
2015-12-29 18:23 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-29 18:29 <cedk> csotelo_: normally a POS doesn't create any invoice by default
2015-12-29 18:34 -!- kstenger(~karla@r167-56-242-182.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-12-29 19:05 <csotelo_> cedk, then how to manage payments or money received?
2015-12-29 19:06 <csotelo_> as I have understood ( here on peru manage an invoice on two reports printing ( balet and simple invoice ) ), but always, always an invoice msut be created
2015-12-29 19:06 <csotelo_> well, I understand that
2015-12-29 19:08 <cedk> csotelo_: what you call an invoice is not necessary an invoice in Tryton
2015-12-29 19:09 <cedk> csotelo_: because most of the time when doing POS, you don't know the party while Tryton requires to have a party on the invoice
2015-12-29 19:19 <csotelo_> cedk, you are completely right
2015-12-29 19:21 <csotelo_> according peruvian laws, POS print tickets, however these tickets have the same behavior of an invoice, for normal invoincing a party is needed, but for simple invoincg, no party is needing
2015-12-29 19:21 <csotelo_> SUNAT ( the taxing authority allways require invoicing )
2015-12-29 19:23 <csotelo_> my question is related directly for health ( gnu health ) , then I need something like a POS, since there is cashiers and there is an cash open process and cash close process for selling health services
2015-12-29 19:24 <csotelo_> what do you suggest for it? is like a special POS, right?
2015-12-29 19:24 <cedk> csotelo_: as I already told you Tryton doesn't have yet a POS
2015-12-29 19:25 <csotelo_> cedk, yes, I know that, also I have read your code on your POS for tryton, trying to understand the right process, then my question is related to that. since the process on healthy services are not as a common workflow
2015-12-29 19:32 <cedk> csotelo_: I don't see any questions
2015-12-29 19:36 <csotelo_> sorry, do you think that I must create a POS for health services? or just make a custom invoice process with a similar pos behavior?
2015-12-29 19:38 <cedk> csotelo_: I don't know
2015-12-29 19:40 <cedk> csotelo_: it depends of the requirements
2015-12-29 19:40 <csotelo_> ok,.. I gues .. is no wrong creating something like a POS, no exactly a POS,
2015-12-29 19:40 <cedk> csotelo_: I guess we can say that inside a health institution, all the patient are known and so you create invoices
2015-12-29 19:41 <csotelo_> that is an issue o the implementation here
2015-12-29 19:41 <cedk> csotelo_: I knonw there is something for the pharmacy which is not yet flexible
2015-12-29 19:41 <cedk> csotelo_: and you can just use the pay button on the invoice for cash management
2015-12-29 19:42 <csotelo_> for exmaple, here on Peru there are two big groups ( also on public and private ) healthy professionals consulting offices building and healthy buildings
2015-12-29 19:43 <csotelo_> healthy buildings, all healthy offers 1. health professional appointments 2, pharmacy, and healthy services
2015-12-29 19:43 <csotelo_> then, before using some of theses three categories items, a payment is required
2015-12-29 19:44 <csotelo_> no appoitment could be prepared withput paayment ( also on public institutions )
2015-12-29 19:44 <csotelo_> no services given without payment
2015-12-29 19:45 <csotelo_> and, on private, before a patient is hospitalized, must do a payment on guarrantee and and invoice is created
2015-12-29 19:45 <csotelo_> after the hospitalization, before the patient gone, must do a payment
2015-12-29 19:46 <csotelo_> on public health institutions, before the patient go home, must do the services payment
2015-12-29 20:01 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-12-29 20:49 -!- perilla_(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2015-12-29 22:33 -!- kstenger1(~karla@r167-56-240-182.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-12-29 22:37 -!- kstenger(~karla@r167-56-240-182.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-12-29 22:52 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has left #tryton
2015-12-29 23:03 -!- perilla_(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton

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