~vauxoo/openerp-venezuela-localization/ovl70-whiva-rev2-kty

« back to all changes in this revision

Viewing changes to l10n_ve_withholding_muni/report/wh_muni_report.py

  • Committer: Humberto Arocha
  • Date: 2013-02-15 02:11:07 UTC
  • mfrom: (776.2.12 ovl70-whmuni-rev-kty)
  • Revision ID: humbertoarocha@gmail.com-20130215021107-z6u08ljaivf8sp96

[MERGE] First Revision to WH MUNI

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
from osv import osv
29
29
import pooler
30
30
 
31
 
class rep_wh_muni(report_sxw.rml_parse):
 
31
class wh_muni_report(report_sxw.rml_parse):
32
32
    def __init__(self, cr, uid, name, context):
33
 
        super(rep_wh_muni, self).__init__(cr, uid, name, context)
 
33
        super(wh_muni_report, self).__init__(cr, uid, name, context)
34
34
        self.localcontext.update({
35
35
            'time': time,
36
36
            'get_partner_addr': self._get_partner_addr,
57
57
    
58
58
      
59
59
report_sxw.report_sxw(
60
 
    'report.wh.muni_rep',
 
60
    'report.wh.muni.report',
61
61
    'account.wh.munici',
62
 
    'addons/l10n_ve_withholding_muni/report/wh_muni_report.rml',
63
 
    parser=rep_wh_muni,
 
62
    rml='l10n_ve_withholding_muni/report/wh_muni_report.rml',
 
63
    parser=wh_muni_report,
64
64
    header=False
65
65
)