Skip to content

l10n_it_withholding_tax: avoid print net pay residual if invoice or credit note hasn't withholding tax #5280

Description

@patrickt-oforce

Module

l10n_it_withholding_tax

Describe the bug

Actually, when an invoice or credit note is printed and has payment, the amount of net pay residual is printed even f no withholding tax is present in document

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Create an invoice add a line, without withholding tax
  2. Confirm it
  3. Print, you should view the net pay residual amount in PDF

Expected behavior
If not withholding tax, avoid print amount of net pay residual

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions