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

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

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!