Habilitar tercero en la contabilización de la factura, en las cuentas de ingresos y gastos
This commit is contained in:
commit
7211bb077a
|
@ -0,0 +1,24 @@
|
|||
--- 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]
|
Loading…
Reference in New Issue