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 #tryton00:01
-!- udono1(~udono@188.210.61.54) has joined #tryton00:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:01
-!- pokoli(~pokoli@mail.koolpi.com) has joined #tryton01:01
-!- fsanchez(~fsanchez@190.238.208.67) has joined #tryton03:01
-!- sharkcz`(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton03:01
-!- udono(~udono@188.210.61.54) has joined #tryton03:01
-!- yangoon(~mathiasb@i59F4DA4F.versanet.de) has joined #tryton04:01
-!- yangoon(~mathiasb@i59F4DA4F.versanet.de) has joined #tryton04:01
-!- thaneor1(~lenovo3@r179-24-117-47.dialup.adsl.anteldata.net.uy) has joined #tryton06:01
-!- udono1(~udono@054-061-210-188.ip-addr.inexio.net) has joined #tryton07:01
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:01
-!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton08:01
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:01
-!- rpit(~rpit@p200300C88F2690008C86D3EE5B53F0F9.dip0.t-ipconnect.de) has joined #tryton09:01
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:01
-!- udono(~udono@054-061-210-188.ip-addr.inexio.net) has joined #tryton09:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:01
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)10:01
pokolimrichez: for me the rec_name should not fail if product nor description is set10:01
pokolimrichez: it is possible to identify the purchase_requisition for another field?10:01
mrichezpokoli: don't think... it seems ridiculous to ask for something without product or description... so for me one of those fields should be required10:01
cedkmrichez: no our rule is to not put constraint if it is not needed for the process10:01
cedkTryton can make purchase without having neither a product nor a description10:01
cedkso I guess the rec_name should be in this case the id10:01
mrichezcedk: i just checked the same for a sale... strange that you could sale or purchase 10 unit of "nothing"...10:01
cedkmrichez: not a problem because it uses the default accounting10:01
mrichezcedk: ok, so i'll modify rec_name10:01
-!- nicoe(~nicoe@2a02:2788:54:1b6:7e2a:31ff:fe5e:b25d) has joined #tryton10:01
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#l15710:01
mrichezcedk: if no product nor description, i use self.id as recname ?10:01
cedkmrichez: I think it is the best option11:01
mrichezcedk: ok11:01
-!- rpit(~rpit@p5B22B44D.dip0.t-ipconnect.de) has joined #tryton13:01
-!- oriol(~oriol@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton13:01
-!- oalfonso_(501c77aa@gateway/web/freenode/ip.80.28.119.170) has joined #tryton13:01
-!- fsanchez_(~fsanchez@190.238.208.67) has joined #tryton15:01
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-gyjquucjwrgpmnib) has joined #tryton16:01
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton16:01
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 template116:01
andrespolitiTue Oct 30 13:09:10 2018] INFO:trytond.backend.postgresql.database:connect to "template1"16:01
andrespolitiwhy is that?16:01
cedkandrespoliti: to list the databases17:01
-!- udono(~udono@2a00:6020:15fa:1e00:76e5:bff:fe6e:a706) has joined #tryton17:01
-!- fsanchez_(~fsanchez@190.117.165.252) has joined #tryton17:01
andrespoliticould it be a reason why it leaves open connections to template1?18:01
Timitosandrespoliti: on which version runs your tryton instance. there have been changes in newer versions18:01
Timitosat least in 5.0 this problem should be resolved18:01
-!- thaneor(~lenovo3@179.26.59.146) has joined #tryton18:01
andrespoliti4.818:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:01
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:01
csotelohi all, I have a question related to field definition. Is possible to re define a field on a module extension? any sample? thanks22:01
csoteloI mean, a field defined as readolny, re define as not readonly, is that posible?22:01
-!- piyfy(~cj@31.10.151.8) has joined #tryton23:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:01

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