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
4e2886fa
Commit
4e2886fa
authored
Feb 25, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also copy payment requests when creating a reversal transaction
parent
bfbd32a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml
...nting/AccountingTransaction_createReversalTransaction.xml
+3
-0
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 @
4e2886fa
...
...
@@ -76,6 +76,8 @@ reversal = accounting_module.newContent (\n
destination_function=context.getDestinationFunction(),\n
source_funding=context.getProperty(\'source_funding\'),\n
destination_funding=context.getProperty(\'destination_funding\'),\n
source_payment_request=context.getProperty(\'source_payment_request\'),\n
destination_payment_request=context.getProperty(\'destination_payment_request\'),\n
source_administration=context.getSourceAdministration(),\n
destination_administration=context.getDestinationAdministration(),\n
title = Base_translateString("Reversal Transaction for ${title}",\n
...
...
@@ -138,6 +140,7 @@ for line in line_list:\n
\'source_project\', \'destination_project\',\n
\'source_function\', \'destination_function\',\n
\'source_funding\', \'destination_funding\',\n
\'source_payment_request\', \'destination_payment_request\',\n
\'resource\', \'product_line\' ]:\n
if line.getProperty(prop) != context.getProperty(prop):\n
new_line.setProperty(prop, line.getProperty(prop))\n
...
...
bt5/erp5_accounting/bt/revision
View file @
4e2886fa
1518
\ No newline at end of file
1519
\ 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