Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Arnaud Fontaine
erp5
Commits
44cabbef
Commit
44cabbef
authored
6 years ago
by
Arnaud Fontaine
Browse files
Options
Download
Email Patches
Plain Diff
erp5_accounting_l10n_fr: Consider that FEC export may be done by an Alarm.
parent
e2fa5745
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 @
44cabbef
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
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