IRC logs of #tryton for Tuesday, 2018-11-06 #tryton log beginning Tue Nov 6 00:00:01 CET 2018
-!- lukio( has joined #tryton00:11
-!- niki__( has joined #tryton00:11
-!- Seburath(~Seburath@ has joined #tryton00:11
-!- lucascastro(~lucascast@ has joined #tryton01:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:11
-!- lucascastro( has joined #tryton03:11
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/ has joined #tryton03:11
-!- yangoon1( has joined #tryton04:11
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/ has joined #tryton05:11
-!- tafelgeschirr(~tafelgesc@ has joined #tryton07:11
-!- rpit( has joined #tryton07:11
-!- smorillo(bc5588c1@gateway/web/cgi-irc/ has joined #tryton08:11
-!- lucas_( has joined #tryton09:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:11
-!- mrichez( has joined #tryton09:11
pokoliI've got a bad gateway error on demo5.0.tryton.org09:11
-!- lukio( has joined #tryton11:11
-!- nicoe( has joined #tryton11:11
-!- mariomop(~quassel@ has joined #tryton12:11
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton12:11
-!- mariomop(~quassel@ has joined #tryton12:11
-!- McFloss(~McFloss@ has joined #tryton12:11
-!- thaneor(~lenovo3@ 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/ 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@ has joined #tryton14:11
-!- lukio(~lukio@ has joined #tryton14:11
-!- lucascastro( 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
csoteloor I am wrong16:11
cedkcsotelo: wrong, categories are shared also16:11
cedkcsotelo: they have accounts for each companies16: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:
csotelocedk, was my initial proposal, use two trytons.. byt my customer say "nmo"17:11
csotelolet me see17: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
csotelocedk, you are a genious17:11
-!- smorillo(3e5248ee@gateway/web/cgi-irc/ 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
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/ has joined #tryton17:11
-!- lukio( has joined #tryton18:11
-!- udono1( has joined #tryton18:11
pokolisisalp: probably will be easier to create a module that implements:
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
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
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
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
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:
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:
pokolicsotelo: and then create a generic solution that works for most countries19:11
csotelopokoli, about 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
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( 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
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 (, 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
csoteloI understand19:11
csotelowell I create model using subdivisions19:11
csotelobut I understand your point of view19:11
-!- caf_( has joined #tryton21:11
-!- andrespoliti(~andrespol@ 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/ has joined #tryton21:11
-!- smorillo(258799fc@gateway/web/cgi-irc/ has joined #tryton21:11
-!- smorillo(3e5248ee@gateway/web/cgi-irc/ has joined #tryton21:11
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:11
-!- smorillo(258799fc@gateway/web/cgi-irc/ has joined #tryton22:11
-!- rpit( has joined #tryton23:11
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton23:11
-!- thaneor(~lenovo3@ has joined #tryton23:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:11
-!- rpit( has joined #tryton23:11

Generated by 2.16.0 by Marius Gedminas - find it at!