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
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
Léo-Paul Géneau
erp5
Commits
6feab8ef
Commit
6feab8ef
authored
Sep 23, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configurator_standard: minor code style fix
parent
5fea47d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
bt5/erp5_configurator_standard/TestTemplateItem/portal_components/test.erp5.testStandardConfigurationWorkflow.py
...components/test.erp5.testStandardConfigurationWorkflow.py
+16
-16
No files found.
bt5/erp5_configurator_standard/TestTemplateItem/portal_components/test.erp5.testStandardConfigurationWorkflow.py
View file @
6feab8ef
...
...
@@ -137,33 +137,33 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
def
stepSetFranceCase
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
""" Check if configuration key was created fine """
sequence
.
edit
(
configuration_currency_reference
=
'EUR'
,
configuration_gap
=
'gap/fr/pcg'
,
configuration_gap
=
'gap/fr/pcg'
,
configuration_accounting_plan
=
'fr'
,
configuration_currency_title
=
'Euro'
,
configuration_lang
=
'erp5_l10n_fr'
,
configuration_price_currency
=
'EUR;0.01;Euro'
,
configuration_currency_title
=
'Euro'
,
configuration_lang
=
'erp5_l10n_fr'
,
configuration_price_currency
=
'EUR;0.01;Euro'
,
organisation_default_address_city
=
'LILLE'
,
organisation_default_address_region
=
'europe/western_europe/france'
)
def
stepSetGermanyCase
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
""" Check if configuration key was created fine """
sequence
.
edit
(
configuration_currency_reference
=
'EUR'
,
configuration_gap
=
'gap/de/skr04'
,
configuration_gap
=
'gap/de/skr04'
,
configuration_accounting_plan
=
'de'
,
configuration_currency_title
=
'Euro'
,
configuration_lang
=
'erp5_l10n_de'
,
configuration_price_currency
=
'EUR;0.01;Euro'
,
configuration_currency_title
=
'Euro'
,
configuration_lang
=
'erp5_l10n_de'
,
configuration_price_currency
=
'EUR;0.01;Euro'
,
organisation_default_address_city
=
'Berlin'
,
organisation_default_address_region
=
'europe/western_europe/germany'
)
def
stepSetBrazilCase
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
""" Check if configuration key was created fine """
sequence
.
edit
(
configuration_currency_reference
=
'BRL'
,
configuration_gap
=
'gap/br/pcg'
,
configuration_gap
=
'gap/br/pcg'
,
configuration_accounting_plan
=
'br'
,
configuration_lang
=
'erp5_l10n_pt-BR'
,
configuration_currency_title
=
'Brazilian Real'
,
configuration_price_currency
=
'BRL;0.01;Brazilian Real'
,
configuration_lang
=
'erp5_l10n_pt-BR'
,
configuration_currency_title
=
'Brazilian Real'
,
configuration_price_currency
=
'BRL;0.01;Brazilian Real'
,
organisation_default_address_city
=
'CAMPOS'
,
organisation_default_address_region
=
'americas/south_america/brazil'
)
...
...
@@ -171,11 +171,11 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
""" Check if configuration key was created fine """
sequence
.
edit
(
configuration_currency_reference
=
'BYR'
,
configuration_gap
=
'gap/ru/ru2000'
,
configuration_gap
=
'gap/ru/ru2000'
,
configuration_accounting_plan
=
'ru'
,
configuration_price_currency
=
'BYR;0.01;Belarusian Rouble'
,
configuration_lang
=
'erp5_l10n_ru'
,
configuration_currency_title
=
'Belarusian Rouble'
,
configuration_price_currency
=
'BYR;0.01;Belarusian Rouble'
,
configuration_lang
=
'erp5_l10n_ru'
,
configuration_currency_title
=
'Belarusian Rouble'
,
organisation_default_address_city
=
'MOSCOW'
,
organisation_default_address_region
=
'europe/eastern_europe/russian_federation'
)
...
...
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