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
Nicolas Wavrant
erp5
Commits
292c7cef
Commit
292c7cef
authored
Apr 27, 2018
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_accounting_l10n_fr: Consider that FEC export may be done through an Alarm.
parent
e872818d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
bt5/erp5_accounting_l10n_fr/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr/AccountingTransactionModule_viewFrenchAccountingTransactionFile.py
...gTransactionModule_viewFrenchAccountingTransactionFile.py
+3
-5
No files found.
bt5/erp5_accounting_l10n_fr/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr/AccountingTransactionModule_viewFrenchAccountingTransactionFile.py
View file @
292c7cef
...
...
@@ -5,11 +5,9 @@ if group_by in ('ledger', 'portal_type_ledger') and ledger is None:
return
context
.
Base_redirect
(
'view'
,
keep_items
=
dict
(
portal_status_message
=
translateString
(
"At least one Ledger must be selected"
)))
# Only for ERP5Site_notifyReportComplete after aggregating all the Journals
person_value
=
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserValue
()
if
person_value
is
None
:
portal
.
changeSkin
(
None
)
return
context
.
Base_redirect
(
'view'
,
keep_items
=
dict
(
portal_status_message
=
translateString
(
"No person found for your user"
)))
user_name
=
person_value
.
Person_getUserId
()
if
person_value
is
not
None
else
None
tag
=
'AccountingTransactionModule_viewFrenchAccountingTransactionFile'
aggregate_tag
=
'%s:aggregate'
%
tag
...
...
@@ -26,7 +24,7 @@ context.activate().AccountingTransactionModule_viewFrenchAccountingTransactionFi
group_by
,
simulation_state
,
ledger
,
user_name
=
person_value
.
Person_getUserId
()
,
user_name
=
user_name
,
tag
=
tag
,
aggregate_tag
=
aggregate_tag
)
...
...
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