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

slapos_accounting: generate accounting movement for discount service

parent eeb5b1d7
......@@ -61,9 +61,11 @@
<value>
<object>
<klass>
<global id="1.1" name="DateTime" module="DateTime.DateTime"/>
<global id="1.1" name="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global id="1.2" name="DateTime" module="DateTime.DateTime"/>
<global id="1.3" name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
......@@ -84,6 +86,16 @@
<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>
</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>
<key> <string>efficiency</string> </key>
<value> <float>1.0</float> </value>
......@@ -115,6 +127,7 @@ For real use, it is required to set an appropriate source (= account) category i
<value>
<tuple>
<string>resource_use/use/trade/sale</string>
<string>resource_use/use/trade/discount_service</string>
</tuple>
</value>
</item>
......@@ -124,6 +137,8 @@ For real use, it is required to set an appropriate source (= account) category i
<object>
<klass> <reference id="1.1"/> </klass>
<tuple>
<reference id="1.2"/>
<reference id="1.3"/>
<none/>
</tuple>
<state>
......@@ -149,6 +164,10 @@ For real use, it is required to set an appropriate source (= account) category i
<key> <string>portal_type</string> </key>
<value> <string>Trade Model Path</string> </value>
</item>
<item>
<key> <string>source_method_replace_category</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>string_index</string> </key>
<value>
......@@ -169,7 +188,7 @@ For real use, it is required to set an appropriate source (= account) category i
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Accounting Credit</string> </value>
<value> <string>Accounting Sale Credit</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -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/tax</string>
<string>resource_use/use/trade/deposit</string>
<string>resource_use/use/trade/discount_service</string>
</tuple>
</value>
</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