Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
a2e79fd9
Commit
a2e79fd9
authored
May 01, 2012
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call selection_domain when it is callable
(cherry picked from commit c55d31d748329c08428e6b49ee87556d48201003)
parent
627f9416
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml
...ccounting/AccountModule_getAccountingTransactionCount.xml
+2
-0
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_statBalance.xml
...ortal_skins/erp5_accounting/AccountModule_statBalance.xml
+2
-0
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml
View file @
a2e79fd9
...
@@ -55,6 +55,8 @@
...
@@ -55,6 +55,8 @@
if kw.get(\'stat\'):\n
if kw.get(\'stat\'):\n
selection_params = context.portal_selections.getSelectionParamsFor(selection_name)\n
selection_params = context.portal_selections.getSelectionParamsFor(selection_name)\n
selection_domain = context.portal_selections.getSelectionDomainDictFor(selection_name)\n
selection_domain = context.portal_selections.getSelectionDomainDictFor(selection_name)\n
if callable(selection_domain):\n
selection_domain = selection_domain()\n
selection_report = context.portal_selections.getSelectionReportDictFor(selection_name)\n
selection_report = context.portal_selections.getSelectionReportDictFor(selection_name)\n
if selection_domain:\n
if selection_domain:\n
kwd[\'selection_domain\'] = selection_domain\n
kwd[\'selection_domain\'] = selection_domain\n
...
...
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_statBalance.xml
View file @
a2e79fd9
...
@@ -60,6 +60,8 @@ params[\'omit_asset_decrease\'] = omit_asset_decrease\n
...
@@ -60,6 +60,8 @@ params[\'omit_asset_decrease\'] = omit_asset_decrease\n
params[\'omit_simulation\'] = True\n
params[\'omit_simulation\'] = True\n
\n
\n
selection_domain = context.portal_selections.getSelectionDomainDictFor(selection_name)\n
selection_domain = context.portal_selections.getSelectionDomainDictFor(selection_name)\n
if callable(selection_domain):\n
selection_domain = selection_domain()\n
selection_report = context.portal_selections.getSelectionReportDictFor(selection_name)\n
selection_report = context.portal_selections.getSelectionReportDictFor(selection_name)\n
if selection_domain:\n
if selection_domain:\n
params[\'selection_domain\'] = selection_domain\n
params[\'selection_domain\'] = selection_domain\n
...
...
bt5/erp5_accounting/bt/revision
View file @
a2e79fd9
1476
1477
\ No newline at end of file
\ 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