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

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

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