Browse Source

[FIX] partner_firstname: Pylint errors

14.0
Maxime Chambreuil 5 years ago
committed by Luis Torres
parent
commit
f36af9ea02
  1. 2
      partner_firstname/models/res_users.py
  2. 2
      partner_firstname/static/description/index.html

2
partner_firstname/models/res_users.py

@ -31,7 +31,7 @@ class ResUser(models.Model):
rec.name = rec.partner_id._get_computed_name(
rec.lastname, rec.firstname)
@api.model
@api.multi
def copy(self, default=None):
self.ensure_one()
default = dict(default or {})

2
partner_firstname/static/description/index.html

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<title>Partner first name and last name</title>
<style type="text/css">

Loading…
Cancel
Save