IRC logs of #tryton for Tuesday, 2018-11-06

chat.freenode.net #tryton log beginning Tue Nov 6 00:00:01 CET 2018
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton00:11
-!- niki__(~niki@0x3e2c87d0.mobile.telia.dk) has joined #tryton00:11
-!- Seburath(~Seburath@191.100.130.162) has joined #tryton00:11
-!- lucascastro(~lucascast@177.125.20.159) has joined #tryton01:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:11
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton03:11
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-oahyxdglmchzkfsl) has joined #tryton03:11
-!- yangoon1(~mathiasb@246-71-142-46.pool.kielnet.net) has joined #tryton04:11
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-ahvybnufrrmegxyx) has joined #tryton05:11
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton07:11
-!- rpit(~rpit@p200300C88F34F900F465798B88F2ECE4.dip0.t-ipconnect.de) has joined #tryton07:11
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton08:11
-!- lucas_(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton09:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:11
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:11
pokoliI've got a bad gateway error on demo5.0.tryton.org09:11
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton11:11
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:11
-!- mariomop(~quassel@181.94.32.95) has joined #tryton12:11
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton12:11
-!- mariomop(~quassel@181.94.32.95) has joined #tryton12:11
-!- McFloss(~McFloss@195.11.164.221) has joined #tryton12:11
-!- thaneor(~lenovo3@179.26.109.120) has joined #tryton13:11
andrespolitigood morning, i'm having a problem and i wonder if anyone already had the same: only when debugging trytond (not when running normally) in pycharm 2018.2.4, i get this error: "Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in <object repr() failed> ignored"  and after that, the debugger doesn't stop in any more breakpoints. It stops normally in the breakpoints before the error happens, and I don't use recursive13:11
andrespolitifunctions nowhere in the code. I tried checking the "collect run-time types...", "gevent compatible" and "pyQT compatible" checks in the python debugger settings and clear caches, i invalidated cache from the file menu, and nothing worked13:11
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton13:11
pokoliandrespoliti: maybe there is an issue on pycharm14:11
pokoliandrespoliti: I usually use pdb to debug tryton and it works as expected14:11
pokolinever seen any similar error :ยท14:11
andrespolitii tried pycharm 2018.2.3, 2018.2.4, and 2018.3, all show the same behaviour14:11
pokoliACTION bbl14:11
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton14:11
-!- lukio(~lukio@186.143.201.20) has joined #tryton14:11
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton14:11
pokoliandrespoliti: don't now anything about pycharm, but I will suggest that you try pdb or something similar :)15:11
andrespolitipokoli: yes, i'm trying to use pudb15:11
csotelohello community, I have a question related to products16:11
csoteloI have seen that clients and suppliers are not shared by comapanies, but related to products, they will depends on accountant categories, and account depend on a chart by a company, then I have two companies, A and B, and both of them two different account charts, and two users userA and User B fromn each comapny, when the User A gets logged into Tryton, he could see categories and products from Company A and B, how could I just16:11
csotelosee and sell my company prodeucts? thanks16:11
csoteloany suggest please?16:11
cedkcsotelo: do not use multicompany if you are not going to develop it16:11
csotelocedk, I need to use multicompany, but I want to know how to implement that before decide what must I develop16:11
cedkcsotelo: multicompany does not work out of the box for now16:11
csoteloI mean, I need to know what is done and what is no done16:11
csotelocedk, I see16:11
cedkcsotelo: products are shared by default16:11
csotelocedk, one more question, it is just by te filtering, right, since I have seen that I could associate categories to charts account by company, then I could understand are not fully shared, since depend on a category, that depends on a company, but selling is shared, then I need to implement the filteriong on the selling16:11
csoteloright?16:11
csoteloor I am wrong16:11
cedkcsotelo: wrong, categories are shared also16:11
cedkcsotelo: they have accounts for each companies16:11
csotelohmmm16:11
csotelook16:11
csoteloI just seen16:11
csoteloI start to scare on myself16:11
cedkcsotelo: multicompany is very very very hard16:11
cedkavoid if you can16:11
csotelounfortunately two of my customers requiere multicompnay16:11
csoteloI couldnt avoid that16:11
csoteloI was guessing it was implemented since is possible to add more than one company16:11
csoteloI need a way to solve multicompany with less pain16:11
csotelosharing just providers and suppliers16:11
csotelobut having different chart accounts16:11
csoteloI really start to scare myself16:11
cedkcsotelo: there is multicompany in Tryton but there is no two multicompany setup the same16:11
cedkcompanies that need such stuffs are all doing weird stuffs just for fiscality16:11
cedkthere is no rational in logistics to have multiple companies16:11
cedkso there is not magical solution16:11
csoteloI understand but is someting usual17:11
cedkcsotelo: no there is nothing usual with multicompany17:11
csoteloas exmaple, one of my custommers have two bussiness: heavy machinery and spare parts, then he share suppliers and customers, but he use different setup with different charts account for each company17:11
csoteloI also have something like that My company Connecttix just work with bussiness solutions, but I also have an internet consulting company, same suppliers same customers, but diferent compannies diffrent charts17:11
csoteloI could use two different tryton isntallation17:11
csotelobut I could try just one installation with two different companies setup17:11
csoteloas my custommer17:11
cedkcsotelo: if you share only parties, it does not worse the multicompany cost17:11
csoteloand yes, just only parties17:11
csotelocompanies, categories processes must not be shared17:11
cedkcsotelo: so do not use multicompany17:11
csotelowhat do you suggest? please17:11
cedkcsotelo: 2 trytons17:11
cedkand if you know PG well enough you can try: http://www.b2ck.com/~ced/blog/tryton_namespace.html17:11
csotelocedk, was my initial proposal, use two trytons.. byt my customer say "nmo"17:11
csotelolet me see17:11
csoteloplease17:11
cedkcsotelo: Make a very big quotation for multicompany and a normal one without17:11
cedkhe will change his mind17:11
cedkand also you must add extra cost for the maintenance because non standard system are much more expensive to maintain17:11
csoteloyes, I have noticed that17:11
csotelo:D17:11
csotelocedk, you are a genious17:11
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton17:11
csotelocedk, by the way, I have a team focused on localizating tryton for Peru17:11
csoteloand that mnodules are gps17:11
csoteloGPL*17:11
csotelowhen they get full tested I will propose them to the tryton comunity17:11
sisalpbecause sharing customers/suppliers between two tryton is sometimes asked, would it be difficult to develop a kind of party-rsync script on proteus which runs periodically ? and same for product descriptions ?17:11
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton17:11
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton18:11
-!- udono1(~udono@074-130-067-156.ip-addr.inexio.net) has joined #tryton18:11
pokolisisalp: probably will be easier to create a module that implements: http://www.b2ck.com/~ced/blog/tryton_namespace.html18:11
pokolisisalp: sync scripts are usally hard to maintain18:11
pokolicsotelo: about Peru localization it will be great if you can create a discuss topic to discuss what it's needed for Peru localization and implement it step by step18:11
pokolicsotelo: usually it's easier to review/implement if done step by step, than a very big patch with a lot of features19:11
csotelopokoli, We have alreadyu party_pe, account_pe and account_invoice, now we are working on reports required by tax authority, we are reviewing text reports from account_es, since it is too close to our reports19:11
pokolicsotelo: then you can start working on what you already have, explaining your needs and which desing decisions you have chosen on your module19:11
pokolicsotelo: so we can review them and decide the best way to include on tryton19:11
csotelogreat!19:11
csotelowe are a team of three coders19:11
csotelothetr just create the disussion , right?19:11
pokolicsotelo: at least the discussion, you can share your code if you want19:11
csoteloyes, it is on a public repo19:11
csotelohttps://bitbucket.org/connecttix/party_pe/src/default/, https://bitbucket.org/connecttix/account_pe/src/default/, https://bitbucket.org/connecttix/account_invoice_pe/src/default/19:11
csoteloquestion, it must be shred on the same repo or on hg tryton?19:11
csoteloI was thinking share it on tryton when it is fuylly tested and finished with reports19:11
pokolicsotelo: about account_pe, for example you can start with the chart of accounts (only xml files)19:11
csotelohttps://bitbucket.org/connecttix/account_pe/src/default/account.xml19:11
pokolicsotelo: by start, I proposing the inclusion into tryton19:11
pokolicsotelo: yes, but only the inclusion of the xml data required to create the templates19:11
pokolicsotelo: and then include the other functionalities, as I've seen you have python code19:11
csoteloyes19:11
csoteloit is full implemented19:11
pokolicsotelo: on a second step you can add the python code but meanwhile it's not included on base you can have it on a separate module19:11
pokolicsotelo: what does full mean?19:11
csotelosorry I get confused with account_invoice_pe19:11
pokolicsotelo: for party_pe it will be great if you can explain why you require to extend country modules: https://bitbucket.org/connecttix/party_pe/src/default/country.py19:11
csotelothat it has a full peruvian invoicing19:11
pokolicsotelo: normally you don't need to do such things19:11
csoteloI get confused on my response about python code on account_pe19:11
pokolicsotelo: for party_pe you should probably read: https://discuss.tryton.org/t/localisation-module-for-tax-identifier-australia/573/519:11
pokolicsotelo: and then create a generic solution that works for most countries19:11
csotelopokoli, about https://bitbucket.org/connecttix/party_pe/src/default/country.py it was done  in order we require a strict structure based on Country / City / province / district, and the mix of that is named ubigeo19:11
csoteloas this line https://bitbucket.org/connecttix/party_pe/src/default/country.py#lines-3119:11
csotelothat is used on invoicing19:11
csotelothat was the reason   on extends countries19:11
pokolicsotelo: then it should be added when impleminting invoices but not before19:11
pokolicsotelo: the idea is that the party_pe module for tryton should not exist as the party module should be powerfull enougth to work for perivian country19:11
csoteloI was done that on before, but I get into stocks, it also require ubigeo19:11
csotelothat was the reason on create party_pe19:11
pokolicsotelo: The reasoning is easy: Altought I'm based on Spain I should be able to enter on tryton all the data from a peruvian party and validate it's identifier if possible19:11
csoteloon an intial module building country structuire was added on account_invoice_pe19:11
pokolicsotelo: because I've I work for a perivuian company I will be required to enter it's data but I won't have the party_pe module installed19:11
csotelohowever wwhen we need to implement stock, we need again ubigeo19:11
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton19:11
pokolicsotelo: I don't care about the past, I care about the requirements to be included on Tryton19:11
csotelopokoli, that struture was required progresively19:11
pokoliwhich is normally the future19:11
csotelosome companies start some years ago, and some companies each trhee months19:11
csoteloat marzh 23019 all comapnies must have ubigeo and electronic invoicing full implemented19:11
pokolicsotelo: you have a lot of time until 23019 :P19:11
csotelobut not all the companies uses stock ..19:11
csotelosorry19:11
csoteloMarch 2019 :)19:11
pokolicsotelo: tryton 5.2 will be released on April 2019, so if you wan't to have it for 5.2 it's time to start working on it :)19:11
csotelosince no all the companies uses stocks, I take countries to a party_pe module19:11
csotelopokoli, yes, but we are focussing at this moment on 4.2 since gnu health is working with tryton 4.2 and we have two custommers using that versions19:11
csotelothe pkan is having at least minimun full already completed and well validated19:11
csotelowith reports as tax authority required and go up version to version19:11
csotelothat I guess is could be faster19:11
csotelothat I guess iT could be faster*19:11
pokolicsotelo: the process of including to tryton takes some time, so my advice is to talk and discuss with the comunity as much as possible19:11
pokolicsotelo: that will for sure speed up it19:11
pokolicsotelo: you can keep it working on 4.2 will adding the features you have validated on the newer versions19:11
cedkcsotelo: for ubigeo (https://en.wikipedia.org/wiki/UBIGEO), you should not create new model but use subdivision as it is a tree19:11
pokolicsotelo: I recommend you starting with the chart of accounts as normally it's regulated an it's the most stable part19:11
cedkthen create a script like trytond_import_zip to complete the subdivision19:11
csotelocedk, yes, I have done that! I have used subdivision and function fields :)19:11
csotelopokoli, ok!19:11
cedkcsotelo: it is not what I see in the link you gave19:11
csotelodo you refer to https://bitbucket.org/connecttix/party_pe/src/default/country.py#lines-2519:11
csoteloI understand19:11
csotelowell I create model using subdivisions19:11
csotelobut I understand your point of view19:11
-!- caf_(~caf@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton21:11
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton21:11
andrespolitihello, is it possible to run 2 trytond servers with the same database?21:11
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton21:11
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton21:11
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton21:11
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:11
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton22:11
-!- rpit(~rpit@p200300C88F34F900FFAD08C9FBE63E32.dip0.t-ipconnect.de) has joined #tryton23:11
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton23:11
-!- thaneor(~lenovo3@179.26.139.221) has joined #tryton23:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:11
-!- rpit(~rpit@p200300C88F34F90075304974B5DDF8DC.dip0.t-ipconnect.de) has joined #tryton23:11

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