Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
176 additions
and
223 deletions
+176
-223
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/standard_business_process.ods.xml
...5_configurator_standard/standard_business_process.ods.xml
+174
-223
bt5/erp5_configurator_standard/TestTemplateItem/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):
...
@@ -644,6 +644,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self
.
assertEquals
(
accounting_credit_path
.
getTradePhase
(),
'trade/accounting'
)
self
.
assertEquals
(
accounting_credit_path
.
getTradePhase
(),
'trade/accounting'
)
self
.
assertEquals
(
accounting_credit_path
.
getTradeDate
(),
'trade_phase/trade/invoicing'
)
self
.
assertEquals
(
accounting_credit_path
.
getTradeDate
(),
'trade_phase/trade/invoicing'
)
self
.
assertEquals
(
accounting_credit_path
.
getSource
(),
"account_module/receivable"
)
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
)
accounting_debit_path
=
getattr
(
business_process
,
"accounting_debit_path"
,
None
)
self
.
assertNotEquals
(
accounting_debit_path
,
None
)
self
.
assertNotEquals
(
accounting_debit_path
,
None
)
...
@@ -651,6 +652,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
...
@@ -651,6 +652,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self
.
assertEquals
(
accounting_debit_path
.
getTradePhase
(),
'trade/accounting'
)
self
.
assertEquals
(
accounting_debit_path
.
getTradePhase
(),
'trade/accounting'
)
self
.
assertEquals
(
accounting_debit_path
.
getTradeDate
(),
'trade_phase/trade/invoicing'
)
self
.
assertEquals
(
accounting_debit_path
.
getTradeDate
(),
'trade_phase/trade/invoicing'
)
self
.
assertEquals
(
accounting_debit_path
.
getSource
(),
"account_module/sales"
)
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
)
order_link
=
getattr
(
business_process
,
"order_link"
,
None
)
self
.
assertNotEquals
(
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