Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Eugene Shen
erp5
Commits
45e56b46
Commit
45e56b46
authored
13 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Download
Email Patches
Plain Diff
configure delivery_builder in business link.
parent
2bc22536
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/ERP5/tests/testTradeModelLine.py
product/ERP5/tests/testTradeModelLine.py
+4
-0
No files found.
product/ERP5/tests/testTradeModelLine.py
View file @
45e56b46
...
...
@@ -136,6 +136,8 @@ class TestTradeModelLineMixin(TestBPMMixin, UserDict):
# should successor be trade_state/discounted? There is no
# such trade_state category
successor
=
'trade_state/accounted'
,
delivery_builder
=
[
'portal_deliveries/purchase_invoice_transaction_trade_model_builder'
,
'portal_deliveries/sale_invoice_transaction_trade_model_builder'
],
),
dict
(
reference
=
'tax'
,
trade_phase
=
'default/tax'
,
...
...
@@ -149,6 +151,8 @@ class TestTradeModelLineMixin(TestBPMMixin, UserDict):
# just to get back to accounted, and match it with (or
# create a new) a portal_rule.
successor
=
'trade_state/accounted'
,
delivery_builder
=
[
'portal_deliveries/purchase_invoice_transaction_trade_model_builder'
,
'portal_deliveries/sale_invoice_transaction_trade_model_builder'
],
),
]
for
business_link
in
business_link_list
:
...
...
This diff is collapsed.
Click to expand it.
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