OCA/l10n-canada

View on GitHub
l10n_ca_hr_payroll/l10n_ca_hr_payroll.py

Summary

Maintainability
A
3 hrs
Test Coverage

File l10n_ca_hr_payroll.py has 255 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# -*- coding:utf-8 -*-
##############################################################################
#
#    Copyright (C) 2012 Amura Consulting. All Rights Reserved.
#
Severity: Minor
Found in l10n_ca_hr_payroll/l10n_ca_hr_payroll.py - About 2 hrs to fix

Function _get_pays_per_year has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def _get_pays_per_year(self, cr, uid, ids, names, arg, context=None):
Severity: Minor
Found in l10n_ca_hr_payroll/l10n_ca_hr_payroll.py - About 45 mins to fix

Function onchange_year has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def onchange_year(self, cr, uid, ids, year, prov=False):
Severity: Minor
Found in l10n_ca_hr_payroll/l10n_ca_hr_payroll.py - About 35 mins to fix

There are no issues that match your filters.

Category
Status