Skip to content

Commit

Permalink
""" instead of '''
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Sep 17, 2015
1 parent 7af1920 commit 298dd85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions account_group_invoice_lines/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ class AccountInvoice(models.Model):
_inherit = 'account.invoice'

def inv_line_characteristic_hashcode(self, invoice_line):
'''When grouping per account, we remove the product_id from
"""Inherit the native method that generate hashcodes for grouping.
When grouping per account, we remove the product_id from
the hashcode.
WARNING: I suppose that the other methods that inherit this
method add data on the end of the hashcode, not at the beginning.
This is the case of github/OCA/account-closing/
account_cutoff_prepaid/account.py'''
account_cutoff_prepaid/account.py"""
res = super(AccountInvoice, self).inv_line_characteristic_hashcode(
invoice_line)
if self.journal_id.group_method == 'account':
Expand Down

0 comments on commit 298dd85

Please sign in to comment.