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 #tryton00:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:03
-!- kstenger1(~karla@r186-50-21-101.dialup.adsl.anteldata.net.uy) has joined #tryton01:03
-!- JanGB(~jan@ip5f5b2f5d.dynamic.kabel-deutschland.de) has joined #tryton03:03
-!- zmijunkie1(~Adium@200116b80ac67f00b02b43cdf55d171b.dip.versatel-1u1.de) has joined #tryton04:03
-!- yangoon(~mathiasb@i59F4D974.versanet.de) has joined #tryton04:03
-!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton07:03
-!- _2cadz(~2cadz@195.200.169.66) has joined #tryton07:03
-!- rpit(~rpit@p4FFB7E77.dip0.t-ipconnect.de) has joined #tryton08:03
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton08:03
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:03
-!- _2cadz(~2cadz@195.200.169.66) has joined #tryton08:03
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:03
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:03
-!- zmijunkie(~Adium@x2f7f366.dyn.telefonica.de) has joined #tryton10:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:03
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton10:03
-!- zmijunkie1(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton10:03
pokoliwhen reserving a customer shipment with a product with lot required, should tryton propose which lot should I be picked?11:03
cedkpokoli: no11:03
cedkpokoli: to be complete, since the begining lot are considered as a way to register what happened not what to do11:03
cedkindeed I think if the company has a picking strategy, it should not really be enforced by Tryton11:03
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 norm11:03
-!- mariomop(~quassel@host184.181-1-11.telecom.net.ar) has joined #tryton12:03
-!- _2cadz(~2cadz@82.64.14.213) has joined #tryton13:03
-!- kstenger(~karla@r190-133-126-177.dialup.adsl.anteldata.net.uy) has joined #tryton13:03
pokolicedk: so the user should always enter the picked lot, and if the it has picked several lots it should use the stock_split module13:03
-!- _2cadz(~2cadz@195.200.169.66) has joined #tryton13:03
cedkpokoli: yes14:03
cedkpokoli: but we need a tailored application to make this smooth, this is the goal of Ceryx14:03
pokolicedk: for our use case I think a tailored application is too complex.14:03
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton16:03
-!- zmijunkie(~Adium@200116b80ac67f0095b3a04b250309cf.dip.versatel-1u1.de) has joined #tryton16:03
-!- cdchapman(~perturbed@c-67-169-243-133.hsd1.ut.comcast.net) has joined #tryton16:03
-!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton18:03
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 how18:03
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 behavior18:03
csoteloby the way, my full invoice class model is https://pastebin.com/w1FKeE1d18:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:03
cedkcsotelo: this is probably because one of your function field return invalid value for the field19:03
cedkcsotelo: it can be too much digits for a number for example19:03
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 lot19:03
cedkcsotelo: it is internal, it compare the initial value with the value from the widget19:03
cedkcsotelo: such feature is useless for user so it is not in the client19:03
csotelocedk, I see, that was just a question in order to try to understand how tryton do this check19:03
csotelothanks a lot19:03
csoteloone mor thing, for get the user who post an invoice, what will be the right way19:03
cedkcsotelo: I do not understand19:03
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 invoice19:03
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:03
cedkcsotelo: you should look at the shipment for the field received_by, done_by etc22:03
-!- JosDzG(~Thunderbi@2806:10ae:3:a0b:cbf:2776:5c89:ab3b) has joined #tryton22:03
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 it22:03
cedkcsotelo: I understood, but just look how those fields are managed because it will work for your case22:03
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?22:03
cedkcsotelo: look how the shipment fields are managed22:03
csotelook!22:03
-!- mono(~mono@201.184.144.165) has joined #tryton22:03
-!- JosDzG(~Thunderbi@2806:10ae:3:a0b:cbf:2776:5c89:ab3b) has joined #tryton22:03
-!- JanGB(~jan@dslb-088-073-241-071.088.073.pools.vodafone-ip.de) has joined #tryton23:03
-!- kstenger1(~karla@r186-50-57-27.dialup.adsl.anteldata.net.uy) has joined #tryton23:03

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