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

chat.freenode.net #tryton log beginning Fri Mar 24 00:00:01 CET 2017
2017-03-24 00:00 -!- JosDzG(~Thunderbi@189.250.141.244) has joined #tryton
2017-03-24 01:37 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-03-24 01:49 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-03-24 02:52 -!- JosDzG(~Thunderbi@189.250.141.244) has joined #tryton
2017-03-24 03:14 -!- csotelo(~csotelo@2001:1388:49c4:26:3b38:fb54:94df:ddbc) has joined #tryton
2017-03-24 07:40 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-03-24 07:41 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-03-24 07:52 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-03-24 08:13 -!- thaneor(~ldlc6@179.26.52.155) has joined #tryton
2017-03-24 08:49 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-03-24 08:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-03-24 10:54 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-03-24 11:26 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-03-24 13:03 -!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton
2017-03-24 13:09 -!- mariomop(~quassel@host155.190-30-5.telecom.net.ar) has joined #tryton
2017-03-24 14:01 -!- mariomop(~quassel@190.30.5.155) has joined #tryton
2017-03-24 14:08 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 14:28 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-03-24 15:24 -!- marc_(~marc@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton
2017-03-24 15:25 <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?
2017-03-24 15:37 <cedk> marc_: are you talking about ir.sequence?
2017-03-24 15:37 <marc_> yes, indeed
2017-03-24 15:42 <cedk> marc_: so you can use where ever you want
2017-03-24 15:42 <cedk> marc_: usually we put a many2one to it on configuration model
2017-03-24 15:43 <marc_> so, the thing is, there are 3 models related to each other so the id number has to be unique between them
2017-03-24 15:44 <cedk> marc_: you are talking about the column id or a number column like on sale?
2017-03-24 15:54 <marc_> cedk: id column
2017-03-24 15:56 <cedk> marc_: you can alter the table to use the same sequence but I do not really see why you need such behaviour
2017-03-24 15:57 <marc_> so you'd recomend me to use another field filled with a sequence shared by all 3 models?
2017-03-24 15:57 <marc_> that makes sense for mee too
2017-03-24 15:58 <cedk> marc_: I can not make recommendation as I do not know the context
2017-03-24 16:01 -!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton
2017-03-24 16: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 4
2017-03-24 16:01 <marc_> incremental *shared* number
2017-03-24 16:01 <cedk> marc_: for me, you describe a solution not a problem
2017-03-24 16:05 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 16:05 <cedk> marc_: why does they need to be unique and incremental?
2017-03-24 16:06 <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 C
2017-03-24 16:06 <marc_> client requierements.
2017-03-24 16:07 <cedk> marc_: I can not advise about a solution when this one is forced
2017-03-24 16:11 <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.
2017-03-24 16:11 <cedk> marc_: use UUID
2017-03-24 16:12 <cedk> marc_: as far as I see it has nothing to do with the internal ID
2017-03-24 16:12 <marc_> yes, it might not be related. It was just one idea. Ok, i'll give a look to UUID
2017-03-24 16:13 <marc_> any example in any module? I can't not seem to find it in docs
2017-03-24 16:15 <cedk> marc_: we use it in party_vcarddav
2017-03-24 16:15 <marc_> cedk: ok, I'll take a look. Thank you very much
2017-03-24 16:19 <cedk> marc_: but indeed it depend on the usage of this identifier
2017-03-24 16:22 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-03-24 16:25 -!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton
2017-03-24 16:44 -!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton
2017-03-24 16:44 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-03-24 16:44 -!- marc_(~marc@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton
2017-03-24 16:58 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-03-24 17:05 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-03-24 17:24 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 17:58 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 18:13 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-03-24 18:20 -!- morfeokmg(~Mutter@200.68.129.113) has joined #tryton
2017-03-24 18:28 -!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton
2017-03-24 19:17 -!- JosDzG(~Thunderbi@189.250.38.191) has joined #tryton
2017-03-24 19:32 -!- noeh(~noeh@ip-178-200-236-247.hsi07.unitymediagroup.de) has joined #tryton
2017-03-24 19:46 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 20:15 -!- thaneor1(~ldlc6@r179-25-173-135.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-03-24 20:22 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 20:32 -!- morfeokmg(~morfeokmg@187-163-83-51.static.axtel.net) has joined #tryton
2017-03-24 20:32 <morfeokmg> hello guys
2017-03-24 20:32 <morfeokmg> are you there?
2017-03-24 20:32 <morfeokmg> I have a question
2017-03-24 20:32 <morfeokmg> i desing a new module and reviewing with the documentation, i see that my module is correct, but i receive the next results:
2017-03-24 20:32 <morfeokmg> DEBUG trytond.protocols.dispatcher Result: []
2017-03-24 20:33 <morfeokmg> without results jejejeejjeejej
2017-03-24 20:50 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-03-24 21:12 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-24 21:16 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-03-24 21:16 -!- morfeokmg(~morfeokmg@187-163-83-51.static.axtel.net) has joined #tryton
2017-03-24 21:19 -!- morfeokmg_(~Mutter@200.68.129.113) has joined #tryton
2017-03-24 21:44 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-03-24 22:16 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-03-24 23:47 -!- alexbodn(~alex@213.57.190.189) has joined #tryton

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