IRC logs of #tryton for Tuesday, 2015-01-13

chat.freenode.net #tryton log beginning Tue Jan 13 00:00:01 CET 2015
2015-01-13 01:09 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-01-13 01:19 -!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2015-01-13 04:58 -!- digitalsatori(~Thunderbi@180.158.131.220) has joined #tryton
2015-01-13 05:06 -!- digitalsatori(~Thunderbi@180.158.131.220) has joined #tryton
2015-01-13 05:08 -!- prksh(~prksh@180.188.248.134) has joined #tryton
2015-01-13 05:16 -!- digitalsatori1(~Thunderbi@180.158.131.220) has joined #tryton
2015-01-13 06:01 -!- yangoon(~mathiasb@p549F32B0.dip0.t-ipconnect.de) has joined #tryton
2015-01-13 07:02 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-01-13 07:03 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2015-01-13 08:05 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-01-13 09:08 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-01-13 09:24 -!- jcros(~Thunderbi@ALyon-157-1-206-133.w109-213.abo.wanadoo.fr) has joined #tryton
2015-01-13 09:28 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-01-13 10:24 -!- digitalsatori(~Thunderbi@180.158.131.220) has joined #tryton
2015-01-13 10:41 -!- nicoe(~nicoe@2a02:a03f:308c:7700:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-01-13 11:22 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-01-13 11:22 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-01-13 12:07 -!- mariomop(~quassel@host84.186-109-109.telecom.net.ar) has joined #tryton
2015-01-13 12:17 -!- corro(~robin@77-58-75-66.dclient.hispeed.ch) has joined #tryton
2015-01-13 12:37 -!- ytz(~textual@opfw01.options-it.com) has joined #tryton
2015-01-13 13:19 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2015-01-13 13:32 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2015-01-13 13:47 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2015-01-13 13:53 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-01-13 13:53 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-01-13 14:19 -!- prksh(~prksh@103.245.118.154) has left #tryton
2015-01-13 14:44 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2015-01-13 15:01 <corro> short question for those experienced with the analytics modules: does it make sense to you to provide a default analytics account per party? It feels kind of wrong to me, but I'm not sure why.
2015-01-13 15:13 <pokoli> corro: I don't see why analytic account should be related to party
2015-01-13 15:20 <corro> pokoli: When there are parties that are very often related to the same analytics account. Like for example the electricity provider bill usually goes to the same analytics account. But I'm not experienced with the analytics modules, maybe that's a wrong thing to do.
2015-01-13 15:23 <pokoli> corro: for me it's not the party that is related to the electricity, it's the product you use to introduce the electricity expenses
2015-01-13 15:24 <pokoli> corro: we have a module to define the default analytic account of a product (and use it in invoices, sales and purchases)
2015-01-13 15:24 <pokoli> corro: see https://bitbucket.org/nantic/trytond-analytic_product/src
2015-01-13 15:28 <corro> pokoli: thanks! I'll check if it's really the party that defines the analytics account in this case.
2015-01-13 15:28 <pokoli> corro: I can imagine any case that the party defines the analytics account
2015-01-13 15:40 <pokoli> nicoe: did you have any script to generate http://hg.tryton.org/modules/account_asset/rev/c9c50644fa59 on all modules?
2015-01-13 15:42 <nicoe> pokoli: no, I just used vim and some macro
2015-01-13 15:42 <pokoli> nicoe: thanks, maybe we will develop some when migrating our modules :)
2015-01-13 15:45 <cedk> I think we should perhaps start thinking about a generic TestCase class with such test included
2015-01-13 15:47 <pokoli> cedk: +1 and also test_depends
2015-01-13 15:49 <cedk> pokoli: also all the others
2015-01-13 15:49 <pokoli> cedk: not test_view as there are modules that doesn't add any view (not sure if in core) but we have some cases
2015-01-13 15:50 <cedk> pokoli: so it should be improved to not fail in such case
2015-01-13 16:00 -!- munro(c5d3d8d6@gateway/web/freenode/ip.197.211.216.214) has joined #tryton
2015-01-13 16:02 -!- Timitos(~kpreisler@2001:a60:1652:5d01:ae7b:a1ff:feaf:55f0) has joined #tryton
2015-01-13 16:06 <corro> pokoli: fyi, I've got now an example for analytics accounts per party: they use mostly the same products for different parts of their business, e.g. the same hardware for POS and server solutions. So the product does not provide enough information for the default analytics account, but the party does in most cases.
2015-01-13 16:07 <pokoli> corro: could you provide a better example? for me it doesn't make sense to use the same hardware for POS and server solutions :)
2015-01-13 16:07 <cedk> pokoli, corro: for me, a good design will be a rule engine which try to guess the good analytic account base on past orders
2015-01-13 16:08 <cedk> a little bit like the currency of supplier is guess from past orders
2015-01-13 16:09 <cedk> but such engine must be much more complex than the purchase currency :-)
2015-01-13 16:09 <corro> pokoli: just think about the backend of a POS solution, there you're probably going to see the same infrastructure as for a "normal" server project :)
2015-01-13 16:10 <pokoli> corro: and the same customer may buy both solutions
2015-01-13 16:10 <cedk> so a kind of data mining like baesians, genetic algo etc.
2015-01-13 16:10 <corro> pokoli: yes, but they want to separate the business parts of their company
2015-01-13 16:11 <pokoli> cedk: but we must be able to customize the where criteria, as there is no generic one
2015-01-13 16:12 <cedk> pokoli: I don't understand
2015-01-13 16:12 <corro> cedk: Sounds a bit too complex for this case. I guess it would be sufficient to just select the account based on the party configuration for this scenario.
2015-01-13 16:13 <cedk> corro: this is never a good way to solve specific case
2015-01-13 16:14 <pokoli> cedk: on purchase you're searching for past purchases of the same supplier
2015-01-13 16:14 <pokoli> cedk: and on analytic modules which will be the search criteria (e.g same supplier)
2015-01-13 16:14 <pokoli> cedk: I think it will be diferent depending on the company needs
2015-01-13 16:14 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-01-13 16:15 <corro> cedk: well it's probably going to be a customer specific addition anyway, the analytics modules are already generic enough to support such a use case
2015-01-13 16:16 <cedk> pokoli: exactly that's why I'm talking about data mining
2015-01-13 16:17 <cedk> pokoli: we don't know the critera so we have to guess them
2015-01-13 16:17 <cedk> corro: such request is a common request but always with different critera
2015-01-13 16:17 <cedk> so a generic solution must exist
2015-01-13 16:18 <pokoli> cedk: maybe we can find a generic solution to give sugestions of any field, not only to analytic_accounts
2015-01-13 16:19 <cedk> pokoli: of course, you can design the engine that can be reused
2015-01-13 16:20 <cedk> pokoli: but you can not activate on all fields
2015-01-13 16:21 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-01-13 16:22 <pokoli> cedk: of course not on all fields, but it can be activated on more fields related to recursive processes
2015-01-13 16:25 <cedk> pokoli: it will still need module code to activate such feature
2015-01-13 16:25 <cedk> pokoli: also predefine which fields can influence the value
2015-01-13 16:25 <corro> cedk: Maybe it's even more generic than just for analytics accounts. A lot of Many2One fields could profit from such a behavior. Maybe we could activate such a learning behavior on the field configuration?
2015-01-13 16:27 <pokoli> cedk: yes, i was thinking on some kind of mixing to provide the infrastructure, but without a real case it's dificult to implement the mixin
2015-01-13 16:38 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2015-01-13 16:44 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-01-13 17:26 -!- LiberTango(~libertang@41.225.128.54) has joined #tryton
2015-01-13 17:27 <pobsteta> In a tree view, how to capture the current line of selection as the selections ?
2015-01-13 17:28 <cedk> pobsteta: it is active_id in the wizard context
2015-01-13 17:31 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2015-01-13 17:32 <pobsteta> cedk: it works as a wizard ? Can I get the selected line as client-side changes?
2015-01-13 17:33 -!- mintus(~mintus@dslb-092-077-016-010.092.077.pools.vodafone-ip.de) has joined #tryton
2015-01-13 17:34 <cedk> pobsteta: no because selection is not a change
2015-01-13 17:36 -!- ljrios_(~ljrios@201.102.168.36) has joined #tryton
2015-01-13 17:38 <mintus> Hi out there, anybody there, who get this work with ubuntu
2015-01-13 17:40 <pobsteta> cedk: in the tree view when selecting a line, the line number appears in the widget between the two green arrows (record before and after) . Is there another function that would give me the selected line number as does the widget ?
2015-01-13 17:41 <cedk> pobsteta: no selection is not a state send to the server
2015-01-13 17:41 <cedk> mintus: Tryton is packaged for Ubuntu: http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=tryton
2015-01-13 17:44 <cedk> pobsteta: if you want the user to select many things, it is a Many2Many
2015-01-13 17:44 <cedk> pobsteta: and you can display it with the multiselection widget (which use the selection)
2015-01-13 17:46 <mintus> cedk: fine, i try (apt-get install) tryton-modules-all and tryton-neso
2015-01-13 17:47 <mintus> cedk: this will install a lot of modules, tytron client 3.2.1 and tryton-neso 3.2.1
2015-01-13 17:50 <cedk> mintus: yes
2015-01-13 17:50 <cedk> mintus: neso is sqlite only and mono-user
2015-01-13 17:50 <mintus> cedk: thats ok, i just want to test it on a single machine. I select "create new database" from file menue and then?
2015-01-13 17:52 <mintus> cedk: After that a modul-configuration-screen appears, wich only shows a "ok" button, i click on it and a "add user screen" apears. i add a user. whats next?
2015-01-13 17:53 <cedk> mintus: use it
2015-01-13 17:53 <cedk> mintus: but probably you want to activate some modules
2015-01-13 17:54 <mintus> THATs the point, i now see a Modules site with only a module "ir" and a "modus" res in it.
2015-01-13 17:55 <mintus> cedk: i guess i have to see something like "account, product or stock" in this screen? am i right?
2015-01-13 17:56 <cedk> mintus: yes
2015-01-13 17:56 <cedk> mintus: so probably you did not installed the trytond_* modules
2015-01-13 17:57 <pobsteta> cedk: no it's a One2Many. I have a class A with One2Many of class B. This class B as a One2One class C. i want in the tree view A all attributes of class B and C
2015-01-13 17:57 <mintus> cedk: i installed "tryton-modules-all" (trytond_modules* is not availible)
2015-01-13 18:00 <mintus> cedk: i'll try it again..... :-(
2015-01-13 18:01 <cedk> pobsteta: that's not possible except if you create a UnionMixin of B and C, and display it as a tree
2015-01-13 18:30 -!- sunny_dealmeida(~quassel@210.89.32.132) has joined #tryton
2015-01-13 18:34 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-01-13 18:34 <pobsteta> cedk: have you an example of unionmixin ?
2015-01-13 18:37 <cedk> pobsteta: in the test
2015-01-13 18:38 <cedk> pobsteta: but unionmixin are readonly
2015-01-13 18:39 <cedk> pobsteta: http://hg.tryton.org/trytond/file/e340e1fe7a70/trytond/tests/model.py#l67
2015-01-13 18:47 <pobsteta> cedk: thanks !
2015-01-13 18:52 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-01-13 18:56 <notzippy> Are binary attachments stored in the database ? I could not find them in the ir_attachment table
2015-01-13 19:28 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2015-01-13 19:54 <cedk> notzippy: no in the database path
2015-01-13 19:57 <notzippy> Thanks, missed that option in the new document,
2015-01-13 20:34 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-01-13 22:24 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-01-13 22:34 -!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton
2015-01-13 22:34 -!- Shrine_(~mark@37.46.136.17) has joined #tryton
2015-01-13 22:34 -!- squat(~quassel@net.srv.multi24.com) has joined #tryton
2015-01-13 22:34 -!- zodman(~zodman@depamap.com) has joined #tryton
2015-01-13 22:34 -!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton
2015-01-13 22:34 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-01-13 22:34 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2015-01-13 22:40 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2015-01-13 22:50 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-01-13 22:50 -!- yangoon(~mathiasb@p549F32B0.dip0.t-ipconnect.de) has joined #tryton
2015-01-13 22:50 -!- jonans(~jonan@li475-10.members.linode.com) has joined #tryton
2015-01-13 22:50 -!- jcm_(~jcm@78.194.214.115) has joined #tryton
2015-01-13 22:53 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2015-01-13 22:53 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2015-01-13 22:53 -!- TheCowboy(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2015-01-13 22:54 -!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton
2015-01-13 22:55 -!- LiberTango(~libertang@41.225.128.54) has joined #tryton
2015-01-13 22:55 -!- woakas2(~woakas@static.13.240.46.78.clients.your-server.de) has joined #tryton
2015-01-13 22:56 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2015-01-13 22:57 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-01-13 22:59 -!- Pilou(~pilou@pdpc/supporter/active/pilou) has joined #tryton
2015-01-13 23:01 -!- Teever(~tvr@216.245.203.2) has joined #tryton
2015-01-13 23:04 -!- flox(~florent@unaffiliated/flox) has joined #tryton
2015-01-13 23:05 <Teever> What's the best way to get Tryton 3.4 to run on debian?
2015-01-13 23:06 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-01-13 23:06 -!- yangoon(~mathiasb@p549F32B0.dip0.t-ipconnect.de) has joined #tryton
2015-01-13 23:06 -!- jonans(~jonan@li475-10.members.linode.com) has joined #tryton
2015-01-13 23:06 -!- jcm_(~jcm@78.194.214.115) has joined #tryton
2015-01-13 23:17 <Teever> I'm running into a weird bug with the pip install instructions
2015-01-13 23:18 <Teever> It appeared to install fine but it won't launch. gives me an error about a missing /usr/share/pixmaps/tryton/tryton-icon.png file.
2015-01-13 23:32 <Teever> I appear to have found a solution. I uninstalled and noticed that it was placing the files in /usr/local/share/... so Ijust copied them to /usr/share/...
2015-01-13 23:32 <Teever> The program started. I'll see if it works.
2015-01-13 23:42 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2015-01-13 23:46 <cedk> Teever: otherwise Tryton is packaged in debian

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