Commit 7c33c6b7 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: generate accounting movement for discount service

parent eeb5b1d7
...@@ -61,9 +61,11 @@ ...@@ -61,9 +61,11 @@
<value> <value>
<object> <object>
<klass> <klass>
<global id="1.1" name="DateTime" module="DateTime.DateTime"/> <global id="1.1" name="_reconstructor" module="copy_reg"/>
</klass> </klass>
<tuple> <tuple>
<global id="1.2" name="DateTime" module="DateTime.DateTime"/>
<global id="1.3" name="object" module="__builtin__"/>
<none/> <none/>
</tuple> </tuple>
<state> <state>
...@@ -84,6 +86,16 @@ ...@@ -84,6 +86,16 @@
<value> <string>This business path is just a template thus disabled by using \'python:False\' in Predicate.\n <value> <string>This business path is just a template thus disabled by using \'python:False\' in Predicate.\n
For real use, it is required to set an appropriate source (= account) category in Profile.</string> </value> For real use, it is required to set an appropriate source (= account) category in Profile.</string> </value>
</item> </item>
<item>
<key> <string>destination_method_id</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>destination_method_replace_category</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>efficiency</string> </key> <key> <string>efficiency</string> </key>
<value> <float>1.0</float> </value> <value> <float>1.0</float> </value>
...@@ -115,6 +127,7 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -115,6 +127,7 @@ For real use, it is required to set an appropriate source (= account) category i
<value> <value>
<tuple> <tuple>
<string>resource_use/use/trade/sale</string> <string>resource_use/use/trade/sale</string>
<string>resource_use/use/trade/discount_service</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -124,6 +137,8 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -124,6 +137,8 @@ For real use, it is required to set an appropriate source (= account) category i
<object> <object>
<klass> <reference id="1.1"/> </klass> <klass> <reference id="1.1"/> </klass>
<tuple> <tuple>
<reference id="1.2"/>
<reference id="1.3"/>
<none/> <none/>
</tuple> </tuple>
<state> <state>
...@@ -149,6 +164,10 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -149,6 +164,10 @@ For real use, it is required to set an appropriate source (= account) category i
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Trade Model Path</string> </value> <value> <string>Trade Model Path</string> </value>
</item> </item>
<item>
<key> <string>source_method_replace_category</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>string_index</string> </key> <key> <string>string_index</string> </key>
<value> <value>
...@@ -169,7 +188,7 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -169,7 +188,7 @@ For real use, it is required to set an appropriate source (= account) category i
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Accounting Credit</string> </value> <value> <string>Accounting Sale Credit</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -129,6 +129,7 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -129,6 +129,7 @@ For real use, it is required to set an appropriate source (= account) category i
<string>resource_use/use/trade/sale</string> <string>resource_use/use/trade/sale</string>
<string>resource_use/use/trade/tax</string> <string>resource_use/use/trade/tax</string>
<string>resource_use/use/trade/deposit</string> <string>resource_use/use/trade/deposit</string>
<string>resource_use/use/trade/discount_service</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment