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 #tryton | 23:03 | |
-!- niki__(~niki@0x3e2c87d0.mobile.telia.dk) has joined #tryton | 23:20 | |
-!- Seburath(~Seburath@191.100.130.162) has joined #tryton | 23:56 | |
-!- lucascastro(~lucascast@177.125.20.159) has joined #tryton | 00:15 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:27 | |
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 02:06 | |
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-oahyxdglmchzkfsl) has joined #tryton | 02:45 | |
-!- yangoon1(~mathiasb@246-71-142-46.pool.kielnet.net) has joined #tryton | 03:51 | |
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-ahvybnufrrmegxyx) has joined #tryton | 04:29 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 06:08 | |
-!- rpit(~rpit@p200300C88F34F900F465798B88F2ECE4.dip0.t-ipconnect.de) has joined #tryton | 06:49 | |
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton | 07:51 | |
-!- lucas_(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 08:12 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:13 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 08:43 | |
pokoli | I've got a bad gateway error on demo5.0.tryton.org | 08:58 |
---|---|---|
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton | 10:04 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 10:25 | |
-!- mariomop(~quassel@181.94.32.95) has joined #tryton | 11:04 | |
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton | 11:05 | |
-!- mariomop(~quassel@181.94.32.95) has joined #tryton | 11:14 | |
-!- McFloss(~McFloss@195.11.164.221) has joined #tryton | 11:27 | |
-!- thaneor(~lenovo3@179.26.109.120) has joined #tryton | 12:27 | |
andrespoliti | good 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 recursive | 12:45 |
andrespoliti | functions 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 worked | 12:45 |
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton | 12:59 | |
pokoli | andrespoliti: maybe there is an issue on pycharm | 13:08 |
pokoli | andrespoliti: I usually use pdb to debug tryton and it works as expected | 13:08 |
pokoli | never seen any similar error :ยท | 13:08 |
andrespoliti | i tried pycharm 2018.2.3, 2018.2.4, and 2018.3, all show the same behaviour | 13:10 |
pokoli | ACTION bbl | 13:11 |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 13:16 | |
-!- lukio(~lukio@186.143.201.20) has joined #tryton | 13:20 | |
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 13:33 | |
pokoli | andrespoliti: don't now anything about pycharm, but I will suggest that you try pdb or something similar :) | 14:14 |
andrespoliti | pokoli: yes, i'm trying to use pudb | 14:32 |
csotelo | hello community, I have a question related to products | 15:27 |
csotelo | I 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 just | 15:32 |
csotelo | see and sell my company prodeucts? thanks | 15:32 |
csotelo | any suggest please? | 15:37 |
cedk | csotelo: do not use multicompany if you are not going to develop it | 15:42 |
csotelo | cedk, I need to use multicompany, but I want to know how to implement that before decide what must I develop | 15:43 |
cedk | csotelo: multicompany does not work out of the box for now | 15:44 |
csotelo | I mean, I need to know what is done and what is no done | 15:44 |
csotelo | cedk, I see | 15:44 |
cedk | csotelo: products are shared by default | 15:44 |
csotelo | cedk, 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 selling | 15:46 |
csotelo | right? | 15:46 |
csotelo | or I am wrong | 15:46 |
cedk | csotelo: wrong, categories are shared also | 15:51 |
cedk | csotelo: they have accounts for each companies | 15:51 |
csotelo | hmmm | 15:52 |
csotelo | ok | 15:52 |
csotelo | I just seen | 15:54 |
csotelo | I start to scare on myself | 15:55 |
cedk | csotelo: multicompany is very very very hard | 15:55 |
cedk | avoid if you can | 15:55 |
csotelo | unfortunately two of my customers requiere multicompnay | 15:55 |
csotelo | I couldnt avoid that | 15:56 |
csotelo | I was guessing it was implemented since is possible to add more than one company | 15:56 |
csotelo | I need a way to solve multicompany with less pain | 15:57 |
csotelo | sharing just providers and suppliers | 15:57 |
csotelo | but having different chart accounts | 15:57 |
csotelo | I really start to scare myself | 15:58 |
cedk | csotelo: there is multicompany in Tryton but there is no two multicompany setup the same | 15:58 |
cedk | companies that need such stuffs are all doing weird stuffs just for fiscality | 15:58 |
cedk | there is no rational in logistics to have multiple companies | 15:59 |
cedk | so there is not magical solution | 15:59 |
csotelo | I understand but is someting usual | 16:00 |
cedk | csotelo: no there is nothing usual with multicompany | 16:01 |
csotelo | as 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 company | 16:02 |
csotelo | I 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 charts | 16:03 |
csotelo | I could use two different tryton isntallation | 16:04 |
csotelo | but I could try just one installation with two different companies setup | 16:04 |
csotelo | as my custommer | 16:04 |
cedk | csotelo: if you share only parties, it does not worse the multicompany cost | 16:05 |
csotelo | and yes, just only parties | 16:06 |
csotelo | companies, categories processes must not be shared | 16:07 |
cedk | csotelo: so do not use multicompany | 16:08 |
csotelo | what do you suggest? please | 16:08 |
cedk | csotelo: 2 trytons | 16:08 |
cedk | and if you know PG well enough you can try: http://www.b2ck.com/~ced/blog/tryton_namespace.html | 16:09 |
csotelo | cedk, was my initial proposal, use two trytons.. byt my customer say "nmo" | 16:09 |
csotelo | let me see | 16:09 |
csotelo | please | 16:09 |
cedk | csotelo: Make a very big quotation for multicompany and a normal one without | 16:14 |
cedk | he will change his mind | 16:14 |
cedk | and also you must add extra cost for the maintenance because non standard system are much more expensive to maintain | 16:15 |
csotelo | yes, I have noticed that | 16:17 |
csotelo | :D | 16:17 |
csotelo | cedk, you are a genious | 16:17 |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 16:21 | |
csotelo | cedk, by the way, I have a team focused on localizating tryton for Peru | 16:25 |
csotelo | and that mnodules are gps | 16:25 |
csotelo | GPL* | 16:25 |
csotelo | when they get full tested I will propose them to the tryton comunity | 16:25 |
sisalp | because 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 ? | 16:36 |
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton | 16:57 | |
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton | 17:14 | |
-!- udono1(~udono@074-130-067-156.ip-addr.inexio.net) has joined #tryton | 17:57 | |
pokoli | sisalp: probably will be easier to create a module that implements: http://www.b2ck.com/~ced/blog/tryton_namespace.html | 17:58 |
pokoli | sisalp: sync scripts are usally hard to maintain | 17:58 |
pokoli | csotelo: 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 step | 17:59 |
pokoli | csotelo: usually it's easier to review/implement if done step by step, than a very big patch with a lot of features | 18:00 |
csotelo | pokoli, 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 reports | 18:00 |
pokoli | csotelo: then you can start working on what you already have, explaining your needs and which desing decisions you have chosen on your module | 18:11 |
pokoli | csotelo: so we can review them and decide the best way to include on tryton | 18:11 |
csotelo | great! | 18:13 |
csotelo | we are a team of three coders | 18:13 |
csotelo | thetr just create the disussion , right? | 18:13 |
pokoli | csotelo: at least the discussion, you can share your code if you want | 18:16 |
csotelo | yes, it is on a public repo | 18:16 |
csotelo | https://bitbucket.org/connecttix/party_pe/src/default/, https://bitbucket.org/connecttix/account_pe/src/default/, https://bitbucket.org/connecttix/account_invoice_pe/src/default/ | 18:17 |
csotelo | question, it must be shred on the same repo or on hg tryton? | 18:18 |
csotelo | I was thinking share it on tryton when it is fuylly tested and finished with reports | 18:18 |
pokoli | csotelo: about account_pe, for example you can start with the chart of accounts (only xml files) | 18:20 |
csotelo | https://bitbucket.org/connecttix/account_pe/src/default/account.xml | 18:21 |
pokoli | csotelo: by start, I proposing the inclusion into tryton | 18:21 |
pokoli | csotelo: yes, but only the inclusion of the xml data required to create the templates | 18:21 |
pokoli | csotelo: and then include the other functionalities, as I've seen you have python code | 18:21 |
csotelo | yes | 18:21 |
csotelo | it is full implemented | 18:21 |
pokoli | csotelo: 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 module | 18:22 |
pokoli | csotelo: what does full mean? | 18:22 |
csotelo | sorry I get confused with account_invoice_pe | 18:22 |
pokoli | csotelo: 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.py | 18:23 |
csotelo | that it has a full peruvian invoicing | 18:23 |
pokoli | csotelo: normally you don't need to do such things | 18:23 |
csotelo | I get confused on my response about python code on account_pe | 18:23 |
pokoli | csotelo: for party_pe you should probably read: https://discuss.tryton.org/t/localisation-module-for-tax-identifier-australia/573/5 | 18:25 |
pokoli | csotelo: and then create a generic solution that works for most countries | 18:25 |
csotelo | pokoli, 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 ubigeo | 18:25 |
csotelo | as this line https://bitbucket.org/connecttix/party_pe/src/default/country.py#lines-31 | 18:26 |
csotelo | that is used on invoicing | 18:26 |
csotelo | that was the reason on extends countries | 18:26 |
pokoli | csotelo: then it should be added when impleminting invoices but not before | 18:27 |
pokoli | csotelo: 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 country | 18:27 |
csotelo | I was done that on before, but I get into stocks, it also require ubigeo | 18:27 |
csotelo | that was the reason on create party_pe | 18:28 |
pokoli | csotelo: 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 possible | 18:29 |
csotelo | on an intial module building country structuire was added on account_invoice_pe | 18:29 |
pokoli | csotelo: 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 installed | 18:29 |
csotelo | however wwhen we need to implement stock, we need again ubigeo | 18:29 |
-!- lukio(~lukio@host254.201-252-16.telecom.net.ar) has joined #tryton | 18:29 | |
pokoli | csotelo: I don't care about the past, I care about the requirements to be included on Tryton | 18:30 |
csotelo | pokoli, that struture was required progresively | 18:30 |
pokoli | which is normally the future | 18:30 |
csotelo | some companies start some years ago, and some companies each trhee months | 18:32 |
csotelo | at marzh 23019 all comapnies must have ubigeo and electronic invoicing full implemented | 18:32 |
pokoli | csotelo: you have a lot of time until 23019 :P | 18:33 |
csotelo | but not all the companies uses stock .. | 18:33 |
csotelo | sorry | 18:34 |
csotelo | March 2019 :) | 18:34 |
pokoli | csotelo: 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 :) | 18:34 |
csotelo | since no all the companies uses stocks, I take countries to a party_pe module | 18:34 |
csotelo | pokoli, 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 versions | 18:35 |
csotelo | the pkan is having at least minimun full already completed and well validated | 18:36 |
csotelo | with reports as tax authority required and go up version to version | 18:36 |
csotelo | that I guess is could be faster | 18:37 |
csotelo | that I guess iT could be faster* | 18:37 |
pokoli | csotelo: the process of including to tryton takes some time, so my advice is to talk and discuss with the comunity as much as possible | 18:39 |
pokoli | csotelo: that will for sure speed up it | 18:40 |
pokoli | csotelo: you can keep it working on 4.2 will adding the features you have validated on the newer versions | 18:40 |
cedk | csotelo: for ubigeo (https://en.wikipedia.org/wiki/UBIGEO), you should not create new model but use subdivision as it is a tree | 18:40 |
pokoli | csotelo: I recommend you starting with the chart of accounts as normally it's regulated an it's the most stable part | 18:41 |
cedk | then create a script like trytond_import_zip to complete the subdivision | 18:41 |
csotelo | cedk, yes, I have done that! I have used subdivision and function fields :) | 18:43 |
csotelo | pokoli, ok! | 18:43 |
cedk | csotelo: it is not what I see in the link you gave | 18:48 |
csotelo | do you refer to https://bitbucket.org/connecttix/party_pe/src/default/country.py#lines-25 | 18:52 |
csotelo | I understand | 18:54 |
csotelo | well I create model using subdivisions | 18:54 |
csotelo | but I understand your point of view | 18:54 |
-!- caf_(~caf@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton | 20:26 | |
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton | 20:41 | |
andrespoliti | hello, is it possible to run 2 trytond servers with the same database? | 20:42 |
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton | 20:45 | |
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton | 20:52 | |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 20:54 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 21:01 | |
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton | 21:29 | |
-!- rpit(~rpit@p200300C88F34F900FFAD08C9FBE63E32.dip0.t-ipconnect.de) has joined #tryton | 22:06 | |
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton | 22:21 | |
-!- thaneor(~lenovo3@179.26.139.221) has joined #tryton | 22:22 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:28 | |
-!- rpit(~rpit@p200300C88F34F90075304974B5DDF8DC.dip0.t-ipconnect.de) has joined #tryton | 22:36 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!