chat.freenode.net #tryton log beginning Mon Jul 18 00:00:02 CEST 2011 | ||
2011-07-18 00:00 -!- okko2(~okko@LCaen-156-54-37-245.w80-11.abo.wanadoo.fr) has joined #tryton | ||
2011-07-18 00:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-07-18 02:05 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton | ||
2011-07-18 02:09 -!- sharoon_(~sharoon@c-76-109-201-37.hsd1.fl.comcast.net) has joined #tryton | ||
2011-07-18 03:24 -!- elbenfreund1(~elbenfreu@p54B948A0.dip.t-dialin.net) has joined #tryton | ||
2011-07-18 04:14 -!- alimon(~alimon@189.154.61.121) has joined #tryton | ||
2011-07-18 04:14 -!- elbenfreund(~elbenfreu@p54B948A0.dip.t-dialin.net) has joined #tryton | ||
2011-07-18 05:02 -!- yangoon(~mathiasb@p549F3554.dip.t-dialin.net) has joined #tryton | ||
2011-07-18 05:04 -!- ikks(~ikks@190.27.144.86) has joined #tryton | ||
2011-07-18 05:59 -!- helmor(~helmo@46.115.32.136) has joined #tryton | ||
2011-07-18 06:32 -!- dfamorato(~dfamorato@c-75-74-235-36.hsd1.fl.comcast.net) has joined #tryton | ||
2011-07-18 08:09 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 08:18 -!- mhi(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton | ||
2011-07-18 08:23 -!- ecarreras(~under@81.184.3.75.static.user.ono.com) has joined #tryton | ||
2011-07-18 08:23 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton | ||
2011-07-18 08:56 -!- vladimirek(~vladimire@adsl-dyn-146.95-102-183.t-com.sk) has joined #tryton | ||
2011-07-18 09:08 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 09:31 -!- helmor(~helmo@82.113.99.37) has joined #tryton | ||
2011-07-18 09:59 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-07-18 10:16 -!- shalabhaggarwal(~shalabhag@110.234.18.80) has joined #tryton | ||
2011-07-18 10:54 -!- reichlich(~reichlich@p5793D166.dip.t-dialin.net) has joined #tryton | ||
2011-07-18 11:34 -!- predatell(~predatell@85.198.132.141) has joined #tryton | ||
2011-07-18 12:08 -!- elbenfreund(~elbenfreu@p54B93F13.dip.t-dialin.net) has joined #tryton | ||
2011-07-18 12:56 -!- reichlich_(~reichlich@p578E993C.dip.t-dialin.net) has joined #tryton | ||
2011-07-18 12:59 -!- ccomb(~ccomb@94.122.77.142) has joined #tryton | ||
2011-07-18 12:59 -!- shalabhaggarwal(~shalabhag@110.234.18.80) has joined #tryton | ||
2011-07-18 13:03 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton | ||
2011-07-18 13:04 -!- ikks(~ikks@190.27.146.22) has joined #tryton | ||
2011-07-18 13:36 -!- ccomb1(~ccomb@94.122.66.26) has joined #tryton | ||
2011-07-18 14:11 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton | ||
2011-07-18 14:13 -!- sharoon(~sharoon@2001:470:5:630:e2f8:47ff:fe22:f228) has joined #tryton | ||
2011-07-18 14:13 <sharoon> cedk: ping | ||
2011-07-18 14:13 <cedk> sharoon: pong | ||
2011-07-18 14:14 <sharoon> cedk: I have been asked by a customer to develop a `ship as items are available` feature | ||
2011-07-18 14:15 <sharoon> cedk: so essentially i think what needs to be done is split `shipment.out` based on if the lines are avilable or not.. the `try_assign` method already splits lines, so separating the inventory_moves into a different shipment.out will do ? | ||
2011-07-18 14:15 <cedk> sharoon: I don't understand | ||
2011-07-18 14:16 <sharoon> cedk: assume that an order for Product A-3 units and Product B-2 units are made, and Product-B 1 is available | ||
2011-07-18 14:17 <sharoon> cedk: at the moment, the shipment.out `try_assign` method will split it into 2 draft lines of product A (3units) and product B(1 unit) and an assigned line of product B (1 unit) | ||
2011-07-18 14:17 <sharoon> cedk: but the company's policy is ship what is available and ship the rest as they become available | ||
2011-07-18 14:17 <cedk> sharoon: just delete the draft lines | ||
2011-07-18 14:18 <sharoon> cedk: but they will not be recreated unless the shipment.out is `done` right / | ||
2011-07-18 14:18 <cedk> sharoon: don't remember exactly when | ||
2011-07-18 14:19 <cedk> sharoon: it is when it is no more possible to go back with the shipment | ||
2011-07-18 14:19 <sharoon> cedk: yes, it recreates in the done state and this might also result in empty (quantity :0) outgoing moves | ||
2011-07-18 14:20 <sharoon> cedk: so do you think a new module has scope which could automatically `Ship what is available` to automate this behavior? | ||
2011-07-18 14:22 <cedk> sharoon: I made for a customer a small module that adds a partial button to the assign wizard | ||
2011-07-18 14:22 <cedk> sharoon: it just removes draft moves | ||
2011-07-18 14:22 <sharoon> cedk: ok, have you noticed that there might be empty outgoing lines in such a case ? | ||
2011-07-18 14:23 <cedk> sharoon: no | ||
2011-07-18 14:24 <sharoon> cedk: this is where it happens http://hg2.tryton.org/modules/stock/file/0d563e7bed45/shipment.py#l861 | ||
2011-07-18 14:27 <cedk> bechamel: why did not you delete the line if 0 ? | ||
2011-07-18 14:28 <sharoon> cedk: also I am testing the stock_supply module and it seems to have an edge case, If there is a requirement for 1 unit - a purchase request is properly created and it does not recreate as long as a purchase order in draft state is made from it. But when the purchase order is confirmed, it recreates the purchase request and this happens unless the shipment.in is in done state | ||
2011-07-18 14:31 <cedk> sharoon: it is perhaps an issue with the dates | ||
2011-07-18 14:31 <cedk> sharoon: if you purchase date is in the past, it is normal | ||
2011-07-18 14:32 <sharoon> cedk: you mean the date_start and date_end in the context of stock computation ? | ||
2011-07-18 14:35 <cedk> sharoon: no the date for the purchase | ||
2011-07-18 14:36 <cedk> sharoon: the planned date of the moves | ||
2011-07-18 14:36 <sharoon> cedk: got it, but i just checked and the situation is where its on same date and planned date on moves is also same day | ||
2011-07-18 14:44 <cedk> sharoon: is it in the past or not? | ||
2011-07-18 14:44 <sharoon> cedk: it is not in the past, its the same day | ||
2011-07-18 14:44 <sharoon> cedk: i was just going through the stock computation code to see if its something to do with that | ||
2011-07-18 14:47 -!- GENiALi(~GENiALi@zux221-160-019.adsl.green.ch) has joined #tryton | ||
2011-07-18 14:47 <cedk> sharoon: what is the same day? | ||
2011-07-18 14:48 <sharoon> cedk: The day of purchase == planned date of move == day of computing the purchase request by stock_supply module | ||
2011-07-18 14:51 <cedk> sharoon: normal, but are those dates in the past? | ||
2011-07-18 14:51 <sharoon> cedk: nope, the date == today() | ||
2011-07-18 14:52 <sharoon> cedk: do you want me to write a scenario with this situation to test ? | ||
2011-07-18 14:52 <cedk> sharoon: if you want | ||
2011-07-18 14:52 <sharoon> cedk: i think it will be easier to test | ||
2011-07-18 14:53 <cedk> sharoon: but I think the system assume that if you expect it today and you dod not receive it then you will not receive it so you must purchase a new one | ||
2011-07-18 14:55 <sharoon> cedk: i am not sure, because from the stock cmputation for forecasted=True and date_end=datetime.max it takes moves in all states >= today() (not >) | ||
2011-07-18 14:58 -!- rhubner(~rhubner@187.112.43.179) has joined #tryton | ||
2011-07-18 14:58 <rhubner> Hi sharoon | ||
2011-07-18 14:58 <sharoon> hi rhubner | ||
2011-07-18 14:59 <cedk> sharoon: so it is strange | ||
2011-07-18 15:00 <rhubner> sharoon: How do I add new files in a patch? | ||
2011-07-18 15:00 <sharoon> cedk: i will write a new scenario for this and update a ticket | ||
2011-07-18 15:00 <sharoon> rhubner: i dint understand, can you explain | ||
2011-07-18 15:01 <rhubner> sharoon: when files are modified, the "qrefresh" resolve the modifications . But when I create new files no resolve it | ||
2011-07-18 15:02 <rhubner> sharoon: Do I need to do "hg add" in files created? | ||
2011-07-18 15:03 <sharoon> rhubner: i think add and qrefresh will add to the current patch you are working on | ||
2011-07-18 15:04 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 15:05 <rhubner> sharoon: Ok... Do I never use "commit" when I'm change file in some patch, right? | ||
2011-07-18 15:06 <rhubner> sharoon: To send patched in tryton repo do I need to use what command? | ||
2011-07-18 15:06 <rhubner> patches* | ||
2011-07-18 15:07 <sharoon> rhubner: you will have to push the queues itself (provided cedk uses the mq extention), if not apply the patch permanently using `qfinish -a` and then follow the same routine as regular patch submission of tryton | ||
2011-07-18 15:12 <rhubner> sharoon: I've done some tests with the mq extension. I just needed to know how is sent to the repository later... | ||
2011-07-18 15:12 <rhubner> sharoon: Is it used "export"? | ||
2011-07-18 15:16 -!- dfamorato(~dfamorato@2001:470:5:630:cabc:c8ff:fe9b:26b7) has joined #tryton | ||
2011-07-18 15:19 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 15:26 <rhubner> cedk: I'm with a some doubts about your comments in codereview 52004... | ||
2011-07-18 15:28 <cedk> rhubner: which one? | ||
2011-07-18 15:28 <rhubner> cedk: I didn't understand your question in line 223 | ||
2011-07-18 15:31 <rhubner> cedk: And in the line 364 do you suggest that I use the __getattr__ method in the class? | ||
2011-07-18 15:33 <cedk> rhubner: the comment say: "Parser to..." but what is the from? | ||
2011-07-18 15:33 <cedk> rhubner: you parse from somthing to somthing | ||
2011-07-18 15:34 <rhubner> cedk: Haaa ok! | ||
2011-07-18 15:34 <cedk> rhubner: not __getattr__ but getattr | ||
2011-07-18 15:34 <cedk> getattr(self, '...') | ||
2011-07-18 15:34 <rhubner> cedk: Ok.. | ||
2011-07-18 15:36 <rhubner> cedk: regarding the use of extension mq, which command do I use to send the patch to the repository then? | ||
2011-07-18 15:36 <cedk> rhubner: you just have to give the right --rev | ||
2011-07-18 15:36 <rhubner> cedk: Is the same repo of tryton project, right? | ||
2011-07-18 15:39 -!- vladimirek(~vladimire@adsl-dyn-146.95-102-183.t-com.sk) has joined #tryton | ||
2011-07-18 15:40 <rhubner> But do I just send the patch to the parent repository at the end of the widget development? Because is the code I can show in codereview... | ||
2011-07-18 15:42 <cedk> rhubner: yes | ||
2011-07-18 15:51 <rhubner> cedk: why "PS: Please don't top-post." ? | ||
2011-07-18 15:51 <rhubner> cedk: What post do you refer... In the description? | ||
2011-07-18 15:53 <cedk> rhubner: when you answer on comment | ||
2011-07-18 16:51 -!- vladimirek(~vladimire@adsl-dyn-146.95-102-183.t-com.sk) has joined #tryton | ||
2011-07-18 16:59 -!- ccomb(~ccomb@94.122.91.93) has joined #tryton | ||
2011-07-18 17:58 -!- zxq9(~zxq9@FL1-111-168-155-120.okn.mesh.ad.jp) has joined #tryton | ||
2011-07-18 17:58 -!- zxq9(~zxq9@FL1-111-168-155-120.okn.mesh.ad.jp) has left #tryton | ||
2011-07-18 18:50 -!- alimon(~alimon@201.158.247.118) has joined #tryton | ||
2011-07-18 18:57 -!- gremly(~gremly@200.106.218.64) has joined #tryton | ||
2011-07-18 19:00 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-07-18 19:05 -!- enlightx(~enlightx@dynamic-adsl-94-34-233-219.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 19:24 <cedk> yangoon: ping | ||
2011-07-18 19:39 -!- alimon(~alimon@201.158.247.118) has joined #tryton | ||
2011-07-18 19:45 -!- enlightx(~enlightx@dynamic-adsl-94-34-233-219.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 20:03 -!- enlightx(~enlightx@dynamic-adsl-94-34-233-219.clienti.tiscali.it) has joined #tryton | ||
2011-07-18 20:08 -!- ccomb(~ccomb@94.122.91.213) has joined #tryton | ||
2011-07-18 20:59 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-07-18 21:20 -!- shalabhaggarwal(~shalabhag@14.98.168.174) has joined #tryton | ||
2011-07-18 21:53 -!- bvillasanti1(~bruno@186-129-248-247.static.speedy.com.ar) has joined #tryton | ||
2011-07-18 22:33 -!- sharoon(~sharoon@2001:470:5:630:e2f8:47ff:fe22:f228) has joined #tryton | ||
2011-07-18 22:49 -!- bvillasanti(~bruno@186-129-248-247.static.speedy.com.ar) has joined #tryton | ||
2011-07-18 23:01 -!- bvillasanti(~bruno@186-129-248-247.static.speedy.com.ar) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!