IRC logs of #tryton for Thursday, 2019-01-17

chat.freenode.net #tryton log beginning Thu Jan 17 00:00:01 CET 2019
-!- udono(~udono@054-061-210-188.ip-addr.inexio.net) has joined #tryton23:07
-!- udono1(~udono@188.210.61.54) has joined #tryton23:52
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:21
-!- pokoli(~pokoli@mail.koolpi.com) has joined #tryton00:59
-!- fsanchez(~fsanchez@190.238.208.67) has joined #tryton02:32
-!- sharkcz`(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton02:39
-!- udono(~udono@188.210.61.54) has joined #tryton02:56
-!- yangoon(~mathiasb@i59F4DA4F.versanet.de) has joined #tryton03:33
-!- yangoon(~mathiasb@i59F4DA4F.versanet.de) has joined #tryton03:54
-!- thaneor1(~lenovo3@r179-24-117-47.dialup.adsl.anteldata.net.uy) has joined #tryton05:19
-!- udono1(~udono@054-061-210-188.ip-addr.inexio.net) has joined #tryton06:43
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:18
-!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton07:34
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:01
-!- rpit(~rpit@p200300C88F2690008C86D3EE5B53F0F9.dip0.t-ipconnect.de) has joined #tryton08:03
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton08:05
-!- udono(~udono@054-061-210-188.ip-addr.inexio.net) has joined #tryton08:12
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:37
mrichezcedk: hi Cedric, about this issue: https://bugs.tryton.org/issue8007 linked to this revision http://hg.tryton.org/modules/purchase_requisition/rev/00b026b1c8de. It allows to create a purchase requisition line empty (i mean without product and description), so description should be required if product is empty (it was defined like this previously)09:18
pokolimrichez: for me the rec_name should not fail if product nor description is set09:21
pokolimrichez: it is possible to identify the purchase_requisition for another field?09:21
mrichezpokoli: don't think... it seems ridiculous to ask for something without product or description... so for me one of those fields should be required09:24
cedkmrichez: no our rule is to not put constraint if it is not needed for the process09:37
cedkTryton can make purchase without having neither a product nor a description09:38
cedkso I guess the rec_name should be in this case the id09:40
mrichezcedk: i just checked the same for a sale... strange that you could sale or purchase 10 unit of "nothing"...09:41
cedkmrichez: not a problem because it uses the default accounting09:41
mrichezcedk: ok, so i'll modify rec_name09:44
-!- nicoe(~nicoe@2a02:2788:54:1b6:7e2a:31ff:fe5e:b25d) has joined #tryton09:52
mrichezcedk: it's the get_rec_name in purchase_request which is incorrect: http://hg.tryton.org/modules/purchase_request/file/default/purchase_request.py#l15709:52
mrichezcedk: if no product nor description, i use self.id as recname ?09:59
cedkmrichez: I think it is the best option10:06
mrichezcedk: ok10:07
-!- rpit(~rpit@p5B22B44D.dip0.t-ipconnect.de) has joined #tryton12:30
-!- oriol(~oriol@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton12:34
-!- oalfonso_(501c77aa@gateway/web/freenode/ip.80.28.119.170) has joined #tryton12:46
-!- fsanchez_(~fsanchez@190.238.208.67) has joined #tryton14:05
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-gyjquucjwrgpmnib) has joined #tryton15:42
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton15:57
andrespolitigood morning, we are having problems when backing up a database because there are active connections to template1. I'm seeing in the logs that tryton connects to template115:58
andrespolitiTue Oct 30 13:09:10 2018] INFO:trytond.backend.postgresql.database:connect to "template1"15:58
andrespolitiwhy is that?15:58
cedkandrespoliti: to list the databases16:01
-!- udono(~udono@2a00:6020:15fa:1e00:76e5:bff:fe6e:a706) has joined #tryton16:35
-!- fsanchez_(~fsanchez@190.117.165.252) has joined #tryton16:59
andrespoliticould it be a reason why it leaves open connections to template1?17:05
Timitosandrespoliti: on which version runs your tryton instance. there have been changes in newer versions17:06
Timitosat least in 5.0 this problem should be resolved17:07
-!- thaneor(~lenovo3@179.26.59.146) has joined #tryton17:20
andrespoliti4.817:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:20
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton21:01
csotelohi all, I have a question related to field definition. Is possible to re define a field on a module extension? any sample? thanks21:50
csoteloI mean, a field defined as readolny, re define as not readonly, is that posible?21:53
-!- piyfy(~cj@31.10.151.8) has joined #tryton22:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:56

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