Showing 207 of 317 total issues
Function _get_smtp_conf
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _get_smtp_conf(self, cr, uid, ids, name, args, context=None):
Function _type_search
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _type_search(self, cr, uid, obj, name, args, context=None):
Avoid deeply nested control flow statements. Open
Open
if model_field_id and model_field_obj.browse(
cr, uid, model_field_id,
context=context).translate:
translation_ids = translation_obj.search(cr, uid, [
('res_id', 'in', context.get('active_ids')),
Avoid deeply nested control flow statements. Open
Open
if (res['type'] == search_vals and
res['id'] not in result_ids):
result_ids.append(res['id'])
else:
Function _get_incom_conf
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _get_incom_conf(self, cr, uid, ids, name, args, context=None):
Avoid deeply nested control flow statements. Open
Open
for m2m_id in vals.get(split_key, False)[0][2]:
m2m_list.append((4, m2m_id))
dict.update({split_key: m2m_list})
Avoid deeply nested control flow statements. Open
Open
if modifiers[field][modifier]:
modifiers[field][modifier].insert(0, '|')
modifiers[field][modifier].append(
Function write
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def write(self, cr, uid, ids, vals, context=None):
Function write
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def write(self, cr, uid, ids, vals, context=None):
Function map_ldap_attributes
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def map_ldap_attributes(self, cr, uid, conf, login, ldap_entry):
Function datetime_formatter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def datetime_formatter(self, value, lang=None, template=MODE_DATETIME,
Function text_from_html
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def text_from_html(self, html_content, max_words=None, max_chars=None,
Function _create_qweb
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_qweb(self, name, qweb_name, module, model, arch):
Function do_deactivate_unknown_users
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def do_deactivate_unknown_users(
Function search_matches
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def search_matches(self, cr, uid, conf, mail_message, mail_message_org):
Function search_matches
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def search_matches(self, cr, uid, conf, mail_message, mail_message_org):
Function field_to_populate_as_related
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def field_to_populate_as_related(self, cr, uid, field, company_cols, context=None):
Function get_email_template
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_email_template(self, cr, uid, template_id=False, record_id=None,
Function create
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create(self, cr, uid, vals, context=None, **kwargs):
Function attach_mail
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def attach_mail(self, connection, object_id, folder, mail_message, msgid):