IRC logs of #tryton for Tuesday, 2017-05-16

chat.freenode.net #tryton log beginning Tue May 16 00:00:01 CEST 2017
-!- kstenger1(~karla@r167-56-244-182.dialup.adsl.anteldata.net.uy) has joined #tryton01:30
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton01:33
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:38
-!- csotelo(~csotelo@2001:1388:49c5:c777:4765:c7f7:d5b:f6d7) has joined #tryton04:58
-!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton05:08
-!- smarro(~sebastian@181.16.7.104) has joined #tryton05:48
-!- thaneor(~ldlc6@179.26.147.178) has joined #tryton06:23
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:29
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:38
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:50
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:52
-!- rpit(~rpit@aftr-37-24-149-240.unity-media.net) has joined #tryton09:29
sisalphello, when I create a new invoice and select a product on a line of invoice, the unit_price doesn't come up. A mistake or a bug ?10:19
pokolisisalp: is the expected behaviour on latest versions. Let me search the issue on the bug tracker10:20
pokolisisalp: https://bugs.tryton.org/issue485710:21
sisalppokoli: Cedric says users expect it works as sale, but it doesn't. Anyone knows why it shouldn't ?10:25
cedksisalp: if you want sale behaviour, use sale10:26
cedksisalp: invoice does not behave like sale because it would require to develop everything from sale to invoice10:26
sisalpcedk: just explain the reason, please10:26
cedksisalp: and we do not want duplicate our work10:26
sisalpcedk: thank you10:27
sisalpcedk: this is my case : I sell, then I post a wrong invoice, then credit it and issue a new corrected invoice. It is still the same sale isn't it ?10:28
sisalpcedk: my first concern is to use a selling function when I belong to accounting team.10:30
cedksisalp: I do not understand the question10:32
pokolisisalp: for me it's a new return sale :)10:32
cedksisalp: you can work at the invoice level or you can cancel the sale and do a new one10:32
cedksisalp: if you just need to correct a price, you can use the new wizard etc.10:33
sisalpcedk: working the invoice level is different from making a new sale. Would duplicating of invoice be the right way ?10:33
sisalpcedk: in my history, most rejected invoices are because of details about the exact name of the customer, its address or its own order reference. Sometimes because of taxe rules.10:37
sisalppokoli: it looks like, but it is not. If you create fictive return sales, you may influence the metrics: the sales team is blamed while the error was at accounting level.10:39
pokolisisalp: we have a module that makes possible to move invoices from posted 2 draft state10:41
pokolisisalp: so this problem is easly solved :)10:41
pokolisisalp: https://bitbucket.org/trytonspain/trytond-account_invoice_posted2draft10:41
cedksisalp: you can not use such module in France10:42
cedkpokoli: and I'm not sure for Spain10:43
sisalppokoli: you break my heart ;-)10:43
cedksisalp: if you have to correct just accounting, you must go with credit note and reinvoice10:44
pokolicedk: the new account_invoice_correction module is to solve this cases, isn't it?10:44
sisalpcedk: yes this is the case when I find the initial issue. Si I'm wondering if starting from a duplicated invoice wouldn't fix the whole "problem", I mean make it easy.10:46
cedkpokoli: yes most of them10:51
sisalpcedk: pokoli: I make try : make a bad invoice, post it, credit it, post credit, then back to wrong invoice, I duplicate it and correct it, then post it. Everything works well, and I don't have to fill the lines again.10:56
sisalpsisalp: looks ok for me. We will probably have to explain this to new users.10:57
sisalpcedk: pokoli: thank you for this discussion.11:00
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:12
-!- csotelo(~csotelo@2001:1388:49c4:d11e:6728:e955:2d13:643b) has joined #tryton11:38
-!- mariomop(~quassel@181.110.71.149) has joined #tryton13:02
-!- dmollerm(~dmollerm@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton13:12
dmollermHi everybody. Is there any mechanism to store user secrets encrypted in the database? A hash won't do it, I need to store passwords and private keys so that the trytond server communicates with 3rd party services on behalf of the user and the identification is with SSL certificates only.13:21
pokolidmollerm: sii? xD13:22
dmollermpokoli: you name it XD13:22
pokolidmollerm: does this help: https://www.postgresql.org/docs/current/static/encryption-options.html13:24
-!- kstenger1(~karla@r190-134-203-170.dialup.adsl.anteldata.net.uy) has joined #tryton13:31
dmollermpokoli: Interesting, but I'd rather go with a per-config master password so it is decoupled of the DB backend being specifically postgres13:42
pokolidmollerm: then you should probably go with something like: http://pythonhosted.org/pycrypto/13:49
pokolidmollerm: and store only the encrypted values, and unencrypt when reading13:49
cedkdmollerm: why not store the password in the configuration file14:04
pokolicedk: indeed this data is per company, so with multiple companies there are multiple passwords14:06
pokolicedk: SII it's a new legislation in Spain to send invoice data via SOAP interface to the regulator in a maximun 4 days delay14:07
pokolicedk: and the regulator only accepts requests that are send with the company certificate14:07
pokolidon't now if its an english version. But all the info is available here: http://www.agenciatributaria.es/AEAT.internet/Inicio/La_Agencia_Tributaria/Campanas/Suministro_Inmediato_de_Informacion_en_el_IVA__SII_/Suministro_Inmediato_de_Informacion_en_el_IVA__SII_.shtml14:08
cedkpokoli: you can still store configuration per company14:09
cedkpokoli: for example, you could store in a folder each certificate14:09
pokolicedk: that makes sense14:11
cedkotherwise I think Fernet with rotation key is the best option to create a field14:11
cedkhttps://cryptography.io/en/latest/fernet/14:11
sisalppokoli: seems that multi-company is used in Spain specifically. Do you know why ?14:25
cedksisalp: usually it is for fiscal opportunity14:26
pokolisisalp: cedk is right :)14:31
pokoliit's quite frequent here to have several companies that invoice each other14:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton15:22
dmollermcedk: indeed Fernet looks great, thanks15:29
-!- smarro(~sebastian@181.16.7.104) has joined #tryton15:33
dmollermsisalp: franchising is a good example of a multi-company setup very popular in Spain. The franchisor runs a trytond server and a myriad of franchises use it for invoicing15:35
semariein multi-company context, what is shared ? parties ? chart of accounts ?15:37
semarie(if something is shared)15:39
cedkdmollerm: I do not think franchising is a good example, for such case I would have one setup per company with EDI between them15:41
dmollermcedk: EDI? I don't follow you15:48
cedkdmollerm: https://en.wikipedia.org/wiki/Electronic_data_interchange15:50
sisalpdmollerm: in France, franchising wouldn't fit. In fact any company must be responsible for its own data and prove its tranaction with any party, including the franchiser.15:56
cedksisalp: I do not think it is a valid reason15:57
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton16:06
pokolisemarie: we have one use case where nothing is shared16:18
cedkpokoli: I do not see the point16:21
-!- shellbofh(~shellbofh@fixed-187-188-50-87.totalplay.net) has joined #tryton16:30
shellbofhHello Guys16:30
shellbofhdoes tryton supports python 3 ?16:30
cedkshellbofh: yes via 2to316:32
cedkshellbofh: except for the desktop client which is currently migrating to GTK3 first16:33
pokolicedk: because we want to have some kind of super user that it's capable of accessing all the companies data16:40
-!- shellbofh(~shellbofh@fixed-187-188-50-87.totalplay.net) has joined #tryton16:46
cedkpokoli: use ldap16:49
pokolicedk: to have one use with same credentials to all databases?16:50
cedkpokoli: yes16:52
pokolicedk: but I have other users that may only access to a subset of companies17:01
pokolicedk: with the full tree it's easier to manage17:01
-!- xyz_(5cc2111b@gateway/web/freenode/ip.92.194.17.27) has joined #tryton17:27
xyz_Hello! I'm trying to setup trytond for use with the client and SAO.17:28
xyz_In the v 4.2 configuration file I have the [web] with 'listen = 0.0.0.0:8000' and 'root = /some/path/to/sao'17:29
xyz_Access to SAO is made through nginx via proxy_pass to 127.0.0.1:8000.17:30
xyz_When I now access SAO via a browser to the nginx instance, f.e. http://sao.trytonserv.com, I'll get redirected to http://sao.trytononserv.com/index.html/17:32
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton17:34
xyz_However, it fails to load the 'bower_components/....' files as described in index.html, that is 'http://sao.trytonserv.com/index.html/bower_components/...', which is obviously not going to return anything.17:34
xyz_When I try to access tryton directly, e.g. http://ip:8000 I get disconnected from it, nothing happens. Logs don't show anything related to this.17:35
-!- csotelo_at_work(~csotelo@179.43.99.44) has joined #tryton17:49
pokolixyz_: if you have an nginx proxy, you can setup it to proxy only post request to trytond and server static files from root directory17:51
-!- JanGB(~jan@p54B99609.dip0.t-ipconnect.de) has joined #tryton17:56
xyz_pokoli: I thought about that, too. However, does sao really suppose to have the files it requires in /index.html/... ?18:01
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton18:03
xyz_Ah,  got it, I had a 'index index.html' directive in the nginx configuration. Now everything seems to work.18:18
xyz_Thank you for your replies and guidance.18:18
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton18:21
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton18:22
-!- thaneor(~ldlc6@r179-25-67-243.dialup.adsl.anteldata.net.uy) has joined #tryton18:24
-!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton18:40
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton18:42
-!- zodman_(~zodman@187.155.222.158) has joined #tryton19:03
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton19:06
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:11
-!- catonano(~user@151.45.34.167) has joined #tryton19:59
catonanoI'm trying to build Tryton on GuixSD. Genshi is a dependency but the current released version doesn't build with python 3.5. Also a suggestion was made to me that Tryton only needs Genshi buuilt for python220:01
catonanoso I ave 2 questions20:01
catonanoDoes Tryton need genshi built for python3 ?20:01
catonanoWell, I'll give up on thhe second question for now. So it's just 1 question20:03
catonanoOf course with "Tryton" I mean trytond20:04
-!- smarro(~sebastian@host99.181-0-2.telecom.net.ar) has joined #tryton20:28
-!- JanGB(~jan@dslb-094-222-147-009.094.222.pools.vodafone-ip.de) has joined #tryton20:49
-!- kstenger(~karla@r186-54-31-21.dialup.adsl.anteldata.net.uy) has joined #tryton21:02
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton21:38
-!- JosDzG(~Thunderbi@189.250.43.248) has joined #tryton21:41
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:01
csotelo_at_workhello coders... I have noticed that branch are used for versioning instead tag. Is that right? I ask for mark my version modules. Thanks a lot22:34
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:34
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton23:48
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton23:49
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton23:49

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!