• Yingjie Xu's avatar
    Merged Open Order periodic simulation work. · 85b031fb
    Yingjie Xu authored
    Now it is possible to have Hosting Subscription as causality of Root Applied
    Rule. It will generate simulation movements to cover defined period of
    subscription.
    
    Work by Yingjie Xu and Romain Courteaud.
    
    Squashed commit of the following:
    
    commit 97b7b4366c2ad77a42c4c924fd1379623432f712
    Merge: 97cdd11 c092cb6f
    Author: Łukasz Nowak <luke@nexedi.com>
    Date:   Thu Dec 15 17:15:53 2011 +0100
    
        Merge remote-tracking branch 'origin/master' into open_order_simulation
    
    commit 97cdd11897c8203cd8ee6dd5e586f9118e39fdfb
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Thu Dec 15 16:01:24 2011 +0100
    
        Remove OpenOrderMovementGroup.
    
        OrderMovementGroup can now handle Subscription Item as causality.
    
    commit 32b648c32da868955723d82047c3975728fbf666
    Merge: 54508f4 9cdf7a81
    Author: Łukasz Nowak <luke@nexedi.com>
    Date:   Wed Dec 14 17:03:58 2011 +0100
    
        Merge remote-tracking branch 'origin/master' into open_order_simulation
    
    commit 54508f4973b0ef6526fff63b135410d00f8a9bfe
    Merge: 2aa3ebe ab3ed488
    Author: Łukasz Nowak <luke@nexedi.com>
    Date:   Tue Dec 13 15:45:55 2011 +0100
    
        Merge remote-tracking branch 'origin/master' into open_order_simulation
    
    commit 2aa3ebe00c730b6cfa894bbdc4bcef14e6166269
    Merge: 46fea37 d4400416
    Author: Łukasz Nowak <luke@nexedi.com>
    Date:   Fri Dec 9 14:24:24 2011 +0100
    
        Merge remote-tracking branch 'origin/master' into open_order_simulation
    
    commit 46fea37bcece360f412765ec035c631e250b18c8
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Dec 8 18:31:37 2011 +0100
    
        Add open order movement group class.
    
    commit 7e6719d05f4dfa24478955bdd90a42e6e97acac7
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Dec 8 18:31:19 2011 +0100
    
        Fix allowed content type.
    
    commit 20de320d675ed471bc44eb0b36b200aacf02ef80
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Dec 8 18:11:11 2011 +0100
    
        Add open order movement group and allow delivery builder access it.
    
    commit eb95e06a311ca8815db73ec1b986c4f6cbd8b9a6
    Merge: 72f669e 90b9a274
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Wed Dec 7 07:18:22 2011 +0100
    
        Merge branch 'master' into open_order_simulation
    
    commit 72f669e1d5a9d48b595f719fd40b6bd96e5ba11a
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Dec 5 16:57:40 2011 +0100
    
        Property should be fetch from parent simulation.
    
    commit 504fd655711b7267ee14a234efedbdd4f066f491
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Dec 5 16:46:40 2011 +0100
    
        Revert "Subscription Item does have order value, use explanation value instead."
    
        This reverts commit 8a9635f5209285b3e1d836dbf3365c2ef2cc7123.
    
    commit 8a9635f5209285b3e1d836dbf3365c2ef2cc7123
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Dec 5 16:19:50 2011 +0100
    
        Subscription Item does have order value, use explanation value instead.
    
    commit ca5063ced202e5337140c9a92d5901c1cc96fab9
    Merge: b1787b5 89aee418
    Author: Łukasz Nowak <luke@nexedi.com>
    Date:   Mon Dec 5 11:44:05 2011 +0100
    
        Merge branch 'master' into open_order_simulation
    
    commit b1787b512efcd2d5f7a8c8ce873902e41c2d1c4c
    Merge: d2b1a05 3ada0969
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Sat Dec 3 02:17:44 2011 +0100
    
        Merge branch 'master' into open_order_simulation
    
    commit d2b1a05f4463ede8238d4d17014428e6cd88d055
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Dec 2 14:18:11 2011 +0100
    
        Fix date calculation.
    
    commit 60692404c4a7a8d5c43f44eb2c27d98a5fddcce1
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Dec 1 12:47:47 2011 +0100
    
        Fix date calculation
    
    commit 438adb2377fc26841a63c65896ccab2722d97946
    Merge: 7945d45 f10ebb36
    Author: Łukasz Nowak <luke@nexedi.com>
    Date:   Mon Nov 28 13:56:43 2011 +0100
    
        Merge branch 'master' into open_order_simulation
    
    commit 7945d45342fdc1f09b0de05c7352823545326d99
    Merge: 6a69b7a 48124c43
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Sat Nov 26 18:16:07 2011 +0100
    
        Merge branch 'master' into open_order_simulation
    
    commit 6a69b7a8349a1c56f553d26da992738ef5dc5b48
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 25 18:36:43 2011 +0100
    
        Return default value is no aggregated open order line exist.
    
    commit 4c749bdde0465838cf7663eca587e1282b1f9374
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 22 13:23:09 2011 +0100
    
        Use getRuleReference, remove hard-coded value.
    
    commit d52a204cddffff01ce0e7d294813ed0411c7766c
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 22 13:03:24 2011 +0100
    
        Hard code root applied rule now.
    
    commit c9a909b584a73503beef933bcae45b59689ece32
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 22 13:02:10 2011 +0100
    
        Do not expand too early: before bp/stc is applied
    
    commit 575005dd3972ec573675818ee380381de2331a2d
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Mon Nov 21 17:50:39 2011 +0100
    
        Force failures on some machines.
    
        Needed as interface inheritance is broken.
    
    commit 80d5e37bb0665318d3cd800d336104493b0f21f4
    Merge: 0cf8377 4c8b7ee5
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Fri Nov 18 13:46:44 2011 +0100
    
        Merge remote-tracking branch 'origin/master' into open_order_simulation
    
    commit 0cf83778a9c51dd4252701347d9d04857819ce43
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 10:51:16 2011 +0100
    
        Revert "Do not expand if sale trade condition does not exist."
    
        This reverts commit ea06e261c689614af80590276ba15586abda1348.
    
        This shall not happen now, in another way, we should defines when to expand carefully.
    
    commit 67dd1f0be80b11d4cd9ab3cee82c87f8ea471811
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 06:18:14 2011 +0100
    
        Revert "Trigger unit tests."
    
        This reverts commit 81a2502885a06cd13dde7aee797717b7e897a8b2.
    
    commit 81a2502885a06cd13dde7aee797717b7e897a8b2
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 05:24:03 2011 +0100
    
        Trigger unit tests.
    
    commit 4149abb483270439c5158aae9330b9c6e86097b0
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 05:13:18 2011 +0100
    
        Do not overwrite _setCategoryMembership
    
    commit a8a225178d48186b912609a7e6d915a4e747aece
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 04:43:04 2011 +0100
    
        Do not delegate category other than specialise to open order line.
    
    commit 1e00bd784ea2827c954a9f7e13ce01178d6c8a7a
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 04:30:30 2011 +0100
    
        Revert "For unit tests only, record call stack."
    
        This reverts commit a2671846ce735ea666e34091ac416bbf20c6ce15.
    
    commit a2671846ce735ea666e34091ac416bbf20c6ce15
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 04:01:28 2011 +0100
    
        For unit tests only, record call stack.
    
    commit 42f622b53ae51a068d0f959e744f24b0811c0786
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 03:56:20 2011 +0100
    
        Revert "Trigger unit tests."
    
        This reverts commit a522b1cde84ef18f3f7b8d92dcbb895172d96993.
    
    commit a522b1cde84ef18f3f7b8d92dcbb895172d96993
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 02:45:06 2011 +0100
    
        Trigger unit tests.
    
    commit ea06e261c689614af80590276ba15586abda1348
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 01:42:41 2011 +0100
    
        Do not expand if sale trade condition does not exist.
    
    commit eea82556c875bab1274d79739644a5bab3dbb77b
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 01:17:15 2011 +0100
    
        Typo
    
    commit f5af7b62aac3c495de50c0a8be532a9cf53f6680
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Fri Nov 18 00:27:53 2011 +0100
    
        Typo
    
    commit f72a279c01a4b2fa7c06cf10258fd1eb433e9a0b
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 22:46:13 2011 +0100
    
        get/set category membership.
    
    commit 95c9d0729008bf9ed735f9e21b3e1008de5fbcf8
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 21:40:59 2011 +0100
    
        fetch specialise value/value_list from open order line.
    
    commit 9710f2ccc9be866198941ce71830fa653dab0a88
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 17:39:24 2011 +0100
    
        Revert "This modification is used for testing. Should be reverted soon."
    
        This reverts commit 92e56f6ee437bc8c1504476f1c329230500ea613.
    
    commit d7cab105694a2e8257fa346861391b77c32a2b22
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 17:38:38 2011 +0100
    
        Expand method should have more power.
    
    commit 92e56f6ee437bc8c1504476f1c329230500ea613
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 16:02:52 2011 +0100
    
        This modification is used for testing. Should be reverted soon.
    
    commit d71fcf1d48f5bd465098115b9770228715df5c4f
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 11:01:26 2011 +0100
    
        Try new way to fetch category membership list from subscription item.
    
    commit f3f3be5cdfce5d9a5475c057bff61f25809834b2
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 10:50:59 2011 +0100
    
        Revert "These two are Movement."
    
        This reverts commit 235863c75040e7cb4a64486d6b9f1364fe53dc03.
    
    commit 3a1894b6a2a497e172e7006bafb404817a9de50b
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Nov 17 10:50:17 2011 +0100
    
        Revert "Open Order is also a subclass of CompositionMixin."
    
        This reverts commit 699805e6750a7ba2ea019bce4627ecfc0fff0a54.
    
    commit 6175d1bfd6a0e27f37735655a8cd8653bee96cf0
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Wed Nov 16 15:53:18 2011 +0100
    
        Proxy specialise value to related open order line.
    
    commit 235863c75040e7cb4a64486d6b9f1364fe53dc03
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Wed Nov 16 11:07:28 2011 +0100
    
        These two are Movement.
    
    commit b981d71f00ea39f29c8ab3ac6cfce49404910784
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Wed Nov 16 10:42:03 2011 +0100
    
        Revert "This is commit is used to trigger unit test bot."
    
        This reverts commit ae878074e8d981daf5e6215a2b8ff0b226914e81.
    
    commit ae878074e8d981daf5e6215a2b8ff0b226914e81
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Wed Nov 16 10:41:16 2011 +0100
    
        This is commit is used to trigger unit test bot.
    
    commit 699805e6750a7ba2ea019bce4627ecfc0fff0a54
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 14:47:20 2011 -0700
    
        Open Order is also a subclass of CompositionMixin.
    
    commit e850630030a88c7986c08c3ae73e57d276b6b9cd
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 18:08:47 2011 +0100
    
        Override CompositionMixin so asComposedDocuemtn works properly on SI.
    
    commit a2340f512b418e346a8135fb8ea45d2da8546316
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 16:51:26 2011 +0100
    
        Subclass composition mixin.
    
    commit 6779322f13ebd0e05f7e44ea8a8755cb26bf4791
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 14:55:59 2011 +0100
    
        Typo
    
    commit 57c90b14c8d472e5d33929a95acb7e72b61ec00e
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 11:59:42 2011 +0100
    
        Obtain many properties from aggregated open sale order line.
    
    commit d547baeb1e4acaf966bd59605eca670435de98b3
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 11:34:09 2011 +0100
    
        Add price currency to simulation.
    
    commit b215fee3ee46f78b8cfa3e9fd22dc2a2bbf14958
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 15 11:31:11 2011 +0100
    
        Remove trailing whitespaces.
    
    commit e9b31fd9d0de1e5fc6095dabba5ad5645ad84473
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Nov 14 16:21:59 2011 +0100
    
        Proxy manager role temporarily.
    
    commit 325308ac3e26a98091689b9b773669afdf080c2e
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 8 18:06:32 2011 +0100
    
        Revert "Normalize datetime to 00:00"
    
        This reverts commit b56a572fb430ae6d9611dae2bd8ecfca687fe40f.
    
        This one should not be changed here.
    
    commit b56a572fb430ae6d9611dae2bd8ecfca687fe40f
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Nov 8 17:28:57 2011 +0100
    
        Normalize datetime to 00:00
    
    commit 44f6c6ee8522ea407c5a5a3f18125dad2c6d6a97
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Tue Nov 8 14:55:00 2011 +0100
    
        Fetch date information from Open Sale Order Line
    
    commit 3725c719c555124841f34b38ef83a260d1b3084c
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Tue Nov 8 14:33:03 2011 +0100
    
        Copy/Paste code from Delivery to create the applied rule
    
    commit 1276774789db8a2f55ec09aece3d1846e82b0601
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Tue Nov 8 14:24:22 2011 +0100
    
        Add getRuleReference on Subscription Item
    
    commit 3d9f1304ed9749105b95d904defa5b70275016bb
    Merge: f23828d 82f3de6e
    Author: Romain Courteaud <romain@nexedi.com>
    Date:   Tue Nov 8 13:27:48 2011 +0100
    
        Merge remote-tracking branch 'origin/master' into open_order_simulation
    
    commit f23828df3c3995e92255330ff4ab9a546573edb5
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Nov 7 23:45:05 2011 +0100
    
        Revert to old Subscription Item.
    
    commit 0d9299134dc72e20ba433a9bc2286828fd8d315d
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Oct 27 11:01:42 2011 +0200
    
        Update rule selection method.
    
    commit 1a0fcf9cd8f9fc176a64d4cf4684dc2abaf1aa7b
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Oct 27 06:06:31 2011 +0200
    
        Implement IExpandableItem interface.
    
    commit 58f7ca0a6421729b94d63e415a3641af621d35b3
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Oct 27 05:26:47 2011 +0200
    
        Simulation Error is missing.
    
    commit 314d6ecf375c273d578fc794ae3bfa9885d0a637
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Oct 27 05:08:09 2011 +0200
    
        Typo.
    
    commit 92167ea712528ad199c259d64da4d665fdde3e62
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Thu Oct 27 04:45:55 2011 +0200
    
        Rewrite subscription item.
    
    commit 0183acaabdc2d27906b5434ae3a48d13bdea3f4e
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Tue Oct 25 13:04:01 2011 +0200
    
        Remove useless log.
    
    commit 1e9d7b9d4282a9bb38f9cacf5e129efeb53e98e5
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Oct 24 17:55:52 2011 +0200
    
        Adapt Subscription Item with current business process. However, it should be decoupled later.
    
    commit ba6f52255a4d4d618c13ead14d1b05ed9995f2cc
    Author: Yingjie Xu <yxu@nexedi.com>
    Date:   Mon Oct 24 11:47:33 2011 +0200
    
        Update ignorant files list.
    85b031fb
revision 4 Bytes