Merge lp:~hsoft/openerp-mgmtsystem/7.0-audit-lang into lp:openerp-mgmtsystem

Proposed by Virgil Dupras
Status: Merged
Merged at revision: 48
Proposed branch: lp:~hsoft/openerp-mgmtsystem/7.0-audit-lang
Merge into: lp:openerp-mgmtsystem
Diff against target: 23 lines (+2/-0)
2 files modified
mgmtsystem_audit/report/audit_report.rml (+1/-0)
mgmtsystem_audit/report/verification_list.rml (+1/-0)
To merge this branch: bzr merge lp:~hsoft/openerp-mgmtsystem/7.0-audit-lang
Reviewer Review Type Date Requested Status
Maxime Chambreuil (http://www.savoirfairelinux.com) Approve
Review via email: mp+166295@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

I think you can use the "user" variable to get the user logged in.

review: Needs Fixing
49. By Virgil Dupras

[FIX] Use built-in "user" report variable instead of a custom one.

Revision history for this message
Virgil Dupras (hsoft) wrote :

Ah, I didn't know about that variable. Yeah, it works.

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mgmtsystem_audit/report/audit_report.rml'
2--- mgmtsystem_audit/report/audit_report.rml 2012-03-09 23:47:59 +0000
3+++ mgmtsystem_audit/report/audit_report.rml 2013-05-29 16:53:25 +0000
4@@ -52,6 +52,7 @@
5 <story>
6 <pto>
7 <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
8+ <para style="terp_default_8">[[setLang(user.lang)]]</para>
9 <para style="terp_default_8">
10 <font color="white"> </font>
11 </para>
12
13=== modified file 'mgmtsystem_audit/report/verification_list.rml'
14--- mgmtsystem_audit/report/verification_list.rml 2012-05-04 22:50:44 +0000
15+++ mgmtsystem_audit/report/verification_list.rml 2013-05-29 16:53:25 +0000
16@@ -72,6 +72,7 @@
17 </blockTable>
18 </pto_header>
19 <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
20+ <para style="terp_default_8">[[setLang(user.lang)]]</para>
21 <para style="terp_default_8">
22 <font color="white"> </font>
23 </para>