Buongiorno. Non riesco a trovare da nessuna parte il seguente attributo _get_tax_amount che si trova in wizard_import_fatturapa.py che fa riferimento al seguente pezzo di codice.
Dalla linea n.361
line_tax = self.env['account.tax'].browse(line_tax_id)
            if new_tax.id != line_tax_id:
                if new_tax._get_tax_amount() != line_tax._get_tax_amount():
                    self.log_inconsistency(_(
                        "XML contains tax %s. Product %s has tax %s. Using "
                        "the XML one"
                    ) % (line_tax.name, product.name, new_tax.name))
                else:
                    # If product has the same amount of the one in XML,
                    # I use it. Typical case: 22% det 50%
                    line_vals['invoice_line_tax_id'] = [
                        (6, 0, [new_tax.id])]
In pratica, importando xml mi da il seguente errore:
AttributeError: 'account.tax' object has no attribute '_get_tax_amount'
Non riesco a trovarlo da nessuna parte.
Qualche suggerimento?
Grazie