Add analytic_invoice.diff

This commit is contained in:
Raimon Esteve 2019-11-12 23:37:20 +01:00
parent 7807f7e182
commit 3e2dd1f248
2 changed files with 13 additions and 0 deletions

12
analytic_invoice.diff Normal file
View File

@ -0,0 +1,12 @@
diff -r 65d02e2fa425 trytond/trytond/modules/analytic_invoice/invoice.py
--- a/trytond/trytond/modules/analytic_invoice/invoice.py Mon May 06 15:00:15 2019 +0200
+++ b/trytond/trytond/modules/analytic_invoice/invoice.py Tue Nov 12 23:33:28 2019 +0100
@@ -54,6 +54,8 @@
for line in lines:
analytic_lines = []
for entry in self.analytic_accounts:
+ if not entry.account:
+ continue
analytic_lines.extend(
entry.get_analytic_lines(line, date))
line.analytic_lines = analytic_lines

1
series
View File

@ -22,6 +22,7 @@ issue8252.diff # [account_tax_rule_country] Add subdivisiions to match account t
issue4030.diff # [analytic_account] Not selected root accounts in analytic account lines
analitic_line_company_rules.diff # [analytic_account] Not selected root accounts in analytic account lines
analytic_invoice.diff # [analytic_invoice] Analytic Invoice
issue8751.diff # [commission] Not create agent without plan