Declare the dependency on py3o.template - fix #3

This commit is contained in:
Houzefa Abbasbhay
2013-12-16 17:16:10 +01:00
parent 1337a670a9
commit 2b26a5f2c8
2 changed files with 4 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ The py3o.template package is required; install it with:
'depends': [
'base'
],
'external_dependencies': {
'python': ['py3o.template']
},
'data': [
'ir_report.xml',
],

View File

@@ -32,7 +32,7 @@ class py3o_report(report_sxw):
[('code', '=', lang_code)],
context=context)[0]
return lang_obj.browse(cr, uid, lang, context=context)
def format_date(self, date, values):
''' Return a date formatted according to the language extracted from
the "values" argument (which should be the result of get_values). '''