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
Sebastien Robin
erp5
Commits
03b0dce5
Commit
03b0dce5
authored
May 25, 2011
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix script
dict keys must be string, fix undefined variable
parent
2ea3ce9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankAccount_getReportTransactionList.xml
...rp5_banking_core/BankAccount_getReportTransactionList.xml
+12
-12
bt5/erp5_banking_core/bt/revision
bt5/erp5_banking_core/bt/revision
+1
-1
No files found.
bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankAccount_getReportTransactionList.xml
View file @
03b0dce5
...
@@ -87,20 +87,20 @@ for account_uid in account_uids:\n
...
@@ -87,20 +87,20 @@ for account_uid in account_uids:\n
else:\n
else:\n
closed_date = None\n
closed_date = None\n
if parent_value.getPortalType() == \'Organisation\':\n
if parent_value.getPortalType() == \'Organisation\':\n
activity = parent_value.getActivity()\n
parent_
activity = parent_value.getActivity()\n
else:\n
else:\n
activity = None\n
parent_
activity = None\n
inv_account_dict[account_uid] = {\n
inv_account_dict[account_uid] = {\n
state_title
: account_state,\n
\'state_title\'
: account_state,\n
closed_date
: closed_date,\n
\'closed_date\'
: closed_date,\n
account_reference
: account.getReference(),\n
\'account_reference\'
: account.getReference(),\n
internal_bank_account_number
: account.getInternalBankAccountNumber(),\n
\'internal_bank_account_number\'
: account.getInternalBankAccountNumber(),\n
state
: account.getValidationState(),\n
\'state\'
: account.getValidationState(),\n
activity
: parent_activity,\n
\'activity\'
: parent_activity,\n
account_owner
: parent_value.getTitle(),\n
\'account_owner\'
: parent_value.getTitle(),\n
currency_title
: account.getPriceCurrencyTitle(),\n
\'currency_title\'
: account.getPriceCurrencyTitle(),\n
bic_code
: account.getBicCode(None),\n
\'bic_code\'
: account.getBicCode(None),\n
transaction_list
: [],\n
\'transaction_list\'
: [],\n
}\n
}\n
\n
\n
# Current inventory\n
# Current inventory\n
...
...
bt5/erp5_banking_core/bt/revision
View file @
03b0dce5
582
583
\ 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