Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos.core
Commits
d9d73167
Commit
d9d73167
authored
Jun 06, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: generate accounting for resource_use/use/trade/deposit
parent
ebcad601
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
239 additions
and
0 deletions
+239
-0
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_debit_path.xml
...e/slapos_ultimate_business_process/account_debit_path.xml
+15
-0
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_deposit_credit_path.xml
...ultimate_business_process/account_deposit_credit_path.xml
+224
-0
No files found.
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_debit_path.xml
View file @
d9d73167
...
...
@@ -86,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>
...
...
@@ -118,6 +128,7 @@ For real use, it is required to set an appropriate source (= account) category i
<tuple>
<string>
resource_use/use/trade/sale
</string>
<string>
resource_use/use/trade/tax
</string>
<string>
resource_use/use/trade/deposit
</string>
</tuple>
</value>
</item>
...
...
@@ -154,6 +165,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>
...
...
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_deposit_credit_path.xml
0 → 100644
View file @
d9d73167
<?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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment