~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to huissier/report/label_invoices.py

merging new development from indian accounting

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- encoding: utf-8 -*-
1
2
##############################################################################
2
3
#
3
4
# Copyright (c) 2004 TINY SPRL. (http://tiny.be) All Rights Reserved.
31
32
import netsvc
32
33
 
33
34
class label_invoices(report_int):
34
 
        def create(self, uid, ids, datas, context):
35
 
                datas['ids'] = datas['form']['ids']
36
 
                self._obj_invoice = netsvc.LocalService('report.account.invoice')
37
 
                return self._obj_invoice.create(uid, datas['ids'], datas, context)
 
35
    def create(self, uid, ids, datas, context):
 
36
        datas['ids'] = datas['form']['ids']
 
37
        self._obj_invoice = netsvc.LocalService('report.account.invoice')
 
38
        return self._obj_invoice.create(uid, datas['ids'], datas, context)
38
39
 
39
 
        def result(self):
40
 
                return self._obj_invoice.result()
 
40
    def result(self):
 
41
        return self._obj_invoice.result()
41
42
 
42
43
 
43
44
label_invoices('report.huissier.label.invoices')
44
45
 
 
46
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
 
47