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
beb6ebc5
Commit
beb6ebc5
authored
Jan 09, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore business configuration hidden field.
Conflicts: bt5/erp5_configurator_standard/bt/revision
parent
bc300d6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_setupEmployeeList.xml
...ator_standard/BusinessConfiguration_setupEmployeeList.xml
+2
-1
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_setupEmployeeList.xml
View file @
beb6ebc5
...
@@ -58,7 +58,8 @@ group_id = context.getGlobalConfigurationAttr(\'group_id\')\n
...
@@ -58,7 +58,8 @@ group_id = context.getGlobalConfigurationAttr(\'group_id\')\n
company_employees_number = context.getGlobalConfigurationAttr(\'company_employees_number\')\n
company_employees_number = context.getGlobalConfigurationAttr(\'company_employees_number\')\n
\n
\n
## get only form keys\n
## get only form keys\n
form_keys = [i for i in kw.keys() if i.startswith(\'field_your_\') and i!=\'field_your_search_text\']\n
form_keys = [i for i in kw.keys() if i.startswith(\'field_your_\') \\\n
and i not in [\'field_your_search_text\', \'field_your_business_configuration\']]\n
\n
\n
if company_employees_number==1:\n
if company_employees_number==1:\n
# only one employee\n
# only one employee\n
...
...
bt5/erp5_configurator_standard/bt/revision
View file @
beb6ebc5
61
1
61
2
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