25 lines
953 B
Diff
25 lines
953 B
Diff
--- invoice.py 2021-02-14 19:57:50.977949421 -0500
|
|
+++ /tmp/invoice.py 2021-02-14 21:57:05.007878140 -0500
|
|
@@ -936,8 +936,8 @@
|
|
line.amount_second_currency.copy_sign(
|
|
line.debit - line.credit))
|
|
line.account = self.account
|
|
- if self.account.party_required:
|
|
- line.party = self.party
|
|
+ #if self.account.party_required:
|
|
+ line.party = self.party
|
|
line.maturity_date = date
|
|
line.description = self.description
|
|
return line
|
|
@@ -2273,8 +2273,8 @@
|
|
line.amount_second_currency.copy_sign(
|
|
line.debit - line.credit))
|
|
line.account = self.account
|
|
- if self.account.party_required:
|
|
- line.party = self.invoice.party
|
|
+ #if self.account.party_required:
|
|
+ line.party = self.invoice.party
|
|
line.origin = self
|
|
line.tax_lines = self._compute_taxes()
|
|
return [line]
|