Skip to content

Commit

Permalink
[IMP] partner_identification: black, isort, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
phuctranfxvn authored and marielejeune committed Nov 9, 2022
1 parent 9d5d37a commit 9cfd14f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions partner_identification/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ResPartner(models.Model):

@api.depends("id_numbers")
def _compute_identification(self, field_name, category_code):
""" Compute a field that indicates a certain ID type.
"""Compute a field that indicates a certain ID type.
Use this on a field that represents a certain ID type. It will compute
the desired field as that ID(s).
Expand Down Expand Up @@ -62,7 +62,7 @@ def _compute_identification(self, field_name, category_code):
record[field_name] = value

def _inverse_identification(self, field_name, category_code):
""" Inverse for an identification field.
"""Inverse for an identification field.
This method will create a new record, or modify the existing one
in order to allow for the associated field to work like a Char.
Expand Down Expand Up @@ -134,7 +134,7 @@ def _inverse_identification(self, field_name, category_code):

@api.model
def _search_identification(self, category_code, operator, value):
""" Search method for an identification field.
"""Search method for an identification field.
Example:
Expand Down

0 comments on commit 9cfd14f

Please sign in to comment.