IRC logs of #tryton for Thursday, 2017-02-16

chat.freenode.net #tryton log beginning Thu Feb 16 00:00:02 CET 2017
2017-02-16 02:42 -!- uha4(~uha4@146.0.102.154) has left #tryton
2017-02-16 03:27 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2017-02-16 03:34 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2017-02-16 08:04 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-02-16 08:28 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2017-02-16 08:39 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-02-16 08:44 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-02-16 08:58 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-02-16 09:02 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton
2017-02-16 10:54 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-02-16 10:58 <alexbodn1> hello pokoli, all friends.
2017-02-16 10:58 <alexbodn1> about flask_tryton:
2017-02-16 10:58 <alexbodn1> to my best understanding, this is in fact a trytond replacement daemon. am i right?
2017-02-16 10:59 <pokoli> Hi alexbodn1: It's not a replacement as you can use the trytond only for company employees and flask_tryton for exposing some of your ERP data to your customers
2017-02-16 10:59 <pokoli> alexbodn1: they are complementari to each other
2017-02-16 11:00 <pokoli> alexbodn1: flask tryton exposes the trytond ORM on the flask framework
2017-02-16 11:10 <alexbodn1> hi pokoli
2017-02-16 11:12 <alexbodn1> indeed i wanted to access the orm, but could this orm work in parallel with a regular daemon?
2017-02-16 11:12 <pokoli> alexbodn1: yes
2017-02-16 11:13 <pokoli> alexbodn1: indeed it's a separate process
2017-02-16 11:15 <alexbodn1> and, is there a working version of the regular client over the web?
2017-02-16 11:15 <alexbodn1> for the admin part
2017-02-16 11:17 <pokoli> alexbodn1: yes: http://hg.tryton.org/sao/
2017-02-16 11:22 <alexbodn1> pokoli: is sao a working client? is it in sync with trytond?
2017-02-16 11:22 <pokoli> alexbodn1: yes, we currently support tryton (desktop client) and sao (web client) with trytond
2017-02-16 11:23 <alexbodn1> wow, pokoli, i'm going for it.
2017-02-16 11:25 <alexbodn1> so any application based on tryton can be accessed over web with sao, or exposed through the orm.
2017-02-16 11:25 <alexbodn1> i will plug the orm in turbogears
2017-02-16 11:31 <pokoli> alexbodn1: It can be accessed with the regular clients (desktop and web) or you can expose it's data in a custom website
2017-02-16 11:32 <pokoli> alexbodn1: then you should create a MOdel layer for turbogears to access the tryton data (don't know if exists any)
2017-02-16 11:36 -!- thaneor(~ldlc6@r179-25-80-145.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-02-16 11:55 -!- mariomop(~quassel@181.90.220.192) has joined #tryton
2017-02-16 12:36 -!- rpit(~rpit@aftr-37-24-150-171.unity-media.net) has joined #tryton
2017-02-16 13:17 <alexbodn1> pokoli: indeed, that's what i meant. i'm using tg for ~7 years. tg uses middleware to wrap each request in a transaction. the pool will be exposed to the code during the request. the authentication and authorisation in tg are repoze what and who, which i'll make tryton plugins for. i will share the components and recipes/
2017-02-16 13:19 <pokoli> alexbodn1: indeed in tryton each request is a transaction too
2017-02-16 13:19 <pokoli> alexbodn1: maybe you are interseted in using web user: http://hg.tryton.org/modules/web_user
2017-02-16 13:24 <alexbodn1> are the records in a model partitioned by the company?
2017-02-16 13:42 <alexbodn1> i see accounting and logistics software are usualy serving multiple businesses. does tryton have the same?
2017-02-16 13:42 <alexbodn1> i have to go over my limits and run the software, not only write and prepare ;)
2017-02-16 13:49 <pokoli> alexbodn1: yes, there are some models that are partitioned by company
2017-02-16 13:49 <pokoli> alexbodn1: IIRC the only shared data is parties and products
2017-02-16 13:50 <alexbodn1> pokoli: by shared, do you mean "visible in all companies"?
2017-02-16 13:51 <pokoli> alexbodn1: yes, visible in all companies
2017-02-16 13:51 <pokoli> alexbodn1: furthermore, the name of the party and it's addresses is the same for all the companies
2017-02-16 13:51 <pokoli> alexbodn1: but, the payment term is defined for each company
2017-02-16 13:54 <alexbodn1> ok, pokoli, but in cas i want say, partitioned products, may i inherit the product class?
2017-02-16 13:58 <pokoli> alexbodn1: yes, but another option is to use diferent databases for each company
2017-02-16 13:59 <alexbodn1> pokoli, ok, should be considered too
2017-02-16 14:00 <pokoli> alexbodn1: if you want to share nothing I will go for a different database
2017-02-16 14:02 <alexbodn1> pokoli, i'd prefer same table with a differentiating field. in case this difference would miss somewhere, it may be added, probably
2017-02-16 14:03 <pokoli> alexbodn1: but you should have to add this field everywhere
2017-02-16 14:03 <pokoli> alexbodn1: in tryton its easy to create two databases with the same structure. It's only the matter of installing the same set of modules on them
2017-02-16 14:06 <alexbodn1> pokoli: the old school people say, that more than one should be infinite ;)
2017-02-16 14:06 <alexbodn1> i've seen there are a few fields added automatically. maybe there should be simple to add "company"
2017-02-16 14:08 <pokoli> alexbodn1: yes, you should develop a custom module that adds the company field
2017-02-16 14:09 <alexbodn1> what are you doing with tryton, pokoli?
2017-02-16 14:11 <pokoli> alexbodn1: we are implanting it on our customers :)
2017-02-16 14:12 <alexbodn1> local installations?
2017-02-16 14:13 <pokoli> alexbodn1: on a cloud instance managed by us.
2017-02-16 14:13 <alexbodn1> and one db per customer?
2017-02-16 14:14 <pokoli> alexbodn1: yes, because they share nothing between them
2017-02-16 14:14 <alexbodn1> indeed
2017-02-16 14:15 <pokoli> alexbodn1: they are free to create multiple companies on each database, but then parties and products are shared
2017-02-16 14:16 <alexbodn1> are you using multiple trytond instances, one per customer?
2017-02-16 14:22 <pokoli> alexbodn1: yes
2017-02-16 14:24 <alexbodn1> isn't it heavy?
2017-02-16 14:51 <pokoli> alexbodn1: what do you understand by heavy?
2017-02-16 15:05 <alexbodn1> pokoli: haha, i did small programs under dos. small programs for arduino, and other mini hardware. it's hard to count in gigabytes ;)
2017-02-16 15:07 -!- mamcode(~mamcode@201.209.41.227) has joined #tryton
2017-02-16 15:10 <pokoli> alexbodn1: I picked a real example. A tryton stance is using only 80MB, so you don't have to count in gigabytes :)
2017-02-16 15:11 <pokoli> alexbodn1: indeed, IIRC there where some people running trytond+postgresql on a raspberrypi
2017-02-16 15:11 <alexbodn1> dos had segmented 640k
2017-02-16 15:12 <alexbodn1> our first nokia had more ram than a mainframe :)
2017-02-16 15:14 <alexbodn1> but really, if possible, i'd keep one db, with self-service company addition.
2017-02-16 15:15 <pokoli> alexbodn1: it's up to you, we try to make it as much flexible as possible :)
2017-02-16 15:15 <alexbodn1> i know cloud runners sell computer instances as records in a db ;)
2017-02-16 15:17 <alexbodn1> in case it will be needed, i'd like to enlarge the relevant records by a company field, and will share my thoughts
2017-02-16 15:22 <pokoli> alexbodn1: I'll be here waiting to listen to your experiences :)
2017-02-16 15:23 <pokoli> alexbodn1: we have an record level access rules to manage this cases: http://doc.tryton.org/4.2/trytond/doc/topics/access_rights.html?highlight=access#record-rule
2017-02-16 16:03 <alexbodn1> thank you very much pokili :)
2017-02-16 16:04 -!- niki(~niki@0x3e2c864f.mobile.telia.dk) has joined #tryton
2017-02-16 16:08 <alexbodn1> i appreciate very much the data management granularity.
2017-02-16 16:09 <alexbodn1> i have to go pokoli. have a good evening
2017-02-16 16:09 <pokoli> alexbodn1: you'r welcome and same to you :)
2017-02-16 16:21 -!- mariomop(~quassel@host140.190-229-165.telecom.net.ar) has joined #tryton
2017-02-16 16:22 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2017-02-16 17:05 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2017-02-16 18:54 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-02-16 20:04 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2017-02-16 21:08 -!- thaneor(~ldlc6@r179-25-36-211.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-02-16 22:50 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton

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