IRC logs of #tryton for Friday, 2017-03-24

chat.freenode.net #tryton log beginning Fri Mar 24 00:00:01 CET 2017
-!- JosDzG(~Thunderbi@189.250.141.244) has joined #tryton00:00
-!- smarro(~sebastian@181.16.7.104) has joined #tryton01:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:49
-!- JosDzG(~Thunderbi@189.250.141.244) has joined #tryton02:52
-!- csotelo(~csotelo@2001:1388:49c4:26:3b38:fb54:94df:ddbc) has joined #tryton03:14
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:40
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:41
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton07:52
-!- thaneor(~ldlc6@179.26.52.155) has joined #tryton08:13
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:49
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:53
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton10:54
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:26
-!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton13:03
-!- mariomop(~quassel@host155.190-30-5.telecom.net.ar) has joined #tryton13:09
-!- mariomop(~quassel@190.30.5.155) has joined #tryton14:01
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton14:08
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton14:28
-!- marc_(~marc@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton15:24
marc_Hi everyone. I'd like to share sequence number between 3 models, but I can't find any information about it. Any examples or clues?15:25
cedkmarc_: are you talking about ir.sequence?15:37
marc_yes, indeed15:37
cedkmarc_: so you can use where ever you want15:42
cedkmarc_: usually we put a many2one to it on configuration model15:42
marc_so, the thing is, there are 3 models related to each other so the id number has to be unique between them15:43
cedkmarc_: you are talking about the column id or a number column like on sale?15:44
marc_cedk: id column15:54
cedkmarc_: you can alter the table to use the same sequence but I do not really see why you need such behaviour15:56
marc_so you'd recomend me to use another field filled with a sequence shared by all 3 models?15:57
marc_that makes sense for mee too15:57
cedkmarc_: I can not make recommendation as I do not know the context15:58
-!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton16:01
marc_as simple as it sounds. 3 different models need to have an incremental number. But it's shared. I.e. Insert one A, id 1. Insert one B, id 2. Insert one A, id 3. Insert one C, id 416:01
marc_incremental *shared* number16:01
cedkmarc_: for me, you describe a solution not a problem16:01
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton16:05
cedkmarc_: why does they need to be unique and incremental?16:05
marc_yes, I have my solution. The problem is that I don't know how to use a sequence or how to assign, regardless the field, it everytime I create A, B or C16:06
marc_client requierements.16:06
cedkmarc_: I can not advise about a solution when this one is forced16:07
marc_ok, let's begin again. My customer has 3 analysis types that are related but not close to be similar, so I made up it with 3 different models. But he needs a unique "serial" number across them.16:11
cedkmarc_: use UUID16:11
cedkmarc_: as far as I see it has nothing to do with the internal ID16:12
marc_yes, it might not be related. It was just one idea. Ok, i'll give a look to UUID16:12
marc_any example in any module? I can't not seem to find it in docs16:13
cedkmarc_: we use it in party_vcarddav16:15
marc_cedk: ok, I'll take a look. Thank you very much16:15
cedkmarc_: but indeed it depend on the usage of this identifier16:19
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton16:22
-!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton16:25
-!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton16:44
-!- smarro(~sebastian@181.16.7.104) has joined #tryton16:44
-!- marc_(~marc@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton16:44
-!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton16:58
-!- smarro(~sebastian@181.16.7.104) has joined #tryton17:05
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton17:24
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton17:58
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton18:13
-!- morfeokmg(~Mutter@200.68.129.113) has joined #tryton18:20
-!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton18:28
-!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton19:17
-!- noeh(~noeh@ip-178-200-236-247.hsi07.unitymediagroup.de) has joined #tryton19:32
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton19:46
-!- thaneor1(~ldlc6@r179-25-173-135.dialup.adsl.anteldata.net.uy) has joined #tryton20:15
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton20:22
-!- morfeokmg(~morfeokmg@187-163-83-51.static.axtel.net) has joined #tryton20:32
morfeokmghello guys20:32
morfeokmgare you there?20:32
morfeokmgI have a question20:32
morfeokmgi desing a new module and reviewing with the documentation, i see that my module is correct, but i receive the next results:20:32
morfeokmgDEBUG trytond.protocols.dispatcher Result: []20:32
morfeokmgwithout results jejejeejjeejej20:33
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton20:50
-!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton21:12
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:16
-!- morfeokmg(~morfeokmg@187-163-83-51.static.axtel.net) has joined #tryton21:16
-!- morfeokmg_(~Mutter@200.68.129.113) has joined #tryton21:19
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton21:44
-!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton22:16
-!- alexbodn(~alex@213.57.190.189) has joined #tryton23:47

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