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
Boris Kocherov
erp5
Commits
59e75401
Commit
59e75401
authored
12 years ago
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If function or funding are not a category, interpret them as function_uid / funding_uid
parent
1972507f
master
bk_erp5ish_actions_tool
bk_officejs
bk_officejs.170922
bk_officejs.backup_new_bt
bk_officejs.backup_new_bt_second
bk_officejs_AttachmentSyncOff
bk_officejs_setVolatileSetting
bk_onlyoffice.170926
bk_onlyoffice.170926.test
bk_onlyoffice.170926.test.notpassed
bk_onlyoffice_fix_tests.171017
bk_onlyoffice_fix_tests.171017.test
bk_onlyoffice_in_skins.171120
bk_sqlcatalog
bootstrap_design
erp5_only_office
onlyoffice_gui_for_xmla
onlyoffice_tests_fix
raskon
schema_editor
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml
...nting/AccountModule_getGeneralLedgerReportSectionList.xml
+12
-2
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml
View file @
59e75401
...
...
@@ -109,14 +109,24 @@ funding_category = request.get(\'funding\')\n
if funding_category:\n
if funding_category == \'None\':\n
params[\'funding_uid\'] = Query(funding_uid=None)\n
else:\n
funding_value = portal.restrictedTraverse(funding_category, None)\n
if funding_value is not None and funding_value.getPortalType() != \'Category\':\n
params[\'funding_uid\'] = funding_value.getUid()\n
else:\n
params[\'funding_category\'] = funding_category\n
\n
function_category = request.get(\'function\')\n
if function_category:\n
if function_category == \'None\':\n
params[\'function_uid\'] = Query(function_uid=None)\n
else:\n
function_value = portal.restrictedTraverse(function_category, None)\n
if function_value is not None and function_value.getPortalType() != \'Category\':\n
params[\'function_uid\'] = function_value.getUid()\n
else:\n
params[\'function_category\'] = function_category\n
\n
if mirror_section:\n
mirror_section_uid = portal.restrictedTraverse(mirror_section).getUid()\n
params[\'mirror_section_uid\'] = mirror_section_uid\n
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_accounting/bt/revision
View file @
59e75401
150
1
150
2
\ No newline at end of file
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