Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
d22323ac
Commit
d22323ac
authored
Dec 19, 2012
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure trade preference correctly
parent
b76491e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_setupPreferences.xml
...rator_standard/BusinessConfiguration_setupPreferences.xml
+6
-6
bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
...ard/TestTemplateItem/testStandardConfigurationWorkflow.py
+6
-6
bt5/erp5_configurator_standard/bt/revision
bt5/erp5_configurator_standard/bt/revision
+1
-1
No files found.
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_setupPreferences.xml
View file @
d22323ac
...
...
@@ -207,12 +207,12 @@ system_prefs = dict(\n
preferred_component_individual_variation_base_category_list = [\'variation\'],\n
preferred_service_individual_variation_base_category_list = [\'variation\'],\n
# trade\n
preferred_supplier_role_list = [\'supplier\'],\n
preferred_client_role_list = [\'client\'],\n
preferred_sale_use_list = [\'trade/sale\'],\n
preferred_purchase_use_list = [\'trade/purchase\'],\n
preferred_packing_use_list = [\'trade/container\'],\n
preferred_tax_use_list=[\'trade/tax\'])\n
preferred_supplier_role_list = [\'
role/
supplier\'],\n
preferred_client_role_list = [\'
role/
client\'],\n
preferred_sale_use_list = [\'
use/
trade/sale\'],\n
preferred_purchase_use_list = [\'
use/
trade/purchase\'],\n
preferred_packing_use_list = [\'
use/
trade/container\'],\n
preferred_tax_use_list=[\'
use/
trade/tax\'])\n
\n
configuration_save.addConfigurationItem(\n
\'System Preference Configurator Item\',\n
...
...
bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
View file @
d22323ac
...
...
@@ -361,12 +361,12 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
preference_tool
.
getPreferredAccountingTransactionSimulationStateList
())
# trade
self
.
assertEquals
([
'supplier'
],
preference_tool
.
getPreferredSupplierRoleList
())
self
.
assertEquals
([
'client'
],
preference_tool
.
getPreferredClientRoleList
())
self
.
assertEquals
([
'trade/sale'
],
preference_tool
.
getPreferredSaleUseList
())
self
.
assertEquals
([
'trade/purchase'
],
preference_tool
.
getPreferredPurchaseUseList
())
self
.
assertEquals
([
'trade/container'
],
preference_tool
.
getPreferredPackingUseList
())
self
.
assertEquals
([
'trade/tax'
],
preference_tool
.
getPreferredTaxUseList
())
self
.
assertEquals
([
'
role/
supplier'
],
preference_tool
.
getPreferredSupplierRoleList
())
self
.
assertEquals
([
'
role/
client'
],
preference_tool
.
getPreferredClientRoleList
())
self
.
assertEquals
([
'
use/
trade/sale'
],
preference_tool
.
getPreferredSaleUseList
())
self
.
assertEquals
([
'
use/
trade/purchase'
],
preference_tool
.
getPreferredPurchaseUseList
())
self
.
assertEquals
([
'
use/
trade/container'
],
preference_tool
.
getPreferredPackingUseList
())
self
.
assertEquals
([
'
use/
trade/tax'
],
preference_tool
.
getPreferredTaxUseList
())
def
stepCheckModulesBusinessApplication
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
...
...
bt5/erp5_configurator_standard/bt/revision
View file @
d22323ac
645
\ No newline at end of file
646
\ No newline at end of file
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