(self, map_rec)
return self.get_taxes_from_templates(tax_templates)
Obtain all the taxes to be considered for 347.
Obtain all the taxes to be considered for 347.
Obtain all the taxes to be considered for 347 .
def _get_taxes(self, map_rec):
        """Obtain all the taxes to be considered for 347."""
        self.ensure_one()
        tax_templates = map_rec.mapped("tax_ids")
        if not tax_templates:
            raise exceptions.Warning(_("No Tax Mapping was found"))
        return self.get_taxes_from_templates(tax_templates)
def _get_taxes ( self , map_rec ) : self . ensure_one ( ) tax_templates = map_rec . mapped ( "tax_ids" ) if not tax_templates : raise exceptions . Warning ( _ ( "No Tax Mapping was found" ) ) return self . get_taxes_from_templates ( tax_templates )