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
Klaus Wölfel
erp5
Commits
51885781
Commit
51885781
authored
Sep 09, 2011
by
Aurel
Committed by
Kazuhiko Shiozaki
Sep 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add batch mode
parent
7f667397
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml
...nting/AccountingTransaction_createReversalTransaction.xml
+5
-2
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml
View file @
51885781
...
@@ -146,7 +146,10 @@ for line in line_list:\n
...
@@ -146,7 +146,10 @@ for line in line_list:\n
if plan:\n
if plan:\n
reversal.plan()\n
reversal.plan()\n
\n
\n
return reversal.Base_redirect(\'view\',\n
if batch:\n
return reversal\n
else:\n
return reversal.Base_redirect(\'view\',\n
keep_items=dict(portal_status_message=\n
keep_items=dict(portal_status_message=\n
Base_translateString("Reversal Transaction for ${specific_reference} created.",\n
Base_translateString("Reversal Transaction for ${specific_reference} created.",\n
mapping={\'specific_reference\': specific_reference})))\n
mapping={\'specific_reference\': specific_reference})))\n
...
@@ -154,7 +157,7 @@ return reversal.Base_redirect(\'view\',\n
...
@@ -154,7 +157,7 @@ return reversal.Base_redirect(\'view\',\n
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
cancellation_amount=False, date=None, plan=False, **kw
</string>
</value>
<value>
<string>
cancellation_amount=False, date=None, plan=False,
batch=False,
**kw
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_accounting/bt/revision
View file @
51885781
1467
1468
\ 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