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

« back to all changes in this revision

Viewing changes to payroll_amount_residual/hr_payslip.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:
33
33
        """Function of the field residua. It computes the residual amount (balance) for each payslip"""
34
34
        if context is None:
35
35
            context = {}
36
 
        ctx = context.copy()
37
36
        result = {}
38
37
        for payslip in self.browse(cr, uid, ids, context=context):
39
38
            nb_inv_in_partial_rec = max_invoice_id = 0