Skip to content

Commit

Permalink
Use the same analytic_account as normal membership invoice line
Browse files Browse the repository at this point in the history
  • Loading branch information
antespi authored and chienandalu committed May 23, 2019
1 parent e6d4139 commit adbd7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions membership_initial_fee/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def _prepare_initial_fee_vals(self, invoice_line):
'product_id': product_fee.id,
'quantity': 1.0,
'invoice_id': invoice_line.invoice_id.id,
'account_analytic_id': invoice_line.account_analytic_id.id,
}
line_dict = self.product_id_change(
product_fee.id, False, line_vals['quantity'], '',
Expand Down

0 comments on commit adbd7b3

Please sign in to comment.