IRC logs of #tryton for Wednesday, 2018-01-31

chat.freenode.net #tryton log beginning Wed Jan 31 00:00:01 CET 2018
2018-01-31 01:01 -!- thaneor1(~ldlc6@179.26.236.250) has joined #tryton
2018-01-31 01:05 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-31 01:27 -!- csotelo(~csotelo@181.64.241.158) has joined #tryton
2018-01-31 01:31 -!- thaneor(~ldlc6@179.26.59.112) has joined #tryton
2018-01-31 02:43 -!- cdchapman(~perturbed@c-67-169-243-133.hsd1.ut.comcast.net) has joined #tryton
2018-01-31 04:41 -!- perilla(~perilla@186.43.144.10) has joined #tryton
2018-01-31 04:44 -!- csotelo(~csotelo@181.64.241.158) has joined #tryton
2018-01-31 04:52 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2018-01-31 07:03 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-01-31 07:03 -!- _2cadz(~2cadz@82.64.14.213) has joined #tryton
2018-01-31 07:17 -!- cdchapman(~perturbed@73.98.169.198) has joined #tryton
2018-01-31 07:56 -!- rpit(~rpit@p200300C88BEA410056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2018-01-31 08:56 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2018-01-31 09:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-31 09:28 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2018-01-31 09:35 -!- rpit(~rpit@dslb-084-061-039-253.084.061.pools.vodafone-ip.de) has joined #tryton
2018-01-31 09:40 -!- rpit1(~rpit@dslb-084-061-039-253.084.061.pools.vodafone-ip.de) has joined #tryton
2018-01-31 09:49 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2018-01-31 09:51 -!- Timitos(~kpreisler@tmo-081-176.customers.d1-online.com) has joined #tryton
2018-01-31 10:48 -!- swayf(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) has joined #tryton
2018-01-31 10:48 -!- jcm(~jcm@78.194.214.115) has joined #tryton
2018-01-31 10:53 <sisalp> hello everybody. Did someone work on or thought about an integration Tryton + NextCloud ?
2018-01-31 10:56 <pokoli> sisalp: not that I'm aware of but I'm curious which part of both systems do you want to integrate?
2018-01-31 10:57 <pokoli> sisalp: if you want to use same credentials to connect to both systems, you can use a ldap server for authentication
2018-01-31 10:59 <sisalp> pokoli: this was my next question: for which apps could we combine Tryton and NextCloud ?
2018-01-31 11:01 <sisalp> more generally, if ERPs go social, shouldn't Tryton be integrated with a dedicated solution ?
2018-01-31 11:03 <nicoe> There is nothing social in nextcloud, what does "going social" mean?
2018-01-31 11:04 <pokoli> sisalp: tryton is also used for collaboration and sharing, but is more workflow oriented that nextcloud.
2018-01-31 11:33 <mrichez> hi, question about definition of method __register__ : in documentation, it's referenced as classmethod Model.__register__(module_name) ... When you extend or modify a class with a custom module and you call register method (for example in stock_location_sequence/stock.py), module_name is "stock_location" and not the module name "stock_location_sequence". So where is defined "module_name"?
2018-01-31 11:39 <pokoli> mrichez: __register__ is called multiple times, each call gets the module_name which is updating at that time
2018-01-31 11:40 <pokoli> mrichez: most of the time you don't care about the module_name as register actions are idempotent
2018-01-31 11:42 <mrichez> pokoli: indeed, but when doing table = TableHandler(cls, module_name) in a custom module, module_name is None ?
2018-01-31 11:42 <pokoli> mrichez: it should never be None
2018-01-31 11:43 <pokoli> mrichez: IIRC this is defined when registering the modules
2018-01-31 11:44 -!- mariomop(~quassel@host145.190-137-255.telecom.net.ar) has joined #tryton
2018-01-31 11:45 <mrichez> pokoli: so how TableHandler is taking the correct table linked to the model in a custom module? is module_name the correct name for the variable and not model_name ?
2018-01-31 11:51 <pokoli> mrichez: it's passed by the server when updating the database: http://hg.tryton.org/trytond/file/b2729144b556/trytond/modules/__init__.py#l246
2018-01-31 11:52 <mrichez> pokoli: ok thanks :-)
2018-01-31 12:01 <mrichez> pokoli: is register method called only when installing module ?
2018-01-31 12:02 <pokoli> mrichez: yes, when activating or when updating
2018-01-31 12:02 <pokoli> mrichez: that's why we put database migrations there :)
2018-01-31 12:03 <mrichez> pokoli: is there a way to force a call once ?
2018-01-31 12:04 <mrichez> pokoli: my module is already installed
2018-01-31 12:04 <pokoli> mrichez: just update the module
2018-01-31 12:04 <pokoli> mrichez: trytond-admin -d <database> -u <module_name> should do it
2018-01-31 12:05 <mrichez> pokoli: hum, done but my changes were not applied, will check my code again...
2018-01-31 12:05 <mrichez> pokoli: thanks
2018-01-31 12:05 <pokoli> mrichez: you're welcome
2018-01-31 12:19 -!- swayf(~swayf@host-93-104-202-98.customer.m-online.net) has joined #tryton
2018-01-31 12:21 -!- swayf(~swayf@host-93-104-202-98.customer.m-online.net) has joined #tryton
2018-01-31 12:46 -!- swayf_(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) has joined #tryton
2018-01-31 13:53 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-01-31 15:02 -!- catonano(~user@151.50.132.162) has joined #tryton
2018-01-31 15:39 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2018-01-31 16:58 -!- thaneor(~ldlc6@r179-25-165-106.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-01-31 17:16 -!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton
2018-01-31 17:17 <dmollerm> Hi everyone. Short question: can a record defined by xml be modified in another module?
2018-01-31 17:18 <nicoe> Yes
2018-01-31 17:18 <nicoe> dmollerm: when specifying its id use id="other_module.id_record"
2018-01-31 17:19 <dmollerm> nicoe: thanks!
2018-01-31 17:19 -!- Timitos(~kpreisler@tmo-081-176.customers.d1-online.com) has joined #tryton
2018-01-31 17:19 <nicoe> dmollerm: note that you can modify it but not delete it
2018-01-31 17:21 <dmollerm> nicoe: I'd rather delete it, but a modification will do it. Thank you!
2018-01-31 17:43 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-31 17:59 -!- swayf(~swayf@host-93-104-202-98.customer.m-online.net) has joined #tryton
2018-01-31 18:54 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2018-01-31 19:08 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-31 19:27 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-31 19:28 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2018-01-31 19:28 <andrespoliti> hello, can you explain me how the method get_reconcile_lines_for_amount of invoice works?
2018-01-31 19:30 -!- zmijunkie(~Adium@i577B3F79.versanet.de) has joined #tryton
2018-01-31 19:37 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-31 19:43 -!- rpit(~rpit@p200300C88BEA410056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2018-01-31 19:55 -!- zmijunkie(~Adium@200116b80a52550091319325b1c761d9.dip.versatel-1u1.de) has joined #tryton
2018-01-31 20:07 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2018-01-31 20:37 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-31 21:07 <andrespoliti> cedk: what des the get_reconcile_lines_for_amount method from invoice do?
2018-01-31 21:15 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-31 21:18 -!- swayf(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) has joined #tryton
2018-01-31 21:18 -!- swayf_(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) has joined #tryton
2018-01-31 21:19 -!- swayf(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) has joined #tryton
2018-01-31 22:00 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton

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