Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
136
Merge Requests
136
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
fb497349
Commit
fb497349
authored
Dec 20, 2012
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure destination accounts on business process, so that we have minimum accounting for purchase
parent
8b4e6106
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
176 additions
and
223 deletions
+176
-223
standard_business_process.ods.xml
...5_configurator_standard/standard_business_process.ods.xml
+174
-223
testStandardConfigurationWorkflow.py
...ard/TestTemplateItem/testStandardConfigurationWorkflow.py
+2
-0
No files found.
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/standard_business_process.ods.xml
View file @
fb497349
This diff is collapsed.
Click to expand it.
bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
View file @
fb497349
...
...
@@ -644,6 +644,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self
.
assertEquals
(
accounting_credit_path
.
getTradePhase
(),
'trade/accounting'
)
self
.
assertEquals
(
accounting_credit_path
.
getTradeDate
(),
'trade_phase/trade/invoicing'
)
self
.
assertEquals
(
accounting_credit_path
.
getSource
(),
"account_module/receivable"
)
self
.
assertEquals
(
accounting_credit_path
.
getDestination
(),
"account_module/payable"
)
accounting_debit_path
=
getattr
(
business_process
,
"accounting_debit_path"
,
None
)
self
.
assertNotEquals
(
accounting_debit_path
,
None
)
...
...
@@ -651,6 +652,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self
.
assertEquals
(
accounting_debit_path
.
getTradePhase
(),
'trade/accounting'
)
self
.
assertEquals
(
accounting_debit_path
.
getTradeDate
(),
'trade_phase/trade/invoicing'
)
self
.
assertEquals
(
accounting_debit_path
.
getSource
(),
"account_module/sales"
)
self
.
assertEquals
(
accounting_debit_path
.
getDestination
(),
"account_module/purchase"
)
order_link
=
getattr
(
business_process
,
"order_link"
,
None
)
self
.
assertNotEquals
(
order_link
,
None
)
...
...
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