Commit 3f4dd17e authored by Léo's avatar Léo
Browse files

Removed no more used duplicate method

parent 60245a17
......@@ -74,18 +74,6 @@ class BaseRevision(EmbeddedDocument):
if errors:
raise ValidationError('ValidationError', errors=errors)
# def duplicate(self, issuer=None):
# """
# Return the duplicate of the current revision with generated revision
# unique parameters.
# """
# duplicate = copy.deepcopy(self)
# duplicate.revision = unicode(uuid.uuid4())
# duplicate.issue_date = datetime_now()
# if issuer:
# duplicate.issuer = issuer
# return duplicate
def get_customer_display(self, only_company=False):
"""
Returns the customer's name according to this scheme:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment