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