Commit d9d73167 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: generate accounting for resource_use/use/trade/deposit

parent ebcad601
...@@ -86,6 +86,16 @@ ...@@ -86,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>
...@@ -118,6 +128,7 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -118,6 +128,7 @@ For real use, it is required to set an appropriate source (= account) category i
<tuple> <tuple>
<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>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -154,6 +165,10 @@ For real use, it is required to set an appropriate source (= account) category i ...@@ -154,6 +165,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>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Trade Model Path" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>modification_date</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>date</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>creation_date</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>date</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>trade_phase/slapos/accounting</string>
<string>trade_date/trade_phase/slapos/invoicing</string>
<string>source/account_module/deposit</string>
</tuple>
</value>
</item>
<item>
<key> <string>creation_date</string> </key>
<value>
<object>
<klass>
<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>
<tuple>
<float>1324249200.0</float>
<string>GMT+1</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TMP-ACCOUNTING-DEPOSIT-CREDIT</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<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>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>account_deposit_credit_path</string> </value>
</item>
<item>
<key> <string>int_index</string> </key>
<value> <int>7</int> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>membership_criterion_base_category</string> </key>
<value>
<tuple>
<string>resource_use</string>
</tuple>
</value>
</item>
<item>
<key> <string>membership_criterion_category</string> </key>
<value>
<tuple>
<string>resource_use/use/trade/deposit</string>
</tuple>
</value>
</item>
<item>
<key> <string>modification_date</string> </key>
<value>
<object>
<klass> <reference id="1.1"/> </klass>
<tuple>
<reference id="1.2"/>
<reference id="1.3"/>
<none/>
</tuple>
<state>
<tuple>
<float>1324249200.0</float>
<string>GMT+1</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>multimembership_criterion_base_category</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>payment_end_of_month</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<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>
<none/>
</value>
</item>
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>test_tales_expression</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Accounting Deposit Credit</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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