Show tax column in invoices if reverse charge is active

This commit is contained in:
Raphael Michel
2022-05-03 15:13:57 +02:00
parent de6ca763a1
commit ed0ae0140a

View File

@@ -510,7 +510,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
return story
def _get_story(self, doc):
has_taxes = any(il.tax_value for il in self.invoice.lines.all())
has_taxes = any(il.tax_value for il in self.invoice.lines.all()) or self.invoice.reverse_charge
story = [
NextPageTemplate('FirstPage'),