IRC logs of #tryton for Tuesday, 2018-03-27

chat.freenode.net #tryton log beginning Tue Mar 27 00:00:01 CEST 2018
-!- JosDzG(~Thunderbi@187.217.195.45) has joined #tryton22:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:14
-!- kstenger1(~karla@r186-50-21-101.dialup.adsl.anteldata.net.uy) has joined #tryton23:34
-!- JanGB(~jan@ip5f5b2f5d.dynamic.kabel-deutschland.de) has joined #tryton01:06
-!- zmijunkie1(~Adium@200116b80ac67f00b02b43cdf55d171b.dip.versatel-1u1.de) has joined #tryton02:05
-!- yangoon(~mathiasb@i59F4D974.versanet.de) has joined #tryton02:38
-!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton05:11
-!- _2cadz(~2cadz@195.200.169.66) has joined #tryton05:54
-!- rpit(~rpit@p4FFB7E77.dip0.t-ipconnect.de) has joined #tryton06:04
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton06:17
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton06:26
-!- _2cadz(~2cadz@195.200.169.66) has joined #tryton06:44
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton07:00
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton07:45
-!- zmijunkie(~Adium@x2f7f366.dyn.telefonica.de) has joined #tryton08:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:25
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton08:30
-!- zmijunkie1(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton08:46
pokoliwhen reserving a customer shipment with a product with lot required, should tryton propose which lot should I be picked?09:21
cedkpokoli: no09:26
cedkpokoli: to be complete, since the begining lot are considered as a way to register what happened not what to do09:41
cedkindeed I think if the company has a picking strategy, it should not really be enforced by Tryton09:42
cedkbut there may be some special case where the strategy is too complex and so it must be encoded into the system but it should be the exception not the norm09:43
-!- mariomop(~quassel@host184.181-1-11.telecom.net.ar) has joined #tryton10:50
-!- _2cadz(~2cadz@82.64.14.213) has joined #tryton11:34
-!- kstenger(~karla@r190-133-126-177.dialup.adsl.anteldata.net.uy) has joined #tryton11:36
pokolicedk: so the user should always enter the picked lot, and if the it has picked several lots it should use the stock_split module11:44
-!- _2cadz(~2cadz@195.200.169.66) has joined #tryton11:58
cedkpokoli: yes12:19
cedkpokoli: but we need a tailored application to make this smooth, this is the goal of Ceryx12:19
pokolicedk: for our use case I think a tailored application is too complex.12:26
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton14:06
-!- zmijunkie(~Adium@200116b80ac67f0095b3a04b250309cf.dip.versatel-1u1.de) has joined #tryton14:38
-!- cdchapman(~perturbed@c-67-169-243-133.hsd1.ut.comcast.net) has joined #tryton14:57
-!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton16:46
csoteloDear comunity, I have found a weird behavior on a custom invoice module what I have build, when I try to nevigate on the form view ( next | prev ), appears to me a dialog box noticing me "the record have beend modified" and asking me if I want to save changes done, however I have no done any change, just navigate. My model have three fields functions defined with methodclass decorator, my question, is there a way to find a way to debug it, or at least how16:51
csoteloto know o how tryton decide to ask if a records have been changed, in order to know the reason on why my module make tryton have this behavior16:51
csoteloby the way, my full invoice class model is https://pastebin.com/w1FKeE1d16:58
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton17:08
cedkcsotelo: this is probably because one of your function field return invalid value for the field17:12
cedkcsotelo: it can be too much digits for a number for example17:13
csotelocedk, I see. Is there any flag or something else to indicate that a record have been chagned? I mean, how Tryton know that a field have been modified? finally: thanks a lot17:15
cedkcsotelo: it is internal, it compare the initial value with the value from the widget17:19
cedkcsotelo: such feature is useless for user so it is not in the client17:19
csotelocedk, I see, that was just a question in order to try to understand how tryton do this check17:21
csotelothanks a lot17:21
csoteloone mor thing, for get the user who post an invoice, what will be the right way17:28
cedkcsotelo: I do not understand17:40
csoteloI mean, I need to add on a report invoice ( printed format ) the user full name who posted an invoice. I have noticed there is some field like create user and modified user, but it is for users who do a update or record modification, that is the reason on aking, what will be the right way on know who was the user who posted an invoice17:54
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton20:01
cedkcsotelo: you should look at the shipment for the field received_by, done_by etc20:09
-!- JosDzG(~Thunderbi@2806:10ae:3:a0b:cbf:2776:5c89:ab3b) has joined #tryton20:10
csotelocedk, NO I am not using sales module, I mean I just talking about account_invoice and make a cusom module from this module, where I need to know who is the user who posted an invoice, befor paid it20:11
cedkcsotelo: I understood, but just look how those fields are managed because it will work for your case20:12
csoteloyes, I was thinking on write_uid, however it would manage the user id for any kind of change, including payment, I just need the "posted", I thought on invoice_historic, unfortunately it is storing just the posted date, any other suggest?20:16
cedkcsotelo: look how the shipment fields are managed20:17
csotelook!20:18
-!- mono(~mono@201.184.144.165) has joined #tryton20:24
-!- JosDzG(~Thunderbi@2806:10ae:3:a0b:cbf:2776:5c89:ab3b) has joined #tryton20:29
-!- JanGB(~jan@dslb-088-073-241-071.088.073.pools.vodafone-ip.de) has joined #tryton21:00
-!- kstenger1(~karla@r186-50-57-27.dialup.adsl.anteldata.net.uy) has joined #tryton21:18

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