Merge lp:~unifield-team/unifield-server/us-2275 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 4290
Proposed branch: lp:~unifield-team/unifield-server/us-2275
Merge into: lp:unifield-server
Diff against target: 23 lines (+6/-0)
1 file modified
bin/addons/msf_supply_doc_export/msf_supply_doc_export.py (+6/-0)
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us-2275
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+320362@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/msf_supply_doc_export/msf_supply_doc_export.py'
2--- bin/addons/msf_supply_doc_export/msf_supply_doc_export.py 2017-02-17 15:16:45 +0000
3+++ bin/addons/msf_supply_doc_export/msf_supply_doc_export.py 2017-03-20 14:10:17 +0000
4@@ -122,6 +122,9 @@
5 # VALIDATED PURCHASE ORDER (Excel XML)
6 class validated_purchase_order_report_xls(report_sxw.rml_parse):
7 def __init__(self, cr, uid, name, context):
8+ if context is None:
9+ context = {}
10+ context['lang'] = 'en_MF'
11 super(validated_purchase_order_report_xls, self).__init__(cr, uid, name, context=context)
12 self.localcontext.update({
13 'time': time,
14@@ -146,6 +149,9 @@
15 # VALIDATE PURCHASE ORDER (Pure XML)
16 class parser_validated_purchase_order_report_xml(report_sxw.rml_parse):
17 def __init__(self, cr, uid, name, context):
18+ if context is None:
19+ context = {}
20+ context['lang'] = 'en_MF'
21 super(parser_validated_purchase_order_report_xml, self).__init__(cr, uid, name, context=context)
22 self.localcontext.update({
23 'time': time,

Subscribers

People subscribed via source and target branches

to all changes: