~vauxoo/addons-vauxoo/7.0-pylint-luist

« back to all changes in this revision

Viewing changes to aging_due_report/report/parser.py

  • Committer: Moises Lopez
  • Date: 2014-09-30 16:10:27 UTC
  • mfrom: (1138.1.1 70-addons-vauxoo)
  • Revision ID: moylop260@vauxoo.com-20140930161027-dzvea4rbefm0ko7g
[MERGE] [FIX] Fix unused variable with autoflake and pylint

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        amounts, one item for every currency find.
70
70
        """
71
71
        ixp_gen = self._get_invoice_by_partner(rp_brws, inv_type)
72
 
        total = 0.0
73
72
        usr_dict = {}
74
73
        res = dict()
75
74
 
113
112
        res = {}
114
113
        rp_obj = self.pool.get('res.partner')
115
114
        inv_obj = self.pool.get('account.invoice')
116
 
        mun_obj = self.pool.get('account.wh.munici.line')
117
115
        cur_obj = self.pool.get('res.currency')
118
116
        for rp_brw in rp_brws:
119
117
            inv_ids = inv_obj.search(
152
150
 
153
151
                    pay_ids = [aml.id for aml in inv_brw.payment_ids]
154
152
                    #~ VAT
155
 
                    wh_lines = []
156
153
                    pay_vat_ids = []
157
154
                    #~ ISLR
158
 
                    wh_lines = []
159
155
                    pay_islr_ids = []
160
156
                   #~  MUNI
161
 
                    wh_lines = []
162
157
                    pay_muni_ids = []
163
158
                    #~  TODO: SRC
164
159