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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
7c33c6b7
Commit
7c33c6b7
authored
Jun 13, 2023
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: generate accounting movement for discount service
parent
eeb5b1d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_credit_path.xml
.../slapos_ultimate_business_process/account_credit_path.xml
+21
-2
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
+1
-0
No files found.
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_credit_path.xml
View file @
7c33c6b7
...
@@ -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>
...
...
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_ultimate_business_process/account_debit_path.xml
View file @
7c33c6b7
...
@@ -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>
...
...
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