Merge lp:~openerp-dev/openobject-addons/trunk-bug-1193539-Chandni into lp:openobject-addons

Proposed by Chandni Machchhar(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1193539-Chandni
Merge into: lp:openobject-addons
Diff against target: 48 lines (+4/-4)
2 files modified
hr_payroll/report/report_payslip.rml (+2/-2)
l10n_in_hr_payroll/report/report_payslip_details.rml (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1193539-Chandni
Reviewer Review Type Date Requested Status
Atul Patel(OpenERP) (community) Approve
OpenERP Core Team Pending
Review via email: mp+172462@code.launchpad.net

Description of the change

Hello,

 I have fix the problem of printing date format in user language preference in payslip pdf.

Thanks,
Chandni

To post a comment you must log in.
Revision history for this message
Atul Patel(OpenERP) (atp-openerp) :
review: Approve

Unmerged revisions

8793. By Chandni Machchhar(OpenERP)

[FIX] Date Format printed no payslip pdf in not given in user language preference.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_payroll/report/report_payslip.rml'
2--- hr_payroll/report/report_payslip.rml 2012-11-29 22:26:45 +0000
3+++ hr_payroll/report/report_payslip.rml 2013-07-02 05:21:30 +0000
4@@ -242,7 +242,7 @@
5 <para style="P15">Date From</para>
6 </td>
7 <td>
8- <para style="P4">[[ o.date_from or '']]</para>
9+ <para style="P4">[[ formatLang(o.date_from, date=True) or '']]</para>
10 </td>
11 <td>
12 <para style="terp_default_Bold_8">
13@@ -250,7 +250,7 @@
14 </para>
15 </td>
16 <td>
17- <para style="P4">[[ o.date_to or '' ]]</para>
18+ <para style="P4">[[ formatLang(o.date_to, date=True) or '' ]]</para>
19 </td>
20 </tr>
21 </blockTable>
22
23=== modified file 'hr_payroll/report/report_payslip.sxw'
24Binary files hr_payroll/report/report_payslip.sxw 2012-11-29 22:26:45 +0000 and hr_payroll/report/report_payslip.sxw 2013-07-02 05:21:30 +0000 differ
25=== modified file 'l10n_in_hr_payroll/report/report_payslip_details.rml'
26--- l10n_in_hr_payroll/report/report_payslip_details.rml 2012-10-02 14:45:47 +0000
27+++ l10n_in_hr_payroll/report/report_payslip_details.rml 2013-07-02 05:21:30 +0000
28@@ -278,7 +278,7 @@
29 <para style="P16">Date From</para>
30 </td>
31 <td>
32- <para style="P5">[[ o.date_from or '']]</para>
33+ <para style="P5">[[ formatLang(o.date_from, date=True) or '']]</para>
34 </td>
35 <td>
36 <para style="terp_default_Bold_8">
37@@ -286,7 +286,7 @@
38 </para>
39 </td>
40 <td>
41- <para style="P5">[[ o.date_to or '' ]]</para>
42+ <para style="P5">[[ formatLang(o.date_to, date=True) or '' ]]</para>
43 </td>
44 </tr>
45 </blockTable>
46
47=== modified file 'l10n_in_hr_payroll/report/report_payslip_details.sxw'
48Binary files l10n_in_hr_payroll/report/report_payslip_details.sxw 2012-10-02 14:45:47 +0000 and l10n_in_hr_payroll/report/report_payslip_details.sxw 2013-07-02 05:21:30 +0000 differ

Subscribers

People subscribed via source and target branches

to all changes: