IRC logs of #tryton for Monday, 2014-10-27

chat.freenode.net #tryton log beginning Mon Oct 27 00:00:01 CET 2014
2014-10-27 00:41 -!- bvo(~bvo@port-14416.pppoe.wtnet.de) has joined #tryton
2014-10-27 01:22 -!- thomassgn(~thomas@195.1.144.118) has joined #tryton
2014-10-27 01:33 -!- lfm(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 01:46 -!- lfm(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 02:24 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-10-27 02:31 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 02:37 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 02:53 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 03:05 -!- digitalsatori1(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 03:07 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 03:10 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 03:16 -!- meanmicio(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 03:16 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-10-27 03:46 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 04:20 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-10-27 04:24 -!- notthemessiah(~castthesh@c-76-99-49-12.hsd1.pa.comcast.net) has joined #tryton
2014-10-27 05:50 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-10-27 06:01 -!- yangoon1(~mathiasb@p549F2E72.dip0.t-ipconnect.de) has joined #tryton
2014-10-27 06:40 -!- frispete_(~frispete@p54A93F84.dip0.t-ipconnect.de) has joined #tryton
2014-10-27 06:45 -!- fshahy(b903d4ab@gateway/web/freenode/ip.185.3.212.171) has joined #tryton
2014-10-27 06:45 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2014-10-27 06:46 -!- prksh(~prksh@103.245.118.154) has left #tryton
2014-10-27 07:36 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2014-10-27 07:51 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 08:07 -!- pobsteta(~Thunderbi@ANancy-651-1-223-64.w90-26.abo.wanadoo.fr) has joined #tryton
2014-10-27 08:58 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-10-27 08:59 -!- meanmicio(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 08:59 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-10-27 09:19 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-10-27 09:25 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-10-27 09:25 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-10-27 09:33 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-10-27 09:47 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton
2014-10-27 09:51 -!- udono(~udono@ip-88-153-242-147.hsi04.unitymediagroup.de) has joined #tryton
2014-10-27 10:09 -!- pjstevns(~Thunderbi@2001:981:7170:1:80b9:b3c6:6140:3374) has joined #tryton
2014-10-27 10:42 -!- digitalsatori(~Thunderbi@114.94.159.80) has joined #tryton
2014-10-27 11:56 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-10-27 12:42 -!- meanmicio(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 12:42 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-10-27 12:50 -!- prksh_(~prksh@198.61.199.179) has joined #tryton
2014-10-27 12:53 -!- prksh_(~prksh@198.61.199.179) has left #tryton
2014-10-27 12:54 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-10-27 13:51 -!- prksh_(~prksh@198.61.199.179) has joined #tryton
2014-10-27 13:51 <prksh_> hi cedk, do you remember we once discussed disassembly, or reversal of production
2014-10-27 13:52 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-10-27 13:52 <prksh_> I tried building it by actually changing inputs to outputs and vice versa
2014-10-27 13:52 <prksh_> without discussing the merits of the approach, I think I may have found a bug … but just want to be sure
2014-10-27 13:52 <pokoli> prksh_: can you describe?
2014-10-27 13:52 -!- lfm(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 13:54 <prksh_> pokoli: I am trying to set cost_price to the input (stock.move) (on on_change)
2014-10-27 13:54 <prksh_> pokoli: it wont get set because its a readonly field
2014-10-27 13:54 -!- bvo(~bruno@80.146.165.65) has joined #tryton
2014-10-27 13:54 <prksh_> pokoli: do you have any ideas ?
2014-10-27 13:55 <bvo> Hello, where exactly at what location / address (building) will TUL2014 be performed? Where to get this information when it is available?
2014-10-27 13:55 <bvo> How is trytond_import_zip to be invoked ? What is meant by Code? Is there documentation available somewhere?
2014-10-27 13:56 <prksh_> bvo: http://tul2014.tryton.org/#venue
2014-10-27 13:58 <prksh_> pokoli: makes it even more complicated because anglo saxon accounting prevents negative quantities
2014-10-27 13:59 <pokoli> prksh_: cost_price is computed when the move is done
2014-10-27 13:59 <pokoli> prksh_: based on product cost_price method
2014-10-27 14:00 <pokoli> prksh_: and based on move's unit price
2014-10-27 14:00 <pokoli> prksh_: can you explain why you get negative quantitites???
2014-10-27 14:00 <prksh_> pokoli: we want to reverse a production
2014-10-27 14:00 <Pilou> cedk: about issue4281, would not be useful to store the versions of trytond and each installed modules in the database ?
2014-10-27 14:00 <prksh_> pokoli: disassembly to be precise
2014-10-27 14:01 <pokoli> prksh_: so you have product a, which dissambles into 3 units of product b
2014-10-27 14:01 <pokoli> prksh_: The input moves is 1 quantity of product a, and the output move 3 quantities of product b
2014-10-27 14:02 <pokoli> prksh_: no need of negative quantities
2014-10-27 14:02 <prksh_> pokoli: yes I agree
2014-10-27 14:02 <prksh_> pokoli: and that is what I built too
2014-10-27 14:02 <prksh_> pokoli: let me send you the module code
2014-10-27 14:02 <prksh_> pokoli: https://github.com/openlabs/trytond-production-disassembly
2014-10-27 14:04 <prksh_> pokoli: the production module has a validation which ensures that the cost of production (sum(quantity * cost_price) of inputs) is equal to the cost of outputs (sum(quantity * unit_price) of outputs)
2014-10-27 14:04 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-10-27 14:05 <pokoli> prksh_: on explode bom you just have to change the super inputs/outputs
2014-10-27 14:05 <pokoli> prksh_: and then recompute the cost, as it won't be correct
2014-10-27 14:05 <pokoli> prksh_: I imagine you have a BOM which is the assembly operation
2014-10-27 14:05 <pokoli> prksh_: and you wan't to reverse explode it if dissambly is marked
2014-10-27 14:08 <prksh_> pokoli: yes, but did not change that because each move will also need the from and to location to be changed too
2014-10-27 14:08 <prksh_> pokoli: that was how the code was initially, but this one ended up being a lot simpler
2014-10-27 14:18 <pokoli> prksh_: thanks, so know i understand the code :P
2014-10-27 14:18 <prksh_> pokoli: :)
2014-10-27 14:19 <pokoli> prksh_: so the problem is that output unit_price is not updated correctly?
2014-10-27 14:19 <prksh_> pokoli: output unit price is computed correctly. it should be the totals of the products and quantities which it is
2014-10-27 14:19 <prksh_> pokoli: the issue is the inability to set the cost_price of the inut, which is used to find the production cost
2014-10-27 14:20 <prksh_> pokoli: I could overwrite the implemtation of get_cost, but I am not sure of the impact that could have
2014-10-27 14:20 <pokoli> prksh_: for me, the inputs unit_price should be the product's default one
2014-10-27 14:20 <pokoli> prksh_: and then, for each output you must decide which algorithm you use to split costs
2014-10-27 14:22 <prksh_> pokoli: yep, i think thats the only option left
2014-10-27 14:22 <prksh_> pokoli: any idea on how I could distribute the cost ?
2014-10-27 14:23 <prksh_> (over outputs)
2014-10-27 14:23 <pokoli> prksh_: that depends on the use case
2014-10-27 14:24 <pokoli> prksh_: but the simpler one, will be to distribute the costs based on quantities of each product
2014-10-27 14:28 <cedk> Pilou: no
2014-10-27 14:33 <cedk> Pilou: migration script must be idempotent
2014-10-27 15:15 -!- fshahy(b903d4ab@gateway/web/freenode/ip.185.3.212.171) has left #tryton
2014-10-27 15:41 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-10-27 16:11 -!- xrg_(~panos@ppp-2-84-217-138.home.otenet.gr) has joined #tryton
2014-10-27 16:39 -!- prksh(~prksh@1.39.26.236) has joined #tryton
2014-10-27 16:45 -!- lfm(~meanmicio@39.Red-83-57-158.dynamicIP.rima-tde.net) has joined #tryton
2014-10-27 16:45 -!- prksh(~prksh@1.39.26.236) has left #tryton
2014-10-27 16:46 -!- xrg_(~panos@ppp-2-84-217-138.home.otenet.gr) has joined #tryton
2014-10-27 17:09 -!- Shrine(~mark@37.46.136.17) has joined #tryton
2014-10-27 17:18 -!- Shrine(~mark@37.46.136.17) has joined #tryton
2014-10-27 17:27 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2014-10-27 17:42 -!- swayf_(~swayf@ipbcc037b2.dynamic.kabel-deutschland.de) has joined #tryton
2014-10-27 18:00 -!- Telesight(~anthony@77-175-158-148.FTTH.ispfabriek.nl) has joined #tryton
2014-10-27 18:25 -!- swayf(~swayf@ipbcc037b2.dynamic.kabel-deutschland.de) has joined #tryton
2014-10-27 19:09 -!- smarro(~sebastian@181.108.206.125) has joined #tryton
2014-10-27 20:32 -!- smarro(~sebastian@181.108.206.125) has joined #tryton
2014-10-27 20:34 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2014-10-27 20:56 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-10-27 21:57 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-10-27 23:25 -!- unicode2013(~unicode20@host31-51-87-213.range31-51.btcentralplus.com) has joined #tryton

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